-
Notifications
You must be signed in to change notification settings - Fork 153
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
Not working with *some* instances: how to debug? #392
Comments
It calls GET '/api/v1/streaming/health' It's documented with Mastodon. The „debug verbose mode” refers likely to Mastodon.py/mastodon/internals.py Lines 139 to 143 in 1372505
You can turn it on during instantiation: https://mastodonpy.readthedocs.io/en/stable/04_auth.html?highlight=debug_requests#authentication That would be in |
Thanks https://framagit.org/bortzmeyer/mastodon-DNS-bot/-/commit/3685ebe482a33c20beefadb917b3d5cee849f3fe I can now see that there is indeed an issue on the instance:
|
I hosted two bots (read/write bots) at
botsin.space
which is now closed. Everything worked fine there. I'm looking for a new hosting but I encounter problems with the two first Mastodon instances I tried.One one instance, I can connect but I get no heartbeats. The instance admin does not know why. I also does not receive notifications when I write to the bot.
On the other instance, I get
"('Mastodon API returned error', 404, 'Not Found', 'Endpoint not found.')
when callingstream_healthy()
. I find no way to know the URL which was actually used byMastodon.py
(the instance admin requests that). I do not find a "debug verbose mode". (The instance admin says that streaming is active and running.)Complete source code is at https://framagit.org/bortzmeyer/mastodon-DNS-bot/
I'm aware that this bug report is too vague but I'm willing to send more information, if you have ideas how to get more information. (I am not the admin of the instances and I am not sure they have the time to look into it. I know nothing about Mastodon administration.)
Recommandations for bot hosting are also welcome;
The text was updated successfully, but these errors were encountered: