pixelfed / mobile-app

Placeholder app repo for issues
https://github.com/pixelfed/pixelfed-rn
92 stars 3 forks source link

Won't connect to unlisted (personal) server #82

Closed justindthomas closed 1 year ago

justindthomas commented 1 year ago

I have Pixelfed at https://pixels.jdt.io just for myself and those close to me. Even with the currently published code deployed (11.4 from the dev branch as of today), the Android app will not connect. It just spins.

justindthomas commented 1 year ago

I dug a bit on my reverse proxy servers, and see this when I try to open the login page for my server from the app:

pixels.jdt.io:443 10.10.128.34 - - [08/Jan/2023:00:17:36 +0000] "POST /api/v1/apps HTTP/1.1" 404 2379 "-" "okhttp/4.9.2"

That url (/api/v1/apps) does make its way to the server and generates a 405 when accessed using a GET method. Is there a configuration setting I need to flip to enable communication with the mobile apps?

justindthomas commented 1 year ago

:facepalm: I had oauth disabled in the config. I fixed that and redeployed and all seems to be good. Sorry for the noise!