Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

[Bug] Tdarr widget does not work with api key. #2704

Closed
3 tasks done
AbdullahDahmash opened this issue Jan 20, 2024 · 0 comments
Closed
3 tasks done

[Bug] Tdarr widget does not work with api key. #2704

AbdullahDahmash opened this issue Jan 20, 2024 · 0 comments
Labels
not a bug This doesn't seem right

Comments

@AbdullahDahmash
Copy link

Description

Hi

tdar widget does not work with api key.

You can enable tdar auth as described here HaveAGitGat/Tdarr#297 (comment)

Steps to reproduce

1- Use tdar image docker.io/haveagitgat/tdarr_acc:dev_2.18.01_2023_12_21T15_42_37z
2- Enter local user credentials. Go to tools > API key > generate a new one
3- Add key attribute to tdar widget
4- It shows API error on the home page

homepage version

v0.8.4

Installation method

Docker

Configuration

- Tdarr:
      title: tdarr
      href: http://tdarr.host.or.ip
      description: Transcoding System
      server: my-docker
      container: tdarr
      widget:
        type: tdarr
        url: http://tdarr.host.or.ip
        key: apikeyapikeyapikeyapikeyapikey

Container Logs

[2024-01-20T06:04:13.129Z] error: <tdarrProxyHandler> Error getting data from Tdarr: 403.  Data: {"status":403,"message":"No auth token or API key provided"}
[2024-01-20T06:04:14.289Z] error: <tdarrProxyHandler> Error getting data from Tdarr: 403.  Data: {"status":403,"message":"No auth token or API key provided"}

Browser Logs

No response

Troubleshooting

docker exec homepage ping tdarr

PING tdarr (172.19.0.12): 56 data bytes
64 bytes from 172.19.0.12: seq=0 ttl=64 time=0.173 ms
64 bytes from 172.19.0.12: seq=1 ttl=64 time=0.123 ms
64 bytes from 172.19.0.12: seq=2 ttl=64 time=0.151 ms
64 bytes from 172.19.0.12: seq=3 ttl=64 time=0.144 ms
64 bytes from 172.19.0.12: seq=4 ttl=64 time=0.160 ms
docker exec homepage curl -L -k https://tdarr.host.or.ip/api/v2/cruddb

{"status":403,"message":"No auth token or API key provided"}

Other

No response

Before submitting, I have made sure to

@AbdullahDahmash AbdullahDahmash added bug Something isn't working unconfirmed labels Jan 20, 2024
@AbdullahDahmash AbdullahDahmash changed the title [Bug] Concise description of the issue [Bug] Tdarr widget does not work with api key. Jan 20, 2024
@gethomepage gethomepage locked and limited conversation to collaborators Jan 20, 2024
@shamoon shamoon converted this issue into discussion #2705 Jan 20, 2024
@shamoon shamoon added not a bug This doesn't seem right and removed bug Something isn't working unconfirmed labels Jan 20, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
not a bug This doesn't seem right
Projects
None yet
Development

No branches or pull requests

2 participants