Support Tdarr widget with api key. #2705
-
DescriptionHi tdar widget does not work with api key. You can enable tdar auth as described here HaveAGitGat/Tdarr#297 (comment) Steps to reproduce1- Use tdar image homepage versionv0.8.4 Installation methodDocker 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
Browser LogsNo response Troubleshootingdocker 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"} OtherNo response Before submitting, I have made sure to
|
Beta Was this translation helpful? Give feedback.
Replies: 10 comments 2 replies
-
Based on the context provided, it seems that the Tdarr widget configuration does not currently support the The Tdarr documentation provided in the context does not mention the use of an API key, and the allowed fields are only However, you mentioned a GitHub issue comment that suggests enabling Tdarr auth and generating an API key. If Tdarr has been updated to require an API key for authentication, and this is not yet reflected in the Homepage documentation, you may need to update the widget configuration to include the API key in the correct format that Tdarr expects. Since the Homepage documentation does not provide details on how to include the API key in the widget configuration, you may need to refer to the Tdarr documentation or the GitHub issue you mentioned for guidance on the correct configuration format. If you have followed the Tdarr documentation for generating and using the API key and are still encountering issues, it would be advisable to reach out to the Homepage support with the details of the steps you have taken, including the Tdarr version you are using, the API key generation process, and the exact configuration you have set up. They may be able to provide more specific guidance or update the Homepage documentation to reflect any changes in Tdarr's authentication process. For now, please ensure that the Tdarr service is correctly configured to use API keys and that the Homepage widget configuration is updated accordingly. If the issue persists, please provide the exact steps and configurations you have used so that further assistance can be provided. Thanks for posting a discussion about homepage here on GitHub. Homepage now uses a fancy new AI tool thanks to our friends at Glime, so the answer above is the AI bot's attempt to answer your question. If you feel it's sufficient you can mark the answer and close this post, otherwise feel free to leave it open of course! Thanks for using Homepage! ❤️ This comment was generated by Glime. |
Beta Was this translation helpful? Give feedback.
-
Drop the
This works for my instance. |
Beta Was this translation helpful? Give feedback.
-
Tdarr now has an optional authorization feature, and when enabled, requires the API key to authenticate. Can you please update the Homepage widget to allow this api key? |
Beta Was this translation helpful? Give feedback.
-
Unfortunately I also enabled the authentication and the Homepage widget stopped working. Is there a solution already? |
Beta Was this translation helpful? Give feedback.
-
Same problem here. Please add support for an API key with tdarr. Thanks! |
Beta Was this translation helpful? Give feedback.
-
Tdarr Nodes seem to use the header x-api-key to send the api key to the server. I got this by pointing a node to a local http server that logged all requests. |
Beta Was this translation helpful? Give feedback.
-
Unfortunately this is still not fixed. Can you please take a look @shamoon ? |
Beta Was this translation helpful? Give feedback.
-
Added in PR #3940. My (almost) first public PR so please be gentle 🙏 |
Beta Was this translation helpful? Give feedback.
-
This discussion has been automatically closed because it was marked as answered. See our contributing guidelines for more details. |
Beta Was this translation helpful? Give feedback.
-
This discussion has been automatically locked since there has not been any recent activity after it was closed. Please open a new discussion for related concerns. See our contributing guidelines for more details. |
Beta Was this translation helpful? Give feedback.
Added in PR #3940. My (almost) first public PR so please be gentle 🙏