Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New version no longer returning results #108

Open
jcsumlin opened this issue Dec 2, 2022 · 13 comments
Open

New version no longer returning results #108

jcsumlin opened this issue Dec 2, 2022 · 13 comments
Labels
bug Something isn't working

Comments

@jcsumlin
Copy link

jcsumlin commented Dec 2, 2022

Describe the bug
Bot is not able to search for any content, responds with "No results found"

Expected behavior
Any search results are produced

Screenshots
Screenshot 2022-12-01 230336
Screenshot 2022-12-01 230558

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.

[custom-init] No custom services found, skipping...
[custom-init] Legacy service folder /config/custom-services.d is empty, deleting...
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service 00-legacy: starting
s6-rc: info: service 00-legacy successfully started
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
cont-init: info: running /etc/cont-init.d/01-envfile
cont-init: info: /etc/cont-init.d/01-envfile exited 0
cont-init: info: running /etc/cont-init.d/01-migrations
[migrations] started
[migrations] no migrations found
cont-init: info: /etc/cont-init.d/01-migrations exited 0
cont-init: info: running /etc/cont-init.d/10-adduser

-------------------------------------
_ ()
| | ___ _ __
| | / __| | | / \
| | \__ \ | | | () |
|_| |___/ |_| \__/


Brought to you by linuxserver.io
-------------------------------------

To support the app dev(s) visit:
kiranshila: https://github.com/sponsors/kiranshila

To support LSIO projects visit:
https://www.linuxserver.io/donate/
-------------------------------------
GID/UID
-------------------------------------

User uid: 99
User gid: 100
-------------------------------------

cont-init: info: /etc/cont-init.d/10-adduser exited 0
cont-init: info: running /etc/cont-init.d/19-armless
cont-init: info: /etc/cont-init.d/19-armless exited 0
cont-init: info: running /etc/cont-init.d/30-config
cont-init: info: /etc/cont-init.d/30-config exited 0
cont-init: info: running /etc/cont-init.d/99-custom-files
[custom-init] Legacy files folder /config/custom-cont-init.d is empty, deleting...
cont-init: info: /etc/cont-init.d/99-custom-files exited 0
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service init-mods: starting
s6-rc: info: service init-mods successfully started
s6-rc: info: service init-mods-package-install: starting
s6-rc: info: service init-mods-package-install successfully started
s6-rc: info: service init-mods-end: starting
s6-rc: info: service init-mods-end successfully started
s6-rc: info: service init-services: starting
s6-rc: info: service init-services successfully started
s6-rc: info: service legacy-services: starting
services-up: info: copying legacy longrun doplarr (no readiness notification)
s6-rc: info: service legacy-services successfully started
s6-rc: info: service 99-ci-service-check: starting
[ls.io-init] done.
s6-rc: info: service 99-ci-service-check successfully started
2022-12-02T03:56:18.558Z 6e5ee6d75ce8 INFO [doplarr.config:66] - Configuration is valid
2022-12-02T03:56:19.226Z 6e5ee6d75ce8 INFO [discljord.messaging.impl:?] - Starting messaging process
2022-12-02T03:56:19.241Z 6e5ee6d75ce8 INFO [discljord.connections.impl:?] - Connecting shard 0
2022-12-01 19:56:19.297:INFO::async-dispatch-4: Logging initialized @5266ms to org.eclipse.jetty.util.log.StdErrLog
2022-12-02T03:56:19.866Z 6e5ee6d75ce8 INFO [doplarr.core:38] - Discord connection successful
2022-12-02T03:56:19.876Z 6e5ee6d75ce8 INFO [doplarr.core:43] - Connected to guild
2022-12-02T03:56:42.386Z 6e5ee6d75ce8 INFO [doplarr.interaction-state-machine:28] - Performing search for movie batman TMNT
2022-12-02T03:58:02.268Z 6e5ee6d75ce8 WARN [discljord.connections.impl:?] - Websocket errored #error {

