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

Can I use https://www.tumblr.com/api/v2 as the API endpoint? (dns cache issue) #143

Open
bennworks opened this issue Jan 16, 2025 · 1 comment

Comments

@bennworks
Copy link

When using the Tumblr API, I experience the 'host not found' error quite frequently. It will return to normal after a while, but it occurs frequently when I first use it. The API endpoint is https://api.tumblr.com/v2, and I think this problem occurs because the DNS of the ISP I am connected to does not cache this address. I am connected to a very major ISP, and many users are experiencing similar problems. This problem has been occurring more frequently recently (in the past few months) and it is becoming quite a problem. When I looked at the Tumblr website, it uses https://www.tumblr.com/api/v2, and I was wondering if app developers can also use this address. If we use the www.tumblr.com address, we probably won't experience the 'host not found' error.

@cyle
Copy link
Member

cyle commented Jan 16, 2025

I experience the 'host not found' error quite frequently. It will return to normal after a while, but it occurs frequently when I first use it.

this is fairly concerning. can you provide more detail on this, such as the output of a dig command? there should be no issues looking up Tumblr's DNS records. api.tumblr.com and www.tumblr.com are both using the same infrastructure on our side, so one working consistently and the other not working consistently doesn't make sense.

even so, usage of https://www.tumblr.com/api/v2 is only allowed by our official web client. anyone else trying to use it will be blocked as potential abuse/spam, so please don't use it.

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

2 participants