[GH-ISSUE #31] A Connection error occurred sending JSON notification to tubearchivist-jf in Docker log viewer #23

Closed
opened 2026-03-23 20:33:05 +00:00 by mirror · 2 comments
Owner

Originally created by @type0dev on GitHub (Mar 2, 2024).
Original GitHub issue: https://github.com/tubearchivist/tubearchivist-jf/issues/31

I have tried a few things to get the Auto trigger feature to work. Manual docker exec -it tubearchivist-jf python main.py is
working as intended.

I have the default expose: - "8001" set in tubearchivist-jf docker-compose.yml

tubearchivist-jf container log:

 * Serving Flask app 'server'
 * Debug mode: off
WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
 * Running on all addresses (0.0.0.0)
 * Running on http://127.0.0.1:8001
 * Running on http://172.26.0.3:8001
Press CTRL+C to quit

I followed instructions for Auto Trigger but I am getting error in tubearchivist's container log

[2024-03-01 22:26:33,287: INFO/ForkPoolWorker-2] Task download_pending[b11e97bc-2bc5-4c34-ba69-21b472e9ad89] succeeded in 6.620861030882224s: 'downloaded 1 videos.'
[2024-03-01 22:26:33,287: WARNING/ForkPoolWorker-2] b11e97bc-2bc5-4c34-ba69-21b472e9ad89 return callback
[2024-03-01 22:26:33,291: WARNING/ForkPoolWorker-2] A Connection error occurred sending JSON notification to tubearchivist-jf.

I am running these in docker under ubuntu linux on same machine, here is my jellyfin/tubearchivist-jf stack

version: "3.6"

services:
  jellyfin:
    user: 1000:1000
    image: jellyfin/jellyfin:latest
    container_name: jellyfin
    restart: on-failure
    ports:
     - 8096:8096
     - 7359:7359/udp

    expose:
      - "7359" # fix LAN connections?

    volumes:
      - /mnt/nvme/Docker/jellyfin_/cache:/cache
      - /mnt/nvme/Docker/jellyfin_/config:/config
      - /mnt/nvme/medialibrary:/media
      - /mnt/nvme/medialibrary/youtube:/media/youtube:ro  # note :ro at the end
  tubearchivist-jf:
    image: bbilly1/tubearchivist-jf
    container_name: tubearchivist-jf
    environment:
      - TA_URL=http://192.168.1.99:8800
      - TA_TOKEN=******
      - JF_URL=http://192.168.1.99:8096
      - JF_TOKEN=******
    volumes:
      - /mnt/nvme/medialibrary/youtube:/youtube  # matching youtube volume as in Tube Archivist
    expose:
      - "8001"
Originally created by @type0dev on GitHub (Mar 2, 2024). Original GitHub issue: https://github.com/tubearchivist/tubearchivist-jf/issues/31 I have tried a few things to get the Auto trigger feature to work. Manual `docker exec -it tubearchivist-jf python main.py` is working as intended. I have the default `expose: - "8001"` set in tubearchivist-jf docker-compose.yml **tubearchivist-jf container log:** ``` * Serving Flask app 'server' * Debug mode: off WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. * Running on all addresses (0.0.0.0) * Running on http://127.0.0.1:8001 * Running on http://172.26.0.3:8001 Press CTRL+C to quit ``` I followed instructions for [Auto Trigger](https://github.com/tubearchivist/tubearchivist-jf?tab=readme-ov-file#auto-trigger) but I am getting error in tubearchivist's container log ``` [2024-03-01 22:26:33,287: INFO/ForkPoolWorker-2] Task download_pending[b11e97bc-2bc5-4c34-ba69-21b472e9ad89] succeeded in 6.620861030882224s: 'downloaded 1 videos.' [2024-03-01 22:26:33,287: WARNING/ForkPoolWorker-2] b11e97bc-2bc5-4c34-ba69-21b472e9ad89 return callback [2024-03-01 22:26:33,291: WARNING/ForkPoolWorker-2] A Connection error occurred sending JSON notification to tubearchivist-jf. ``` I am running these in docker under ubuntu linux on same machine, here is my jellyfin/tubearchivist-jf stack ``` version: "3.6" services: jellyfin: user: 1000:1000 image: jellyfin/jellyfin:latest container_name: jellyfin restart: on-failure ports: - 8096:8096 - 7359:7359/udp expose: - "7359" # fix LAN connections? volumes: - /mnt/nvme/Docker/jellyfin_/cache:/cache - /mnt/nvme/Docker/jellyfin_/config:/config - /mnt/nvme/medialibrary:/media - /mnt/nvme/medialibrary/youtube:/media/youtube:ro # note :ro at the end tubearchivist-jf: image: bbilly1/tubearchivist-jf container_name: tubearchivist-jf environment: - TA_URL=http://192.168.1.99:8800 - TA_TOKEN=****** - JF_URL=http://192.168.1.99:8096 - JF_TOKEN=****** volumes: - /mnt/nvme/medialibrary/youtube:/youtube # matching youtube volume as in Tube Archivist expose: - "8001" ```
Author
Owner

@supertom44 commented on GitHub (Apr 7, 2024):

I'm facing the exact same issue, with auto not working.

Tried changing the notifications to go to the ip addresses directly and still doesn't work unfortunately.

Not sure if this is an issue with this app or with TA itself.

<!-- gh-comment-id:2041350911 --> @supertom44 commented on GitHub (Apr 7, 2024): I'm facing the exact same issue, with auto not working. Tried changing the notifications to go to the ip addresses directly and still doesn't work unfortunately. Not sure if this is an issue with this app or with TA itself.
Author
Owner

@bbilly1 commented on GitHub (Apr 19, 2024):

Switch to the plugin: https://github.com/tubearchivist/tubearchivist-jf-plugin

That will use JFs refresh hooks.

<!-- gh-comment-id:2067383578 --> @bbilly1 commented on GitHub (Apr 19, 2024): Switch to the plugin: https://github.com/tubearchivist/tubearchivist-jf-plugin That will use JFs refresh hooks.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
tubearchivist/tubearchivist-jf#23
No description provided.