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

Mammut fails to detect that the instance is working #19

Open
annando opened this issue May 13, 2021 · 1 comment
Open

Mammut fails to detect that the instance is working #19

annando opened this issue May 13, 2021 · 1 comment

Comments

@annando
Copy link

annando commented May 13, 2021

I'm currently implementing the Mastodon API at Friendica. At the moment I'm testing several apps. Mammut fails to register at my server. When entering the URL it answers with "it looks like this instance doesn't exist".

In the protocols I see that there is an request to /api/v1/instance which is answered with code 200 from the server side - so the connection is successful.

From the code it look like the message is generated here: https://github.com/jamiesanson/Mammut/blob/main/app/src/main/java/io/github/koss/mammut/feature/joininstance/JoinInstanceViewModel.kt#L63

I guess that Mammut is fetching the instance data and is looking for something that Friendica doesn't provide or does provide differently. What can I do from my side to convince Mammut that my instance is running?

@annando
Copy link
Author

annando commented May 14, 2021

Update: There had been a malformated entry in /api/v1/instance that seemed to provoke the problem. This is fixed. But still the registration process does not work. When requesting the token the program is taking an outdated client id and client secret from a previous registration attempt.

According to my logs, Mammut is using the newly created client id to authorize the request, but then uses some old client id to fetch the token - which does fail.

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