[GH-ISSUE #4] Missing ta_url & api_key #2

Closed
opened 2026-03-23 20:32:45 +00:00 by mirror · 7 comments
Owner

Originally created by @jimmisavage on GitHub (Aug 29, 2023).
Original GitHub issue: https://github.com/tubearchivist/tubearchivist-plex/issues/4

Hi,
Firstly, thanks for the great work! I have followed the instructions but cannot seem to get it to work. Scanning a sample folder and I nothing is found - log below. Permissions are the same as all others in the folder.

2023-08-29 21:49:10,280 [TubeArchivist Scanner] INFO - TubeArchivist scanner started: 2023-08-29 21:49:10,279946
2023-08-29 21:49:10,283 [TubeArchivist Scanner] ERROR - Error reading or accessing url '<urllib2.Request instance at 0x7f5f9b1cb780>', Exception: 'HTTP Error 401: Unauthorized'
2023-08-29 21:49:10,284 [TubeArchivist Scanner] ERROR - Exception: 'HTTP Error 401: Unauthorized', library_xml could not be loaded. Is the X-Plex-Token file present and accessible?
2023-08-29 21:49:10,284 [TubeArchivist Scanner] ERROR - Check to see if ta_config.json file exists, is accessible, and has configuration data.
2023-08-29 21:49:10,284 [TubeArchivist Scanner] ERROR - Configuration is missing key 'ta_url'.
2023-08-29 21:49:10,285 [TubeArchivist Scanner] ERROR - Configuration is missing key 'ta_api_key'.

Originally created by @jimmisavage on GitHub (Aug 29, 2023). Original GitHub issue: https://github.com/tubearchivist/tubearchivist-plex/issues/4 Hi, Firstly, thanks for the great work! I have followed the instructions but cannot seem to get it to work. Scanning a sample folder and I nothing is found - log below. Permissions are the same as all others in the folder. 2023-08-29 21:49:10,280 [TubeArchivist Scanner] INFO - TubeArchivist scanner started: 2023-08-29 21:49:10,279946 2023-08-29 21:49:10,283 [TubeArchivist Scanner] ERROR - Error reading or accessing url '<urllib2.Request instance at 0x7f5f9b1cb780>', Exception: 'HTTP Error 401: Unauthorized' 2023-08-29 21:49:10,284 [TubeArchivist Scanner] ERROR - Exception: 'HTTP Error 401: Unauthorized', library_xml could not be loaded. Is the X-Plex-Token file present and accessible? 2023-08-29 21:49:10,284 [TubeArchivist Scanner] ERROR - Check to see if `ta_config.json` file exists, is accessible, and has configuration data. 2023-08-29 21:49:10,284 [TubeArchivist Scanner] ERROR - Configuration is missing key 'ta_url'. 2023-08-29 21:49:10,285 [TubeArchivist Scanner] ERROR - Configuration is missing key 'ta_api_key'.
Author
Owner

@lamusmaser commented on GitHub (Aug 29, 2023):

Looks like you are missing Step 3 under Scanner Installation.

Can you update the configuration there and see if that allows it to scan properly?

<!-- gh-comment-id:1698136463 --> @lamusmaser commented on GitHub (Aug 29, 2023): Looks like you are missing Step 3 under [Scanner Installation](https://github.com/tubearchivist/tubearchivist-plex#scanner-installation). Can you update the configuration there and see if that allows it to scan properly?
Author
Owner

@jimmisavage commented on GitHub (Aug 29, 2023):

Looks like you are missing Step 3 under Scanner Installation.

Can you update the configuration there and see if that allows it to scan properly?

No, I definitely updated that. Only my URL is that of a reverse proxy - would that make a difference?
https://imgur.com/e7IIWJr

<!-- gh-comment-id:1698139046 --> @jimmisavage commented on GitHub (Aug 29, 2023): > Looks like you are missing Step 3 under [Scanner Installation](https://github.com/tubearchivist/tubearchivist-plex#scanner-installation). > > Can you update the configuration there and see if that allows it to scan properly? No, I definitely updated that. Only my URL is that of a reverse proxy - would that make a difference? https://imgur.com/e7IIWJr
Author
Owner

@lamusmaser commented on GitHub (Aug 29, 2023):

No, that should be fine if it is accessible to the Plex system. What are the permissions of the file? Also, you'll want to read the updated README and confirm you have the X-Plex-Token file available.

<!-- gh-comment-id:1698150637 --> @lamusmaser commented on GitHub (Aug 29, 2023): No, that should be fine if it is accessible to the Plex system. What are the permissions of the file? Also, you'll want to read the updated README and confirm you have the X-Plex-Token file available.
Author
Owner

@pairofcrocs commented on GitHub (Aug 30, 2023):

@jimmisavage we just figured out that the issue was in the documentation. The file should be ta_config.json not ta-config.json.

This is the exciting stuff you get to be apart of on the bleeding edge of technology :)

We have updated the README.

<!-- gh-comment-id:1698325754 --> @pairofcrocs commented on GitHub (Aug 30, 2023): @jimmisavage we just figured out that the issue was in the documentation. The file should be `ta_config.json` not `ta-config.json`. This is the exciting stuff you get to be apart of on the bleeding edge of technology :) We have updated the README.
Author
Owner

@pairofcrocs commented on GitHub (Aug 30, 2023):

internal reminder
Split the error so we can troubleshoot it easier.

<!-- gh-comment-id:1698326345 --> @pairofcrocs commented on GitHub (Aug 30, 2023): *internal reminder* Split the error so we can troubleshoot it easier.
Author
Owner

@jimmisavage commented on GitHub (Aug 30, 2023):

Sorry - the baby had a rough night so didn't get a chance to make changes last night. I can confirm everything is now working! Thank you so much for this!!!

<!-- gh-comment-id:1698753670 --> @jimmisavage commented on GitHub (Aug 30, 2023): Sorry - the baby had a rough night so didn't get a chance to make changes last night. I can confirm everything is now working! Thank you so much for this!!!
Author
Owner

@lamusmaser commented on GitHub (Aug 31, 2023):

internal reminder Split the error so we can troubleshoot it easier.

This should be handled with #12. Let me know if we need to continue improving this section.

<!-- gh-comment-id:1701344291 --> @lamusmaser commented on GitHub (Aug 31, 2023): > _internal reminder_ Split the error so we can troubleshoot it easier. This should be handled with #12. Let me know if we need to continue improving this section.
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/archived-tubearchivist-plex#2
No description provided.