:cause Broken pipe
:via
[{:type java.io.IOException
:message Broken pipe
:at [org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint flush SslConnection.java 1086]}]
:trace
[[org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint flush SslConnection.java 1086]
[org.eclipse.jetty.io.WriteFlusher flush WriteFlusher.java 422]
[org.eclipse.jetty.io.WriteFlusher write WriteFlusher.java 277]
[org.eclipse.jetty.io.AbstractEndPoint write AbstractEndPoint.java 381]
[org.eclipse.jetty.websocket.common.io.FrameFlusher flush FrameFlusher.java 264]
[org.eclipse.jetty.websocket.common.io.FrameFlusher process FrameFlusher.java 193]
[org.eclipse.jetty.util.IteratingCallback processing IteratingCallback.java 241]
[org.eclipse.jetty.util.IteratingCallback iterate IteratingCallback.java 223]
[org.eclipse.jetty.websocket.common.io.AbstractWebSocketConnection outgoingFrame AbstractWebSocketConnection.java 581]
[org.eclipse.jetty.websocket.client.io.WebSocketClientConnection outgoingFrame WebSocketClientConnection.java 58]
[org.eclipse.jetty.websocket.common.io.AbstractWebSocketConnection close AbstractWebSocketConnection.java 181]
[org.eclipse.jetty.websocket.common.io.AbstractWebSocketConnection onFillable AbstractWebSocketConnection.java 510]
[org.eclipse.jetty.websocket.common.io.AbstractWebSocketConnection onFillable AbstractWebSocketConnection.java 440]
[org.eclipse.jetty.io.AbstractConnection$ReadCallback succeeded AbstractConnection.java 311]
[org.eclipse.jetty.io.FillInterest fillable FillInterest.java 105]
[org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint onFillable SslConnection.java 540]
[org.eclipse.jetty.io.ssl.SslConnection onFillable SslConnection.java 395]
[org.eclipse.jetty.io.ssl.SslConnection$2 succeeded SslConnection.java 161]
[org.eclipse.jetty.io.FillInterest fillable FillInterest.java 105]
[org.eclipse.jetty.io.ChannelEndPoint$1 run ChannelEndPoint.java 104]
[org.eclipse.jetty.util.thread.strategy.EatWhatYouKill runTask EatWhatYouKill.java 336]
[org.eclipse.jetty.util.thread.strategy.EatWhatYouKill doProduce EatWhatYouKill.java 313]
[org.eclipse.jetty.util.thread.strategy.EatWhatYouKill tryProduce EatWhatYouKill.java 171]
[org.eclipse.jetty.util.thread.strategy.EatWhatYouKill run EatWhatYouKill.java 129]
[org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread run ReservedThreadExecutor.java 375]
[org.eclipse.jetty.util.thread.QueuedThreadPool runJob QueuedThreadPool.java 773]
[org.eclipse.jetty.util.thread.QueuedThreadPool$Runner run QueuedThreadPool.java 905]
[java.lang.Thread run Thread.java 831]]}
2022-12-02T03:58:02.272Z 6e5ee6d75ce8 ERROR [discljord.connections.impl:?] - Error encountered on shard 0

