Skip to content
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

TRIAS endpoint is blocking certain User-Agents #6

Open
NVBWSeifert opened this issue Oct 7, 2022 Discussed in #5 · 0 comments
Open

TRIAS endpoint is blocking certain User-Agents #6

NVBWSeifert opened this issue Oct 7, 2022 Discussed in #5 · 0 comments

Comments

@NVBWSeifert
Copy link

Discussed in #5

Originally posted by 1Maxnet1 October 7, 2022
While working with the endpoint I discovered that it blocks certain user-agent headers, as described here: https://python.tutorialink.com/post-request-to-trias-api-does-not-work-with-requests/

The solution for me was just to set the user-agent manually to a working string, but it was hard to find out about this issue in the first place.

This seems to be a very weird issue and is rarely documented anywhere. However it would might make sense to document it, as else the requests will fail with 502 Error code, with no obvious reason. I contacted a contact at nvbw regarding this issue, but I'm lacking an answer for now, so this discussion forum seemed to be a good place to me.

If anyone has any thoughts on that, or did encounter this issue as well, I would appreciate some opinions :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant