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

Error when using Ivory, Elk, Pinafore to connect

Open jasontucker opened this issue 2 years ago • 8 comments

Greetings,

I'm attempting to use Ivory, Elk and Pinafore to connect to my website wpwatercooler.com I have ActivityPub, Friends and this plugin installed and when I attempt to connect to wpwatercooler.com as an instance I get "contacting server" "client error please try again" in Ivory and Elk and Pinafore "login" but nothing works and I start getting app specific errors. Elk - "ERROR: TypeError: Failed to fetch". Pinafore - "Internet request failed. Showing offline content"

How should I start by debugging this?

The username for the account is wpwatercooler that I'm logging into on wpwatercooler.com

jasontucker avatar Apr 13 '23 22:04 jasontucker

Unfortunately I don't have Ivory available for a lack of an iOS device. Could you check your server's access logs to see which URLs it accesses? Maybe it requires one of the endpoints that are not yet implemented, likely the URLs start with api/

akirk avatar Apr 13 '23 23:04 akirk

I am able to connect fine with Pinafore, what's the error message there?

akirk avatar Apr 13 '23 23:04 akirk

Elk works too for me but be aware that it first redirects you to the local feeds which is an endpoint I haven't implemented yet (since there are no others on your own server... but it should display your own toots after all).

akirk avatar Apr 13 '23 23:04 akirk

Oh wow, now it's even worse, when I try to login to wpwatercooler.com on Elk it just redirects to an oauth

https://wpwatercooler.com/oauth/authorize?client_id=rx35qgxxxxxxxxxq&force_login=false&scope=read+write+follow+push&response_type=code&lang=en-US&redirect_uri=https://elk.zone/api/wpwatercooler.com/oauth/https%253A%252F%252Felk.zone

You can see it here: https://share.cleanshot.com/SpgjC9vr

jasontucker avatar Apr 13 '23 23:04 jasontucker

I am able to connect fine with Pinafore, what's the error message there?

It went from working to not working, seems like Activity Pub just doesnt work reliabily on my SpinupWP (Digital Ocean) with Cloudflare in front of it.

https://share.cleanshot.com/4RCNmLJT

jasontucker avatar Apr 13 '23 23:04 jasontucker

Hm, maybe there is also some caching involved? It'd be interesting to see if any requests make it to the server at all. There is an option to turn off login in settings, though, could you have turned it off accidentally?

akirk avatar Apr 13 '23 23:04 akirk

I've created a dedicated issue for Ivory: https://github.com/akirk/enable-mastodon-apps/issues/11.

akirk avatar Apr 17 '23 06:04 akirk

@jasontucker Could you try the new version again?

akirk avatar Apr 21 '23 11:04 akirk