java.lang.Thread.run Thread.java: 831
org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run QueuedThreadPool.java: 905
org.eclipse.jetty.util.thread.QueuedThreadPool.runJob QueuedThreadPool.java: 773
org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run ReservedThreadExecutor.java: 375
org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run EatWhatYouKill.java: 129
org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce EatWhatYouKill.java: 171
org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce EatWhatYouKill.java: 313
org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask EatWhatYouKill.java: 336
org.eclipse.jetty.io.ChannelEndPoint$1.run ChannelEndPoint.java: 104
org.eclipse.jetty.io.FillInterest.fillable FillInterest.java: 105
org.eclipse.jetty.io.ssl.SslConnection$2.succeeded SslConnection.java: 161
org.eclipse.jetty.io.ssl.SslConnection.onFillable SslConnection.java: 395
org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.onFillable SslConnection.java: 540
org.eclipse.jetty.io.FillInterest.fillable FillInterest.java: 105
org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded AbstractConnection.java: 311
org.eclipse.jetty.websocket.common.io.AbstractWebSocketConnection.onFillable AbstractWebSocketConnection.java: 440
org.eclipse.jetty.websocket.common.io.AbstractWebSocketConnection.onFillable AbstractWebSocketConnection.java: 510
org.eclipse.jetty.websocket.common.io.AbstractWebSocketConnection.close AbstractWebSocketConnection.java: 181
org.eclipse.jetty.websocket.client.io.WebSocketClientConnection.outgoingFrame WebSocketClientConnection.java: 58
org.eclipse.jetty.websocket.common.io.AbstractWebSocketConnection.outgoingFrame AbstractWebSocketConnection.java: 581
org.eclipse.jetty.util.IteratingCallback.iterate IteratingCallback.java: 223
org.eclipse.jetty.util.IteratingCallback.processing IteratingCallback.java: 241
org.eclipse.jetty.websocket.common.io.FrameFlusher.process FrameFlusher.java: 193
org.eclipse.jetty.websocket.common.io.FrameFlusher.flush FrameFlusher.java: 264
org.eclipse.jetty.io.AbstractEndPoint.write AbstractEndPoint.java: 381
org.eclipse.jetty.io.WriteFlusher.write WriteFlusher.java: 277
org.eclipse.jetty.io.WriteFlusher.flush WriteFlusher.java: 422
org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.flush SslConnection.java: 1086
java.io.IOException: Broken pipe

Additional context
This is running in a personal discord where the bot has admin perms and I am the Admin. The container is running in Unraid on the latest version.

@Borkuz
Copy link

Borkuz commented Dec 9, 2022

I have the same issue on an fresh docker install on unRAID.

@groot-stuff
Copy link

Same issue with fresh docker install on unRaid and fresh bot creation in Discord developer portal

@qudiqudi
Copy link

Did you guys try the image from @kiranshila himself? ghcr.io/kiranshila/doplarr:latest
I just deployed this in a docker stack with no issues.

@groot-stuff
Copy link

groot-stuff commented Dec 19, 2022

