kiranshila / Doplarr

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

"The application did not respond" While searching for a request #91

Open draxxy9 opened 1 year ago

draxxy9 commented 1 year ago

Describe the bug While searching for movies using a full title (i.e. "Deadpool 2"), Doplarr shows "The application did not respond" in response to the discord command, and provides a FATAL exception in the container logs.

Alternatively, while searching for "Deadpool" instead of "Deadpool 2", the application returns the drop-down to select a movie, where Deadpool 2 is available as an option.

Screenshots Broken: image image Working: image image image

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.

2022-08-06T06:01:10.535Z 264f1a4420a2 INFO [doplarr.interaction-state-machine:28] - Performing search for movie "Deadpool 2"
2022-08-06T06:01:15.688Z 264f1a4420a2 FATAL [doplarr.interaction-state-machine:41] - Error in creating search responses
                               java.lang.Thread.run              Thread.java:  831
 java.util.concurrent.ThreadPoolExecutor$Worker.run  ThreadPoolExecutor.java:  630
  java.util.concurrent.ThreadPoolExecutor.runWorker  ThreadPoolExecutor.java: 1130
                                                ...
                clojure.core/binding-conveyor-fn/fn                 core.clj: 2050
             discljord.messaging.impl/step-agent/fn                 impl.clj: 1191
             discljord.messaging.impl/make-request!                 impl.clj: 1146
discljord.messaging.impl/make-request!/make-request                 impl.clj: 1141
                                                ...
                        discljord.messaging.impl/fn                 impl.clj:  943
clojure.lang.ExceptionInfo: Attempted to :edit-original-interaction-response with invalid parameters
       code: 10015
    message: "Unknown Webhook"

Additional context I'm running a container with docker-ce-20.10.17 on CentOS Stream 8, kernel 4.18.0-394. My docker-compose.yml is:

---
version: "2.1"
services:
  doplarr:
    image: lscr.io/linuxserver/doplarr:latest
    container_name: doplarr
    environment:
      - PUID=0
      - PGID=0
      - TZ=Australia/Adelaide
      - DISCORD__TOKEN=############################
      - RADARR__API=############################
      - RADARR__URL=http://x.x.x.x:7878
      - SONARR__API=############################
      - SONARR__URL=http://x.x.x.x:8989
      - DISCORD__MAX_RESULTS=25
      - DISCORD__REQUESTED_MSG_STYLE=:plain
      - PARTIAL_SEASONS=true
      - LOG_LEVEL=:info
    volumes:
      - ./config:/config
    restart: unless-stopped
reeseovine commented 1 year ago

i'm curious @draxxy9, is your doplarr behind a VPN? i am running into this same problem and i think it might be a timeout/latency issue; i moved it to a different host without a VPN and it works great now.

pcon commented 5 months ago

I'm seeing this same issue. My Doplarr is not behind a VPN. I am seeing a significant delay (15s+) between sending the command to Doplarr and then the error showing up in my console.

The-Running-Dev commented 5 months ago

I ran into this...and how I solved it was to provide DNS servers to the Docker container in Compose, like this:

dns:
    - 8.8.8.8
    - 1.1.1.1