enable-mastodon-apps icon indicating copy to clipboard operation
enable-mastodon-apps copied to clipboard

Connection issues with the Mastodon iOS App

Open tomfinitely opened this issue 2 years ago • 22 comments
trafficstars

Mirror of #11 but for Mastodon app.

Per @akirk: Let's use this issue for debugging.

Helpful for debugging would be:

Please use the latest version from this repo.
Take a look at access and error logs of your webserver. Which requests does Ivory make?

tomfinitely avatar Apr 17 '23 18:04 tomfinitely

Mastodon app finds my instance successfully, but on click, I get the following error message in-app:

IMG_2723 2

Access logs:

Screenshot 2023-04-17 at 14-38-06 tomfinley2020 User Portal - WP Engine

These are really curious (weird) because I don't have any of the themes or plugins listed in the logs installed. Nothing appears in my error logs.

tomfinitely avatar Apr 17 '23 18:04 tomfinitely

I think those access logs are unrelated and look more like someone scanning your blog.

Could you check if 0.3.0 makes the app work now? Thank you!

akirk avatar Apr 21 '23 11:04 akirk

I can provide logs if needed, but when I try to log in with the Mastodon iOS app, it will recognize the server, authenticate me, and then leave me on the "Enter URL" screen with no error but also no success.

videogorl avatar Apr 22 '23 07:04 videogorl

@akirk Still no joy. I've attempted to log in to your server late last night (around midnight US East Coast time, ~9 hours ago) to hopefully leave you a breadcrumb trail.

tomfinitely avatar Apr 22 '23 14:04 tomfinitely

@electricbrick Thank you and sorry but if you have time could you do it again? I had disabled the logging, it's now back in place. Thank you very much!

akirk avatar Apr 22 '23 14:04 akirk

@akirk done!

tomfinitely avatar Apr 22 '23 16:04 tomfinitely

I hope the fix for Ivory has also made this one work. Please try 0.3.2.

akirk avatar Apr 24 '23 14:04 akirk

I've only been able to get Ivory to semi-work, Ice Cubes and Mastodon official app continue to log auths in the plugin but will not actually pass OAUTH on the login and add the account to the app.

huckabarry avatar Apr 25 '23 22:04 huckabarry

Running EMA 0.3.2 Mastodon is still returning an error message for me.

image

tomfinitely avatar Apr 25 '23 22:04 tomfinitely

Running EMA 0.3.2 Mastodon is still returning an error message for me.

image

That happened to me when I mistakenly tried "registering" with my own server when I needed to click the login button instead.

huckabarry avatar Apr 26 '23 15:04 huckabarry

Right, please make sure to click "Log In" and not "Pick my own Server" Screenshot 2023-04-26 at 20 56 55

Alas, the login doesn't work yet but at least I can test it so I hope I can get it to work soon!

akirk avatar Apr 26 '23 18:04 akirk

I have released 0.3.3 with some more fixes of the Mastodon iOS app, please test again, I hope it now works better!

akirk avatar Apr 26 '23 21:04 akirk

Hate reporting the bad news @akirk, but Mastodon Official for iOS is still not working for me, as of 0.3.4

tomfinitely avatar Apr 27 '23 04:04 tomfinitely

@electricbrick what happens? Is there an error message? Are you using the Login button for sure and and not "Pick a server"?

akirk avatar Apr 27 '23 05:04 akirk

@electricbrick what happens? Is there an error message? Are you using the Login button for sure and and not "Pick a server"?

It's working for me. It wasn't working at all yesterday, but today it's working better than any other client. I can actually favorite and boost posts and see a timeline.

huckabarry avatar Apr 27 '23 06:04 huckabarry

@akirk apologies, it was late and I was bleary-eyed, missing that instruction above. Login DOES work.

tomfinitely avatar Apr 27 '23 12:04 tomfinitely

Back to not working today. None of the apps. I can post but can't see a timeline again. Ivory keeps crashing.

huckabarry avatar Apr 28 '23 22:04 huckabarry

There must be something off with the JSON format. Could you download the JSON and put it somewhere (privately if you prefer?) accessible? Are you comfortable with the command line? You need to get an access token from the admin page like so

ScreenFlow

and then get the JSON like this (put your token where the 1234 is)

curl -H"Authorization: Bearer 1234" https://yourdomain/api/v1/timelines/home

akirk avatar Apr 29 '23 07:04 akirk

There must be something off with the JSON format. Could you download the JSON and put it somewhere (privately if you prefer?) accessible? Are you comfortable with the command line? You need to get an access token from the admin page like so

ScreenFlow

and then get the JSON like this (put your token where the 1234 is)


curl -H"Authorization: Bearer 1234" https://yourdomain/api/v1/timelines/home

Oh man, I just went down some rabbit holes trying to figure that out. Setting up a user with access on the server and such. Definitely out of my depth. I'll have to look at it more closely tomorrow.

huckabarry avatar May 01 '23 04:05 huckabarry

You don't need that, you can just use the same token as your app.

akirk avatar May 01 '23 06:05 akirk

You don't need that, you can just use the same token as your app.

Oh, I see what you're saying now. Here's the JSON file. I'm user "[email protected]". Let me know if you see anything out of the ordinary.

https://drive.google.com/file/d/1LrtL6RhkgUnxQmzfmtlUHemKwoar9TW4/view?usp=sharing

huckabarry avatar May 02 '23 01:05 huckabarry

I wasn't able to find anything but maybe at the time it was working again? I have added a new debug mode in #23 (0.3.5) which should make it easier to get up to date JSON files in case apps crash or timelines are empty.

@huckabarry is it working for you at the moment or is it broken?

akirk avatar May 04 '23 12:05 akirk