The unRaid docker template overview references this GitHub repository... (the one the issue is open on)
*Doplarr(https://github.com/kiranshila/Doplarr) is an arr request bot for Discord."

But then the template points to the lsio repository, so unRaid is pulling it down from:
lscr.io/linuxserver/doplarr

Perhaps this issue should be moved to
https://github.com/linuxserver/docker-doplarr ?

But if the logs also indicate kiranshila as the dev...
To support the app dev(s) visit:
kiranshila: https://github.com/sponsors/kiranshila

Then perhaps @kiranshila can assist with getting the proper updates committed to the linuxserver repository?

Also just attempted to pull the container down using
ghcr.io/kiranshila/doplarr:latest (by changing reference in unRaid repository template) and get same result (Search result returned no hits).

@kiranshila
Copy link
Owner

Theoretically the lsio (and other repackagers) docker containers use the same JAR used in my image - so I'm not quite sure why it would differ in behavior. Is everyone getting this error using Unraid? Is everyone getting that same SSL error?

@groot-stuff
Copy link

SmartSelect_20221219_162430_Chrome

Here is my log, using lsio repository... starts up fine and connects to Discord successfully but then has this FATAL error when I did a test search for 2 Fast 2 Furious.

@kiranshila
Copy link
Owner

Perhaps unraid changed how networking worked. Hmm..

@groot-stuff
Copy link

groot-stuff commented Dec 20, 2022

I'm on unRaid 6.11.5, using the default Network Type of Bridge (default in the template)

The template also has the two OVERSEERR (API & URL) keys as required fields yet instructs them to be left blank when using Radarr/Sonarr... let me know if you'd like me to spin up an issue over on Lsio's GitHub for those separately.
I edited them to not be required and leaving them blank causes fatal errors as the code is expecting values in the environment variables... so a faux API key has been entered.

@kiranshila kiranshila added the bug Something isn't working label Dec 22, 2022
@calebpaine
Copy link

I'm getting the exact same error, happens both when using the LSIO container on unraid along side overseerr, radarr, & sonarr. As well as when running on my dedicated and higher performance docker vm (on proxmox on another host).

Of note, the LSIO on unraid option worked once but gave me some 'close but not quite what I wanted' results. When I tested directly in overseerr and sonarr and got the expected results I went back to discord and re-tested and it never worked again.

@Jacob-Lasky
Copy link

Did you guys try the image from @kiranshila himself? ghcr.io/kiranshila/doplarr:latest I just deployed this in a docker stack with no issues.

LinuxServer wasn't working for me so I tried it directly using this image and it worked great. Just wanted to echo my +1 👍🏻

@RENOxDECEPTION
Copy link

RENOxDECEPTION commented Jan 15, 2023

SmartSelect_20221219_162430_Chrome

Here is my log, using lsio repository... starts up fine and connects to Discord successfully but then has this FATAL error when I did a test search for 2 Fast 2 Furious.

This error message was caused by using localhost instead of the actual ip address of the doplarr/radarr server for me.

@groot-stuff
Copy link

SmartSelect_20221219_162430_Chrome
Here is my log, using lsio repository... starts up fine and connects to Discord successfully but then has this FATAL error when I did a test search for 2 Fast 2 Furious.

This error message was caused by using localhost instead of the actual ip address of the doplarr/radarr server for me.

I was already referencing localhost, but you got me thinking about network config... thank you!

My Radarr and Sonarr instances (unRaid docker) are routed through another (a VPN container), once I routed the Doplarr container through that same VPN container everything works as expected!

@Rain3x
Copy link

Rain3x commented Mar 21, 2023

2023-03-21T17:08:27.754Z e9eba51c766e INFO [doplarr.interaction-state-machine:28] - Performing search for series House
2023-03-21T17:08:27.759Z e9eba51c766e FATAL [doplarr.utils:78] -
java.lang.Thread.run
java.util.concurrent.ThreadPoolExecutor$Worker.run
java.util.concurrent.ThreadPoolExecutor.runWorker
java.util.concurrent.CompletableFuture$AsyncSupply.run
java.util.concurrent.CompletableFuture.postComplete
java.util.concurrent.CompletableFuture$UniHandle.tryFire
java.util.concurrent.CompletableFuture.uniHandle
jdk.internal.net.http.PlainHttpConnection.lambda$connectAsync$1
jdk.internal.net.http.PlainHttpConnection.checkRetryConnect
jdk.internal.net.http.PlainHttpConnection.connectAsync
java.security.AccessController.doPrivileged
jdk.internal.net.http.PlainHttpConnection.lambda$connectAsync$0
sun.nio.ch.SocketChannelImpl.connect
sun.nio.ch.SocketChannelImpl.beginConnect
sun.nio.ch.SocketChannelImpl.ensureOpen
java.nio.channels.ClosedChannelException:
java.net.ConnectException:
java.util.concurrent.CompletionException: java.net.ConnectException

Same issue still using the latest. Both LSIO and ghcr.io/kiranshila/doplarr:latest on unRaid. Sonarr/Radarr/Doplarr are all in Docker on the same network.

Edit: So, I figured out what was causing it for me. The LSIO adds the overseer variables and requires them. Even if you set them to not required and leave them blank as suggested it errors and the container stops. If you switch to ghcr.io/kiranshila/doplarr:latest and remove both overseer (if you're not using it) variables it will stop trying to default to it and will instead use Sonarr.

In short it seems the error is that it's actually defaulting to overrseer if the variables exist at all, which the LSIO image requires - for me at least.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

9 participants