You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First thank you very much for providing this library. I'm working on a social wall project for Mastodon and bigbone is a huge help.
During a try to implement an end to end test with Mastodon in a container i stumbled across the fallback URL for the streaming API. The fallback was triggered since I tried the LIMITED_FEREDATION_MODE in the Mastodon .env file. After enabling that, the /api/v2/instance endpoint is only accessable after authentication and so the fallback in your MastodonClient is used:
While debugging it became clear, that the constructed URL is missing the seperator between the scheme and the instanceName. E.g. if my container with mastodon is reachable via https as mymastodoninstance it is httpsmymastodoninstance. But it should be https://mymastodoninstance.
I'm not adapted to Kotlin yet so I can't provide a unit test at the moment. But maybe in the future.
Do you need any other information to verify this?
Kind regards
seism0saurus
The text was updated successfully, but these errors were encountered:
@seism0saurus The issue has been fixed. Thank you again for bringing it up.
We’re currently restructuring a bit so I cannot say yet when a new (SNAPSHOT) release will go live which contains the fix. I’ll make sure to mention you so that you get a notification.
Hi,
First thank you very much for providing this library. I'm working on a social wall project for Mastodon and bigbone is a huge help.
During a try to implement an end to end test with Mastodon in a container i stumbled across the fallback URL for the streaming API. The fallback was triggered since I tried the
LIMITED_FEREDATION_MODE
in the Mastodon .env file. After enabling that, the/api/v2/instance
endpoint is only accessable after authentication and so the fallback in your MastodonClient is used:streamingUrl = getStreamingApiUrl(fallbackUrl = scheme + instanceName)
While debugging it became clear, that the constructed URL is missing the seperator between the scheme and the instanceName. E.g. if my container with mastodon is reachable via https as
mymastodoninstance
it ishttpsmymastodoninstance
. But it should behttps://mymastodoninstance
.I'm not adapted to Kotlin yet so I can't provide a unit test at the moment. But maybe in the future.
Do you need any other information to verify this?
Kind regards
seism0saurus
The text was updated successfully, but these errors were encountered: