kiranshila / Doplarr

An *arr request bot for Discord
MIT License
407 stars 30 forks source link

Error when attempting to search for a show or movie #81

Open thesammykins opened 2 years ago

thesammykins commented 2 years ago

Describe the bug When I do /request series, I input any show or movie and get "Doplarr is thinking..", after any period of time I get zero results

Checking the logs I can see it hit my Overseer instance with the line Performing HTTP request :get http://server.local:5055/api/v1/search?query=X Men nil it appears to be randomly adding "nil" to the end of the search string and failing, if I drop that and go directly to the query URL I get all the data required for my query.

Expected behavior Doplarr should provide me a list of options to select from

Logs Please copy out the log in it's entirety, please make sure to hide any potential secrets/API keys - although they should be censored via the logging program.

Anything marked with "XX" is me removing anything I consider a token or PII

doplarr             | 2022-05-08T08:53:27.557Z 312de4481901 TRACE [discljord.connections.impl:?] - Shard 0 recieved discord event: {:application-id XX, :locale en-US, :guild-locale en-US, :type 2, :guild-id XX, :member {:premium-since nil, :deaf false, :is-pending false, :nick nil, :permissions XX, :pending false, :roles [XX XX XX], :joined-at 2022-01-08T08:47:06.082000+00:00, :avatar nil, :flags 0, :user {:username XX, :public-flags 128, :id XX, :discriminator 6969, :avatar-decoration nil, :avatar XX}, :communication-disabled-until nil, :mute false}, :token XX, :id XX, :channel-id X, :version 1, :data {:type 1, :options [{:type 1, :options [{:value The Blacklist, :type 3, :name query}], :name series}], :name request, :id X, :guild-id X}}
doplarr             | 2022-05-08T08:53:27.559Z 312de4481901 TRACE [discljord.connections.impl:?] - Stepping shard 0 {:session-id XX, :websocket #object[gniazdo.core$connect_with_client$reify__8839 0x1cd8474d gniazdo.core$connect_with_client$reify__8839@1cd8474d], :ready true, :intents #{:guilds}, :connections-ch #object[clojure.core.async.impl.channels.ManyToManyChannel 0x1f252243 clojure.core.async.impl.channels.ManyToManyChannel@1f252243], :heartbeat-ch #object[clojure.core.async.impl.channels.ManyToManyChannel 0x5673bcad clojure.core.async.impl.channels.ManyToManyChannel@5673bcad], :compress true, :id 0, :ack true, :communication-ch #object[clojure.core.async.impl.channels.ManyToManyChannel 0x494b12de clojure.core.async.impl.channels.ManyToManyChannel@494b12de], :count 1, :event-ch #object[clojure.core.async.impl.channels.ManyToManyChannel 0x18e7c089 clojure.core.async.impl.channels.ManyToManyChannel@18e7c089], :seq 8}
doplarr             | 2022-05-08T08:53:27.560Z 312de4481901 TRACE [discljord.connections.impl:?] - Waiting for a shard to complete a step
doplarr             | 2022-05-08T08:53:27.560Z 312de4481901 DEBUG [doplarr.core:27] - Received interaction
doplarr             | 2022-05-08T08:53:27.562Z 312de4481901 TRACE [discljord.messaging.impl:?] - Got event [{:discljord.messaging.specs/action :create-interaction-response} #object[discljord.util.DerefablePromiseChannel 50d9ca47 "discljord.util.DerefablePromiseChannel@50d9ca47"] XX 5 :user-agent nil :audit-reason nil :data {:flags 64}]
doplarr             | 2022-05-08T08:53:27.564Z 312de4481901 TRACE [discljord.messaging.impl:?] - Stepping agent with process {:discljord.messaging.specs/rate-limits #object[clojure.lang.Atom 0x65454f40 {:status :ready, :val {ae189c08c8f3c47d2311646889fed041 {nil {:discljord.messaging.specs/rate 2, :discljord.messaging.specs/remaining 1, :discljord.messaging.specs/reset 1651999384307}}, XX {{:discljord.messaging.specs/major-variable-value XX, :discljord.messaging.specs/major-variable-type :discljord.messaging.specs/interaction-token} {:discljord.messaging.specs/rate 5, :discljord.messaging.specs/remaining 4, :discljord.messaging.specs/reset XX}, {:discljord.messaging.specs/major-variable-value XX, :discljord.messaging.specs/major-variable-type :discljord.messaging.specs/interaction-token} {:discljord.messaging.specs/rate 5, :discljord.messaging.specs/remaining 4, :discljord.messaging.specs/reset XX}}}}], :discljord.messaging.specs/endpoint-agents {{:discljord.messaging.specs/action :bulk-overwrite-guild-application-commands} #object[clojure.lang.Agent 0x24fb6e50 {:status :ready, :val XX}], {:discljord.messaging.specs/action :create-interaction-response} #object[clojure.lang.Agent 0x7ff732b {:status :ready, :val nil}], {:discljord.messaging.specs/action :edit-original-interaction-response, :discljord.messaging.specs/major-variable {:discljord.messaging.specs/major-variable-value XX, :discljord.messaging.specs/major-variable-type :discljord.messaging.specs/interaction-token}} #object[clojure.lang.Agent 0x46f786ff {:status :ready, :val XX}], {:discljord.messaging.specs/action :edit-original-interaction-response, :discljord.messaging.specs/major-variable {:discljord.messaging.specs/major-variable-value XX, :discljord.messaging.specs/major-variable-type :discljord.messaging.specs/interaction-token}} #object[clojure.lang.Agent 0x23643cc1 {:status :ready, :val 3cd1f278bd0ecaf11e0d2391374c011d}]}, :discljord.specs/channel #object[clojure.core.async.impl.channels.ManyToManyChannel 0x462648bd clojure.core.async.impl.channels.ManyToManyChannel@462648bd], :discljord.specs/token Bot XX Y, :discljord.messaging.specs/global-limit #object[clojure.lang.Atom 0x4af0a9e9 {:status :ready, :val nil}]}
doplarr             | 2022-05-08T08:53:27.566Z 312de4481901 TRACE [discljord.messaging.impl:?] - Making request to endpoint {:discljord.messaging.specs/action :create-interaction-response}
doplarr             | 2022-05-08T08:53:27.567Z 312de4481901 TRACE [discljord.messaging.impl:?] - Making request
doplarr             | 2022-05-08T08:53:27.999Z 312de4481901 TRACE [discljord.messaging.impl:?] - Got response from request {:opts {:query-params nil, :headers {Authorization Bot XX, User-Agent DiscordBot (https://github.com/IGJoshua/discljord, 1.3.1) , Content-Type multipart/form-data}, :multipart [{:name payload_json, :content {"audit_reason":null,"data":{"flags":64},"type":5}}], :method :post, :url https://discord.com/api/v9/interactions/XX/callback}, :body , :headers {:date Sun, 08 May 2022 08:53:27 GMT, :x-content-type-options nosniff, :via 1.1 google, :server cloudflare, :expect-ct max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct", :x-envoy-upstream-service-time 153, :report-to {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=XX"}],"group":"cf-nel","max_age":604800}, :cf-ray 7080f70f7ca617c7-MEL, :strict-transport-security max-age=31536000; includeSubDomains; preload, :alt-svc h3=":443"; ma=86400, h3-29=":443"; ma=86400, :content-type text/html; charset=utf-8, :cf-cache-status DYNAMIC, :connection keep-alive, :nel {"success_fraction":0,"report_to":"cf-nel","max_age":604800}, :set-cookie __dcfduid=53e4ce62ceac11ec93765615b33f35fb; Expires=Fri, 07-May-2027 08:53:27 GMT; Max-Age=157680000; Secure; HttpOnly; Path=/,__sdcfduid=XX; Expires=Fri, 07-May-2027 08:53:27 GMT; Max-Age=157680000; Secure; HttpOnly; Path=/}, :status 204}
doplarr             | 2022-05-08T08:53:27.999Z 312de4481901 INFO [doplarr.interaction-state-machine:28] - Performing search for series The Blacklist
doplarr             | 2022-05-08T08:53:28.000Z 312de4481901 TRACE [doplarr.utils:22] - Performing HTTP request :get http://ganymede.local:5055/api/v1/search?query=The Blacklist nil
doplarr             | 2022-05-08T08:53:45.016Z 312de4481901 TRACE [discljord.connections.impl:?] - Requesting heartbeat on shard 0
doplarr             | 2022-05-08T08:53:45.016Z 312de4481901 TRACE [discljord.connections.impl:?] - Sending heartbeat payload on shard 0
doplarr             | 2022-05-08T08:53:45.017Z 312de4481901 TRACE [discljord.connections.impl:?] - Stepping shard 0 {:session-id 68b3c86a373c4db1ecde718e1fb2108b, :websocket #object[gniazdo.core$connect_with_client$reify__8839 0x1cd8474d gniazdo.core$connect_with_client$reify__8839@1cd8474d], :ready true, :intents #{:guilds}, :connections-ch #object[clojure.core.async.impl.channels.ManyToManyChannel 0x1f252243 clojure.core.async.impl.channels.ManyToManyChannel@1f252243], :heartbeat-ch #object[clojure.core.async.impl.channels.ManyToManyChannel 0x5673bcad clojure.core.async.impl.channels.ManyToManyChannel@5673bcad], :compress true, :id 0, :communication-ch #object[clojure.core.async.impl.channels.ManyToManyChannel 0x494b12de clojure.core.async.impl.channels.ManyToManyChannel@494b12de], :count 1, :event-ch #object[clojure.core.async.impl.channels.ManyToManyChannel 0x18e7c089 clojure.core.async.impl.channels.ManyToManyChannel@18e7c089], :seq 8}
doplarr             | 2022-05-08T08:53:45.017Z 312de4481901 TRACE [discljord.connections.impl:?] - Waiting for a shard to complete a step
doplarr             | 2022-05-08T08:53:45.233Z 312de4481901 TRACE [discljord.connections.impl:?] - Websocket received binary message: {"t":null,"s":null,"op":11,"d":null}
doplarr             | 2022-05-08T08:53:45.233Z 312de4481901 TRACE [discljord.connections.impl:?] - Stepping shard 0 {:session-id 68b3c86a373c4db1ecde718e1fb2108b, :websocket #object[gniazdo.core$connect_with_client$reify__8839 0x1cd8474d gniazdo.core$connect_with_client$reify__8839@1cd8474d], :ready true, :intents #{:guilds}, :connections-ch #object[clojure.core.async.impl.channels.ManyToManyChannel 0x1f252243 clojure.core.async.impl.channels.ManyToManyChannel@1f252243], :heartbeat-ch #object[clojure.core.async.impl.channels.ManyToManyChannel 0x5673bcad clojure.core.async.impl.channels.ManyToManyChannel@5673bcad], :compress true, :id 0, :ack true, :communication-ch #object[clojure.core.async.impl.channels.ManyToManyChannel 0x494b12de clojure.core.async.impl.channels.ManyToManyChannel@494b12de], :count 1, :event-ch #object[clojure.core.async.impl.channels.ManyToManyChannel 0x18e7c089 clojure.core.async.impl.channels.ManyToManyChannel@18e7c089], :seq 8}
doplarr             | 2022-05-08T08:53:45.234Z 312de4481901 TRACE [discljord.connections.impl:?] - Waiting for a shard to complete a step

Additional context Attempted to re-add the intergration and also removed any permissions.

Screenshot of integrations page on the server image

kiranshila commented 2 years ago

Thanks for the bug report! I'll dig into it.

kiranshila commented 2 years ago

So, that last nil is an empty params list from https://github.com/kiranshila/Doplarr/blob/e64d969d0eb971d10ab8faba659b1daddb23a791/src/doplarr/utils.clj#L22, so I don't think that's it

kiranshila commented 2 years ago

Ok can you try with the latest develop? I added logging for the HTTP response (not sure why I didn't before)

thesammykins commented 2 years ago

Same error on the develop, sits there "thinking"

image

doplarr             | 2022-05-09T07:38:19.944Z 456eb1e3e5ab TRACE [discljord.messaging.impl:?] - Making request to endpoint {:discljord.messaging.specs/action :create-interaction-response}
doplarr             | 2022-05-09T07:38:19.944Z 456eb1e3e5ab TRACE [discljord.messaging.impl:?] - Making request
doplarr             | 2022-05-09T07:38:20.275Z 456eb1e3e5ab TRACE [discljord.messaging.impl:?] - Got response from request {:opts {:query-params nil, :headers {Authorization Bot XX, User-Agent DiscordBot (https://github.com/IGJoshua/discljord, 1.3.1) , Content-Type multipart/form-data}, :multipart [{:name payload_json, :content {"audit_reason":null,"data":{"flags":64},"type":5}}], :method :post, :url https://discord.com/api/v9/interactions/XX/callback}, :body , :headers {:date Mon, 09 May 2022 07:38:20 GMT, :x-content-type-options nosniff, :via 1.1 google, :server cloudflare, :expect-ct max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct", :x-envoy-upstream-service-time 61, :report-to {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=XX"}],"group":"cf-nel","max_age":604800}, :cf-ray XX, :strict-transport-security max-age=31536000; includeSubDomains; preload, :alt-svc h3=":443"; ma=86400, h3-29=":443"; ma=86400, :content-type text/html; charset=utf-8, :cf-cache-status DYNAMIC, :connection keep-alive, :nel {"success_fraction":0,"report_to":"cf-nel","max_age":604800}, :set-cookie __dcfduid=XX; Expires=Sat, 08-May-2027 07:38:20 GMT; Max-Age=157680000; Secure; HttpOnly; Path=/,__sdcfduid=XX; Expires=Sat, 08-May-2027 07:38:20 GMT; Max-Age=157680000; Secure; HttpOnly; Path=/}, :status 204}
doplarr             | 2022-05-09T07:38:20.275Z 456eb1e3e5ab INFO [doplarr.interaction-state-machine:28] - Performing search for series The Blacklist
doplarr             | 2022-05-09T07:38:20.689Z 456eb1e3e5ab TRACE [doplarr.utils:24] - Performing HTTP request :get http://ganymede.local:5055/api/v1/search?query=The Blacklist nil
doplarr             | 2022-05-09T07:38:57.995Z 456eb1e3e5ab TRACE [discljord.connections.impl:?] - Sending heartbeat payload on shard 0
doplarr             | 2022-05-09T07:38:57.995Z 456eb1e3e5ab TRACE [discljord.connections.impl:?] - Requesting heartbeat on shard 0
doplarr             | 2022-05-09T07:38:57.997Z 456eb1e3e5ab TRACE [discljord.connections.impl:?] - Stepping shard 0 {:session-id 12e719ed89ff05eb14879ef3bc1dda74, :websocket #object[gniazdo.core$connect_with_client$reify__8839 0x4243b70b gniazdo.core$connect_with_client$reify__8839@4243b70b], :ready true, :intents #{:guilds}, :connections-ch #object[clojure.core.async.impl.channels.ManyToManyChannel 0x2f20e2c1 clojure.core.async.impl.channels.ManyToManyChannel@2f20e2c1], :heartbeat-ch #object[clojure.core.async.impl.channels.ManyToManyChannel 0x236f03a0 clojure.core.async.impl.channels.ManyToManyChannel@236f03a0], :compress true, :id 0, :communication-ch #object[clojure.core.async.impl.channels.ManyToManyChannel 0x67545487 clojure.core.async.impl.channels.ManyToManyChannel@67545487], :count 1, :event-ch #object[clojure.core.async.impl.channels.ManyToManyChannel 0x467c3b1c clojure.core.async.impl.channels.ManyToManyChannel@467c3b1c], :seq 3}
doplarr             | 2022-05-09T07:38:57.997Z 456eb1e3e5ab TRACE [discljord.connections.impl:?] - Waiting for a shard to complete a step
doplarr             | 2022-05-09T07:38:58.216Z 456eb1e3e5ab TRACE [discljord.connections.impl:?] - Websocket received binary message: {"t":null,"s":null,"op":11,"d":null}
doplarr             | 2022-05-09T07:38:58.220Z 456eb1e3e5ab TRACE [discljord.connections.impl:?] - Stepping shard 0 {:session-id 12e719ed89ff05eb14879ef3bc1dda74, :websocket #object[gniazdo.core$connect_with_client$reify__8839 0x4243b70b gniazdo.core$connect_with_client$reify__8839@4243b70b], :ready true, :intents #{:guilds}, :connections-ch #object[clojure.core.async.impl.channels.ManyToManyChannel 0x2f20e2c1 clojure.core.async.impl.channels.ManyToManyChannel@2f20e2c1], :heartbeat-ch #object[clojure.core.async.impl.channels.ManyToManyChannel 0x236f03a0 clojure.core.async.impl.channels.ManyToManyChannel@236f03a0], :compress true, :id 0, :ack true, :communication-ch #object[clojure.core.async.impl.channels.ManyToManyChannel 0x67545487 clojure.core.async.impl.channels.ManyToManyChannel@67545487], :count 1, :event-ch #object[clojure.core.async.impl.channels.ManyToManyChannel 0x467c3b1c clojure.core.async.impl.channels.ManyToManyChannel@467c3b1c], :seq 3}
doplarr             | 2022-05-09T07:38:58.221Z 456eb1e3e5ab TRACE [discljord.connections.impl:?] - Waiting for a shard to complete a step
doplarr             | 2022-05-09T07:39:39.247Z 456eb1e3e5ab TRACE [discljord.connections.impl:?] - Requesting heartbeat on shard 0
doplarr             | 2022-05-09T07:39:39.247Z 456eb1e3e5ab TRACE [discljord.connections.impl:?] - Sending heartbeat payload on shard 0
doplarr             | 2022-05-09T07:39:39.253Z 456eb1e3e5ab TRACE [discljord.connections.impl:?] - Stepping shard 0 {:session-id 12e719ed89ff05eb14879ef3bc1dda74, :websocket #object[gniazdo.core$connect_with_client$reify__8839 0x4243b70b gniazdo.core$connect_with_client$reify__8839@4243b70b], :ready true, :intents #{:guilds}, :connections-ch #object[clojure.core.async.impl.channels.ManyToManyChannel 0x2f20e2c1 clojure.core.async.impl.channels.ManyToManyChannel@2f20e2c1], :heartbeat-ch #object[clojure.core.async.impl.channels.ManyToManyChannel 0x236f03a0 clojure.core.async.impl.channels.ManyToManyChannel@236f03a0], :compress true, :id 0, :communication-ch #object[clojure.core.async.impl.channels.ManyToManyChannel 0x67545487 clojure.core.async.impl.channels.ManyToManyChannel@67545487], :count 1, :event-ch #object[clojure.core.async.impl.channels.ManyToManyChannel 0x467c3b1c clojure.core.async.impl.channels.ManyToManyChannel@467c3b1c], :seq 3}
doplarr             | 2022-05-09T07:39:39.253Z 456eb1e3e5ab TRACE [discljord.connections.impl:?] - Waiting for a shard to complete a step
doplarr             | 2022-05-09T07:39:39.471Z 456eb1e3e5ab TRACE [discljord.connections.impl:?] - Websocket received binary message: {"t":null,"s":null,"op":11,"d":null}
doplarr             | 2022-05-09T07:39:39.474Z 456eb1e3e5ab TRACE [discljord.connections.impl:?] - Stepping shard 0 {:session-id 12e719ed89ff05eb14879ef3bc1dda74, :websocket #object[gniazdo.core$connect_with_client$reify__8839 0x4243b70b gniazdo.core$connect_with_client$reify__8839@4243b70b], :ready true, :intents #{:guilds}, :connections-ch #object[clojure.core.async.impl.channels.ManyToManyChannel 0x2f20e2c1 clojure.core.async.impl.channels.ManyToManyChannel@2f20e2c1], :heartbeat-ch #object[clojure.core.async.impl.channels.ManyToManyChannel 0x236f03a0 clojure.core.async.impl.channels.ManyToManyChannel@236f03a0], :compress true, :id 0, :ack true, :communication-ch #object[clojure.core.async.impl.channels.ManyToManyChannel 0x67545487 clojure.core.async.impl.channels.ManyToManyChannel@67545487], :count 1, :event-ch #object[clojure.core.async.impl.channels.ManyToManyChannel 0x467c3b1c clojure.core.async.impl.channels.ManyToManyChannel@467c3b1c], :seq 3}
doplarr             | 2022-05-09T07:39:39.475Z 456eb1e3e5ab TRACE [discljord.connections.impl:?] - Waiting for a shard to complete a step

Eventually hits:

doplarr             | 2022-05-09T07:42:24.487Z 456eb1e3e5ab TRACE [discljord.connections.impl:?] - Waiting for a shard to complete a step
doplarr             | 2022-05-09T07:42:41.348Z 456eb1e3e5ab TRACE [doplarr.utils:22] - HTTP Response  java.util.concurrent.CompletionException: java.net.ConnectException
doplarr             | 2022-05-09T07:42:41.351Z 456eb1e3e5ab FATAL [doplarr.utils:78] -
doplarr             |                                            java.lang.Thread.run
doplarr             |              java.util.concurrent.ThreadPoolExecutor$Worker.run
doplarr             |               java.util.concurrent.ThreadPoolExecutor.runWorker
doplarr             |          java.util.concurrent.CompletableFuture$AsyncSupply.run
doplarr             |             java.util.concurrent.CompletableFuture.postComplete
doplarr             |        java.util.concurrent.CompletableFuture$UniHandle.tryFire
doplarr             |                java.util.concurrent.CompletableFuture.uniHandle
doplarr             | jdk.internal.net.http.PlainHttpConnection.lambda$connectAsync$1
doplarr             |     jdk.internal.net.http.PlainHttpConnection.checkRetryConnect
doplarr             |          jdk.internal.net.http.PlainHttpConnection.connectAsync
doplarr             |                     java.security.AccessController.doPrivileged
doplarr             | jdk.internal.net.http.PlainHttpConnection.lambda$connectAsync$0
doplarr             |                            sun.nio.ch.SocketChannelImpl.connect
doplarr             |                       sun.nio.ch.SocketChannelImpl.beginConnect
doplarr             |                         sun.nio.ch.SocketChannelImpl.ensureOpen
doplarr             | java.nio.channels.ClosedChannelException:
doplarr             |                java.net.ConnectException:
doplarr             | java.util.concurrent.CompletionException: java.net.ConnectException
doplarr             |
kiranshila commented 2 years ago

Yeah I didn't expect it to fix it - just adds a bit more logging details

kiranshila commented 2 years ago

Are you behind a proxy? Doplarr doesn't work through redirects and needs the absolute address

thesammykins commented 2 years ago

Sorry for the delay, life lol. Loaded up on the :develop container as well to get the below log.

Not running behind a proxy, Doplarr is connecting locally to everything. Seems like it's not properly pulling from Overseer for some reason. It's odd because it was working during March/beginning of April and only became an issue recently.

It just sits there contemplating existence and not getting anything back, as usual if I grab the API URL it gives me all the info that Doplarr should be getting back, which doesn't make much sense to me at all.

Here's my config because I forgot to add it

 doplarr:
    container_name: doplarr
    image: ghcr.io/kiranshila/doplarr:develop
    environment:
      - DISCORD__TOKEN="XXX"
      - DISCORD__MAX_RESULTS=25
      - OVERSEERR__URL=http://192.168.88.4:5055
      - OVERSEERR__API="XXX"
      - OVERSEERR__DEFAULT_ID=1
      - LOG_LEVEL=:trace```
doplarr             | 2022-05-14T11:42:22.615Z 839c41063529 INFO [doplarr.interaction-state-machine:28] - Performing search for series Iron Man
doplarr             | 2022-05-14T11:42:23.072Z 839c41063529 TRACE [doplarr.utils:24] - Performing HTTP request :get http://192.168.88.4:5055/api/v1/search?query=Iron Man nil
doplarr             | 2022-05-14T11:42:56.070Z 839c41063529 TRACE [discljord.connections.impl:?] - Requesting heartbeat on shard 0
doplarr             | 2022-05-14T11:42:56.070Z 839c41063529 TRACE [discljord.connections.impl:?] - Sending heartbeat payload on shard 0
doplarr             | 2022-05-14T11:42:56.072Z 839c41063529 TRACE [discljord.connections.impl:?] - Stepping shard 0 {:session-id e9cc2e84257894b9cc4fe7ab6a8fc4c4, :websocket #object[gniazdo.core$connect_with_client$reify__8839 0x13dc2b1e gniazdo.core$connect_with_client$reify__8839@13dc2b1e], :ready true, :intents #{:guilds}, :connections-ch #object[clojure.core.async.impl.channels.ManyToManyChannel 0x2f20e2c1 clojure.core.async.impl.channels.ManyToManyChannel@2f20e2c1], :heartbeat-ch #object[clojure.core.async.impl.channels.ManyToManyChannel 0x130ff8b4 clojure.core.async.impl.channels.ManyToManyChannel@130ff8b4], :compress true, :id 0, :communication-ch #object[clojure.core.async.impl.channels.ManyToManyChannel 0x67545487 clojure.core.async.impl.channels.ManyToManyChannel@67545487], :count 1, :event-ch #object[clojure.core.async.impl.channels.ManyToManyChannel 0x17e3bd3a clojure.core.async.impl.channels.ManyToManyChannel@17e3bd3a], :seq 3}
doplarr             | 2022-05-14T11:42:56.072Z 839c41063529 TRACE [discljord.connections.impl:?] - Waiting for a shard to complete a step
doplarr             | 2022-05-14T11:42:56.285Z 839c41063529 TRACE [discljord.connections.impl:?] - Websocket received binary message: {"t":null,"s":null,"op":11,"d":null}
doplarr             | 2022-05-14T11:42:56.287Z 839c41063529 TRACE [discljord.connections.impl:?] - Stepping shard 0 {:session-id e9cc2e84257894b9cc4fe7ab6a8fc4c4, :websocket #object[gniazdo.core$connect_with_client$reify__8839 0x13dc2b1e gniazdo.core$connect_with_client$reify__8839@13dc2b1e], :ready true, :intents #{:guilds}, :connections-ch #object[clojure.core.async.impl.channels.ManyToManyChannel 0x2f20e2c1 clojure.core.async.impl.channels.ManyToManyChannel@2f20e2c1], :heartbeat-ch #object[clojure.core.async.impl.channels.ManyToManyChannel 0x130ff8b4 clojure.core.async.impl.channels.ManyToManyChannel@130ff8b4], :compress true, :id 0, :ack true, :communication-ch #object[clojure.core.async.impl.channels.ManyToManyChannel 0x67545487 clojure.core.async.impl.channels.ManyToManyChannel@67545487], :count 1, :event-ch #object[clojure.core.async.impl.channels.ManyToManyChannel 0x17e3bd3a clojure.core.async.impl.channels.ManyToManyChannel@17e3bd3a], :seq 3}
doplarr             | 2022-05-14T11:42:56.287Z 839c41063529 TRACE [discljord.connections.impl:?] - Waiting for a shard to complete a step
doplarr             | 2022-05-14T11:43:37.322Z 839c41063529 TRACE [discljord.connections.impl:?] - Sending heartbeat payload on shard 0
doplarr             | 2022-05-14T11:43:37.322Z 839c41063529 TRACE [discljord.connections.impl:?] - Requesting heartbeat on shard 0
doplarr             | 2022-05-14T11:43:37.323Z 839c41063529 TRACE [discljord.connections.impl:?] - Stepping shard 0 {:session-id e9cc2e84257894b9cc4fe7ab6a8fc4c4, :websocket #object[gniazdo.core$connect_with_client$reify__8839 0x13dc2b1e gniazdo.core$connect_with_client$reify__8839@13dc2b1e], :ready true, :intents #{:guilds}, :connections-ch #object[clojure.core.async.impl.channels.ManyToManyChannel 0x2f20e2c1 clojure.core.async.impl.channels.ManyToManyChannel@2f20e2c1], :heartbeat-ch #object[clojure.core.async.impl.channels.ManyToManyChannel 0x130ff8b4 clojure.core.async.impl.channels.ManyToManyChannel@130ff8b4], :compress true, :id 0, :communication-ch #object[clojure.core.async.impl.channels.ManyToManyChannel 0x67545487 clojure.core.async.impl.channels.ManyToManyChannel@67545487], :count 1, :event-ch #object[clojure.core.async.impl.channels.ManyToManyChannel 0x17e3bd3a clojure.core.async.impl.channels.ManyToManyChannel@17e3bd3a], :seq 3}
doplarr             | 2022-05-14T11:43:37.324Z 839c41063529 TRACE [discljord.connections.impl:?] - Waiting for a shard to complete a step
doplarr             | 2022-05-14T11:43:37.540Z 839c41063529 TRACE [discljord.connections.impl:?] - Websocket received binary message: {"t":null,"s":null,"op":11,"d":null}
doplarr             | 2022-05-14T11:43:37.541Z 839c41063529 TRACE [discljord.connections.impl:?] - Stepping shard 0 {:session-id e9cc2e84257894b9cc4fe7ab6a8fc4c4, :websocket #object[gniazdo.core$connect_with_client$reify__8839 0x13dc2b1e gniazdo.core$connect_with_client$reify__8839@13dc2b1e], :ready true, :intents #{:guilds}, :connections-ch #object[clojure.core.async.impl.channels.ManyToManyChannel 0x2f20e2c1 clojure.core.async.impl.channels.ManyToManyChannel@2f20e2c1], :heartbeat-ch #object[clojure.core.async.impl.channels.ManyToManyChannel 0x130ff8b4 clojure.core.async.impl.channels.ManyToManyChannel@130ff8b4], :compress true, :id 0, :ack true, :communication-ch #object[clojure.core.async.impl.channels.ManyToManyChannel 0x67545487 clojure.core.async.impl.channels.ManyToManyChannel@67545487], :count 1, :event-ch #object[clojure.core.async.impl.channels.ManyToManyChannel 0x17e3bd3a clojure.core.async.impl.channels.ManyToManyChannel@17e3bd3a], :seq 3}
doplarr             | 2022-05-14T11:43:37.541Z 839c41063529 TRACE [discljord.connections.impl:?] - Waiting for a shard to complete a step
doplarr             | 2022-05-14T11:44:18.573Z 839c41063529 TRACE [discljord.connections.impl:?] - Requesting heartbeat on shard 0
doplarr             | 2022-05-14T11:44:18.573Z 839c41063529 TRACE [discljord.connections.impl:?] - Sending heartbeat payload on shard 0
doplarr             | 2022-05-14T11:44:18.574Z 839c41063529 TRACE [discljord.connections.impl:?] - Stepping shard 0 {:session-id e9cc2e84257894b9cc4fe7ab6a8fc4c4, :websocket #object[gniazdo.core$connect_with_client$reify__8839 0x13dc2b1e gniazdo.core$connect_with_client$reify__8839@13dc2b1e], :ready true, :intents #{:guilds}, :connections-ch #object[clojure.core.async.impl.channels.ManyToManyChannel 0x2f20e2c1 clojure.core.async.impl.channels.ManyToManyChannel@2f20e2c1], :heartbeat-ch #object[clojure.core.async.impl.channels.ManyToManyChannel 0x130ff8b4 clojure.core.async.impl.channels.ManyToManyChannel@130ff8b4], :compress true, :id 0, :communication-ch #object[clojure.core.async.impl.channels.ManyToManyChannel 0x67545487 clojure.core.async.impl.channels.ManyToManyChannel@67545487], :count 1, :event-ch #object[clojure.core.async.impl.channels.ManyToManyChannel 0x17e3bd3a clojure.core.async.impl.channels.ManyToManyChannel@17e3bd3a], :seq 3}
doplarr             | 2022-05-14T11:44:18.575Z 839c41063529 TRACE [discljord.connections.impl:?] - Waiting for a shard to complete a step
doplarr             | 2022-05-14T11:44:18.797Z 839c41063529 TRACE [discljord.connections.impl:?] - Websocket received binary message: {"t":null,"s":null,"op":11,"d":null}
doplarr             | 2022-05-14T11:44:18.798Z 839c41063529 TRACE [discljord.connections.impl:?] - Stepping shard 0 {:session-id e9cc2e84257894b9cc4fe7ab6a8fc4c4, :websocket #object[gniazdo.core$connect_with_client$reify__8839 0x13dc2b1e gniazdo.core$connect_with_client$reify__8839@13dc2b1e], :ready true, :intents #{:guilds}, :connections-ch #object[clojure.core.async.impl.channels.ManyToManyChannel 0x2f20e2c1 clojure.core.async.impl.channels.ManyToManyChannel@2f20e2c1], :heartbeat-ch #object[clojure.core.async.impl.channels.ManyToManyChannel 0x130ff8b4 clojure.core.async.impl.channels.ManyToManyChannel@130ff8b4], :compress true, :id 0, :ack true, :communication-ch #object[clojure.core.async.impl.channels.ManyToManyChannel 0x67545487 clojure.core.async.impl.channels.ManyToManyChannel@67545487], :count 1, :event-ch #object[clojure.core.async.impl.channels.ManyToManyChannel 0x17e3bd3a clojure.core.async.impl.channels.ManyToManyChannel@17e3bd3a], :seq 3}
doplarr             | 2022-05-14T11:44:18.799Z 839c41063529 TRACE [discljord.connections.impl:?] - Waiting for a shard to complete a step
doplarr             | 2022-05-14T11:44:59.824Z 839c41063529 TRACE [discljord.connections.impl:?] - Requesting heartbeat on shard 0
doplarr             | 2022-05-14T11:44:59.824Z 839c41063529 TRACE [discljord.connections.impl:?] - Sending heartbeat payload on shard 0
doplarr             | 2022-05-14T11:44:59.826Z 839c41063529 TRACE [discljord.connections.impl:?] - Stepping shard 0 {:session-id e9cc2e84257894b9cc4fe7ab6a8fc4c4, :websocket #object[gniazdo.core$connect_with_client$reify__8839 0x13dc2b1e gniazdo.core$connect_with_client$reify__8839@13dc2b1e], :ready true, :intents #{:guilds}, :connections-ch #object[clojure.core.async.impl.channels.ManyToManyChannel 0x2f20e2c1 clojure.core.async.impl.channels.ManyToManyChannel@2f20e2c1], :heartbeat-ch #object[clojure.core.async.impl.channels.ManyToManyChannel 0x130ff8b4 clojure.core.async.impl.channels.ManyToManyChannel@130ff8b4], :compress true, :id 0, :communication-ch #object[clojure.core.async.impl.channels.ManyToManyChannel 0x67545487 clojure.core.async.impl.channels.ManyToManyChannel@67545487], :count 1, :event-ch #object[clojure.core.async.impl.channels.ManyToManyChannel 0x17e3bd3a clojure.core.async.impl.channels.ManyToManyChannel@17e3bd3a], :seq 3}
doplarr             | 2022-05-14T11:44:59.827Z 839c41063529 TRACE [discljord.connections.impl:?] - Waiting for a shard to complete a step
doplarr             | 2022-05-14T11:45:00.043Z 839c41063529 TRACE [discljord.connections.impl:?] - Websocket received binary message: {"t":null,"s":null,"op":11,"d":null}
doplarr             | 2022-05-14T11:45:00.044Z 839c41063529 TRACE [discljord.connections.impl:?] - Stepping shard 0 {:session-id e9cc2e84257894b9cc4fe7ab6a8fc4c4, :websocket #object[gniazdo.core$connect_with_client$reify__8839 0x13dc2b1e gniazdo.core$connect_with_client$reify__8839@13dc2b1e], :ready true, :intents #{:guilds}, :connections-ch #object[clojure.core.async.impl.channels.ManyToManyChannel 0x2f20e2c1 clojure.core.async.impl.channels.ManyToManyChannel@2f20e2c1], :heartbeat-ch #object[clojure.core.async.impl.channels.ManyToManyChannel 0x130ff8b4 clojure.core.async.impl.channels.ManyToManyChannel@130ff8b4], :compress true, :id 0, :ack true, :communication-ch #object[clojure.core.async.impl.channels.ManyToManyChannel 0x67545487 clojure.core.async.impl.channels.ManyToManyChannel@67545487], :count 1, :event-ch #object[clojure.core.async.impl.channels.ManyToManyChannel 0x17e3bd3a clojure.core.async.impl.channels.ManyToManyChannel@17e3bd3a], :seq 3}
doplarr             | 2022-05-14T11:45:00.045Z 839c41063529 TRACE [discljord.connections.impl:?] - Waiting for a shard to complete a step
doplarr             | 2022-05-14T11:45:41.076Z 839c41063529 TRACE [discljord.connections.impl:?] - Requesting heartbeat on shard 0
doplarr             | 2022-05-14T11:45:41.076Z 839c41063529 TRACE [discljord.connections.impl:?] - Sending heartbeat payload on shard 0
doplarr             | 2022-05-14T11:45:41.077Z 839c41063529 TRACE [discljord.connections.impl:?] - Stepping shard 0 {:session-id e9cc2e84257894b9cc4fe7ab6a8fc4c4, :websocket #object[gniazdo.core$connect_with_client$reify__8839 0x13dc2b1e gniazdo.core$connect_with_client$reify__8839@13dc2b1e], :ready true, :intents #{:guilds}, :connections-ch #object[clojure.core.async.impl.channels.ManyToManyChannel 0x2f20e2c1 clojure.core.async.impl.channels.ManyToManyChannel@2f20e2c1], :heartbeat-ch #object[clojure.core.async.impl.channels.ManyToManyChannel 0x130ff8b4 clojure.core.async.impl.channels.ManyToManyChannel@130ff8b4], :compress true, :id 0, :communication-ch #object[clojure.core.async.impl.channels.ManyToManyChannel 0x67545487 clojure.core.async.impl.channels.ManyToManyChannel@67545487], :count 1, :event-ch #object[clojure.core.async.impl.channels.ManyToManyChannel 0x17e3bd3a clojure.core.async.impl.channels.ManyToManyChannel@17e3bd3a], :seq 3}
doplarr             | 2022-05-14T11:45:41.078Z 839c41063529 TRACE [discljord.connections.impl:?] - Waiting for a shard to complete a step
doplarr             | 2022-05-14T11:45:41.299Z 839c41063529 TRACE [discljord.connections.impl:?] - Websocket received binary message: {"t":null,"s":null,"op":11,"d":null}
doplarr             | 2022-05-14T11:45:41.300Z 839c41063529 TRACE [discljord.connections.impl:?] - Stepping shard 0 {:session-id e9cc2e84257894b9cc4fe7ab6a8fc4c4, :websocket #object[gniazdo.core$connect_with_client$reify__8839 0x13dc2b1e gniazdo.core$connect_with_client$reify__8839@13dc2b1e], :ready true, :intents #{:guilds}, :connections-ch #object[clojure.core.async.impl.channels.ManyToManyChannel 0x2f20e2c1 clojure.core.async.impl.channels.ManyToManyChannel@2f20e2c1], :heartbeat-ch #object[clojure.core.async.impl.channels.ManyToManyChannel 0x130ff8b4 clojure.core.async.impl.channels.ManyToManyChannel@130ff8b4], :compress true, :id 0, :ack true, :communication-ch #object[clojure.core.async.impl.channels.ManyToManyChannel 0x67545487 clojure.core.async.impl.channels.ManyToManyChannel@67545487], :count 1, :event-ch #object[clojure.core.async.impl.channels.ManyToManyChannel 0x17e3bd3a clojure.core.async.impl.channels.ManyToManyChannel@17e3bd3a], :seq 3}
doplarr             | 2022-05-14T11:45:41.300Z 839c41063529 TRACE [discljord.connections.impl:?] - Waiting for a shard to complete a step
doplarr             | 2022-05-14T11:46:22.326Z 839c41063529 TRACE [discljord.connections.impl:?] - Requesting heartbeat on shard 0
doplarr             | 2022-05-14T11:46:22.326Z 839c41063529 TRACE [discljord.connections.impl:?] - Sending heartbeat payload on shard 0
doplarr             | 2022-05-14T11:46:22.328Z 839c41063529 TRACE [discljord.connections.impl:?] - Stepping shard 0 {:session-id e9cc2e84257894b9cc4fe7ab6a8fc4c4, :websocket #object[gniazdo.core$connect_with_client$reify__8839 0x13dc2b1e gniazdo.core$connect_with_client$reify__8839@13dc2b1e], :ready true, :intents #{:guilds}, :connections-ch #object[clojure.core.async.impl.channels.ManyToManyChannel 0x2f20e2c1 clojure.core.async.impl.channels.ManyToManyChannel@2f20e2c1], :heartbeat-ch #object[clojure.core.async.impl.channels.ManyToManyChannel 0x130ff8b4 clojure.core.async.impl.channels.ManyToManyChannel@130ff8b4], :compress true, :id 0, :communication-ch #object[clojure.core.async.impl.channels.ManyToManyChannel 0x67545487 clojure.core.async.impl.channels.ManyToManyChannel@67545487], :count 1, :event-ch #object[clojure.core.async.impl.channels.ManyToManyChannel 0x17e3bd3a clojure.core.async.impl.channels.ManyToManyChannel@17e3bd3a], :seq 3}
doplarr             | 2022-05-14T11:46:22.328Z 839c41063529 TRACE [discljord.connections.impl:?] - Waiting for a shard to complete a step
doplarr             | 2022-05-14T11:46:22.550Z 839c41063529 TRACE [discljord.connections.impl:?] - Websocket received binary message: {"t":null,"s":null,"op":11,"d":null}
doplarr             | 2022-05-14T11:46:22.553Z 839c41063529 TRACE [discljord.connections.impl:?] - Stepping shard 0 {:session-id e9cc2e84257894b9cc4fe7ab6a8fc4c4, :websocket #object[gniazdo.core$connect_with_client$reify__8839 0x13dc2b1e gniazdo.core$connect_with_client$reify__8839@13dc2b1e], :ready true, :intents #{:guilds}, :connections-ch #object[clojure.core.async.impl.channels.ManyToManyChannel 0x2f20e2c1 clojure.core.async.impl.channels.ManyToManyChannel@2f20e2c1], :heartbeat-ch #object[clojure.core.async.impl.channels.ManyToManyChannel 0x130ff8b4 clojure.core.async.impl.channels.ManyToManyChannel@130ff8b4], :compress true, :id 0, :ack true, :communication-ch #object[clojure.core.async.impl.channels.ManyToManyChannel 0x67545487 clojure.core.async.impl.channels.ManyToManyChannel@67545487], :count 1, :event-ch #object[clojure.core.async.impl.channels.ManyToManyChannel 0x17e3bd3a clojure.core.async.impl.channels.ManyToManyChannel@17e3bd3a], :seq 3}
doplarr             | 2022-05-14T11:46:22.554Z 839c41063529 TRACE [discljord.connections.impl:?] - Waiting for a shard to complete a step
doplarr             | 2022-05-14T11:46:43.521Z 839c41063529 TRACE [doplarr.utils:22] - HTTP Response  java.util.concurrent.CompletionException: java.net.ConnectException
doplarr             | 2022-05-14T11:46:43.522Z 839c41063529 FATAL [doplarr.utils:78] -
doplarr             |                                            java.lang.Thread.run
doplarr             |              java.util.concurrent.ThreadPoolExecutor$Worker.run
doplarr             |               java.util.concurrent.ThreadPoolExecutor.runWorker
doplarr             |          java.util.concurrent.CompletableFuture$AsyncSupply.run
doplarr             |             java.util.concurrent.CompletableFuture.postComplete
doplarr             |        java.util.concurrent.CompletableFuture$UniHandle.tryFire
doplarr             |                java.util.concurrent.CompletableFuture.uniHandle
doplarr             | jdk.internal.net.http.PlainHttpConnection.lambda$connectAsync$1
doplarr             |     jdk.internal.net.http.PlainHttpConnection.checkRetryConnect
doplarr             |          jdk.internal.net.http.PlainHttpConnection.connectAsync
doplarr             |                     java.security.AccessController.doPrivileged
doplarr             | jdk.internal.net.http.PlainHttpConnection.lambda$connectAsync$0
doplarr             |                            sun.nio.ch.SocketChannelImpl.connect
doplarr             |                       sun.nio.ch.SocketChannelImpl.beginConnect
doplarr             |                         sun.nio.ch.SocketChannelImpl.ensureOpen
doplarr             | java.nio.channels.ClosedChannelException:
doplarr             |                java.net.ConnectException:
doplarr             | java.util.concurrent.CompletionException: java.net.ConnectException
doplarr             |
doplarr             | 2022-05-14T11:46:43.557Z 839c41063529 TRACE [discljord.messaging.impl:?] - Got event [{:discljord.messaging.specs/action :edit-original-interaction-response, :discljord.messaging.specs/major-variable {:discljord.messaging.specs/major-variable-value aW50ZXJhY3Rpb246OTc1MDAwMTE1NTE5NTUzNTc3OnJSUG1VaHRxVmdHY3VDeUFDWTlabU5LSlc2NUJhZEVFdkhYT3R0d0lJbUNEVUJ2WmFzOTVqSTBobUdmcG9MRFd2bmN1SVpwdUFnb2NJSXlqVFhWbnBwVExxRHRDbTdNWUlpMnJZTGFqWnBPdUZCbEt3MEtjYmo1S2VGdGxxZ1hs, :discljord.messaging.specs/major-variable-type :discljord.messaging.specs/interaction-token}} #object[discljord.util.DerefablePromiseChannel 75142ef2 "discljord.util.DerefablePromiseChannel@75142ef2"] 974997236498968617 :user-agent nil :audit-reason nil :content Search result returned no hits :flags 64]
doplarr             | 2022-05-14T11:46:43.558Z 839c41063529 TRACE [discljord.messaging.impl:?] - Stepping agent with process {:discljord.messaging.specs/rate-limits #object[clojure.lang.Atom 0x3264581c {:status :ready, :val {ae189c08c8f3c47d2311646889fed041 {nil {:discljord.messaging.specs/rate 2, :discljord.messaging.specs/remaining 1, :discljord.messaging.specs/reset 1652528595267}}}}], :discljord.messaging.specs/endpoint-agents {{:discljord.messaging.specs/action :bulk-overwrite-guild-application-commands} #object[clojure.lang.Agent 0x6b0eda6f {:status :ready, :val ae189c08c8f3c47d2311646889fed041}], {:discljord.messaging.specs/action :create-interaction-response} #object[clojure.lang.Agent 0x280d0f79 {:status :ready, :val nil}]}, :discljord.specs/channel #object[clojure.core.async.impl.channels.ManyToManyChannel 0x22dfa5ac clojure.core.async.impl.channels.ManyToManyChannel@22dfa5ac], :discljord.specs/token Bot OTc0OTk3MjM2NDk4OTY4NjE3.GBL3rK.kY6rkRDBGqh0QP_418xzQCy---_isgKZC1Uwgo, :discljord.messaging.specs/global-limit #object[clojure.lang.Atom 0x1dbf70a7 {:status :ready, :val nil}]}
doplarr             | 2022-05-14T11:46:43.559Z 839c41063529 TRACE [discljord.messaging.impl:?] - Making request to endpoint {:discljord.messaging.specs/action :edit-original-interaction-response, :discljord.messaging.specs/major-variable {:discljord.messaging.specs/major-variable-value aW50ZXJhY3Rpb246OTc1MDAwMTE1NTE5NTUzNTc3OnJSUG1VaHRxVmdHY3VDeUFDWTlabU5LSlc2NUJhZEVFdkhYT3R0d0lJbUNEVUJ2WmFzOTVqSTBobUdmcG9MRFd2bmN1SVpwdUFnb2NJSXlqVFhWbnBwVExxRHRDbTdNWUlpMnJZTGFqWnBPdUZCbEt3MEtjYmo1S2VGdGxxZ1hs, :discljord.messaging.specs/major-variable-type :discljord.messaging.specs/interaction-token}}
doplarr             | 2022-05-14T11:46:43.559Z 839c41063529 TRACE [discljord.messaging.impl:?] - Making request
doplarr             | 2022-05-14T11:46:43.559Z 839c41063529 TRACE [discljord.messaging.impl:?] - Making request to aW50ZXJhY3Rpb246OTc1MDAwMTE1NTE5NTUzNTc3OnJSUG1VaHRxVmdHY3VDeUFDWTlabU5LSlc2NUJhZEVFdkhYT3R0d0lJbUNEVUJ2WmFzOTVqSTBobUdmcG9MRFd2bmN1SVpwdUFnb2NJSXlqVFhWbnBwVExxRHRDbTdNWUlpMnJZTGFqWnBPdUZCbEt3MEtjYmo1S2VGdGxxZ1hs with params {:body {"audit-reason":null,"content":"Search result returned no hits","flags":64}, :headers {Authorization Bot OTc0OTk3MjM2NDk4OTY4NjE3.GBL3rK.kY6rkRDBGqh0QP_418xzQCy---_isgKZC1Uwgo, User-Agent DiscordBot (https://github.com/IGJoshua/discljord, 1.3.1) , Content-Type application/json}}
thesammykins commented 2 years ago

Issue appears isolated specifically to Overseer, I've got it hooked directly into Sonarr and Radarr now and works perfectly. Overseer doesn't give me any logs that indicate something is failing there other than the possibility that it's not sending any information back to Doplarr to pull from.