Pixeldroid not logging in
-
Hi everyone,
Well, I never did get Pixeldroid to login before, thought I'd try again, and since there are Cloudron-specific details in the log, I thought I'd start here first. Any ideas what's not wrong? It seems to not be finding a username. Is this a case where Pixelfed needs something installed on the root domain, while it itself is installed on a subdomain? FWIW, I can log in directly ina web browser:Mar 23 13:57:10 172.18.0.1 - - [23/Mar/2022:12:57:10 +0000] "GET / HTTP/1.1" 200 2841 "-" "Mozilla (CloudronHealth)" Mar 23 13:57:12 172.18.0.1 - - [23/Mar/2022:12:57:11 +0000] "GET /api/v1/markers?timeline%5B%5D=notifications HTTP/1.1" 404 4866 "-" "Tusky/16.0 Android/12 OkHttp/4.9.3" Mar 23 13:57:12 172.18.0.1 - - [23/Mar/2022:12:57:12 +0000] "GET /api/v1/notifications?since_id=0 HTTP/1.1" 302 619 "-" "Tusky/16.0 Android/12 OkHttp/4.9.3" Mar 23 13:57:12 172.18.0.1 - - [23/Mar/2022:12:57:12 +0000] "GET /login HTTP/1.1" 200 3407 "-" "Tusky/16.0 Android/12 OkHttp/4.9.3" Mar 23 13:57:20 172.18.0.1 - - [23/Mar/2022:12:57:20 +0000] "GET / HTTP/1.1" 200 2841 "-" "Mozilla (CloudronHealth)" Mar 23 13:57:20 172.18.0.1 - - [23/Mar/2022:12:57:20 +0000] "GET /.well-known/nodeinfo HTTP/1.1" 200 348 "-" "okhttp/4.9.1" Mar 23 13:57:20 172.18.0.1 - - [23/Mar/2022:12:57:20 +0000] "POST /api/v1/apps HTTP/1.1" 200 416 "-" "okhttp/4.9.1" Mar 23 13:57:20 172.18.0.1 - - [23/Mar/2022:12:57:20 +0000] "GET /api/nodeinfo/2.0.json HTTP/1.1" 200 1714 "-" "okhttp/4.9.1" Mar 23 13:57:21 172.18.0.1 - - [23/Mar/2022:12:57:21 +0000] "GET /oauth/authorize?client_id=24&redirect_uri=oauth2redirect://org.pixeldroid.app&response_type=code&scope=read%20write%20follow HTTP/1.1" 200 3133 "-" "Mozilla/5.0 (Linux; Android 12; Pixel 5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.73 Mobile Safari/537.36" Mar 23 13:57:22 172.18.0.1 - - [23/Mar/2022:12:57:22 +0000] "POST /oauth/authorize HTTP/1.1" 302 1967 "https://scookeoni.com/oauth/authorize?client_id=24&redirect_uri=oauth2redirect://org.pixeldroid.app&response_type=code&scope=read%20write%20follow" "Mozilla/5.0 (Linux; Android 12; Pixel 5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.73 Mobile Safari/537.36" Mar 23 13:57:23 172.18.0.1 - - [23/Mar/2022:12:57:22 +0000] "POST /oauth/token HTTP/1.1" 200 2125 "-" "okhttp/4.9.1" Mar 23 13:57:23 [2022-03-23 12:57:23] production.ERROR: Undefined variable: id {"userId":1,"exception":"[object] (ErrorException(code: 0): Undefined variable: id at /app/code/app/Http/Controllers/Api/ApiV1Controller.php:144) Mar 23 13:57:23 [stacktrace] Mar 23 13:57:23 #0 /app/code/app/Http/Controllers/Api/ApiV1Controller.php(144): Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleError() Mar 23 13:57:23 #1 /app/code/vendor/laravel/framework/src/Illuminate/Routing/Controller.php(54): App\\Http\\Controllers\\Api\\ApiV1Controller->verifyCredentials() Mar 23 13:57:23 #2 /app/code/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(45): Illuminate\\Routing\\Controller->callAction() Mar 23 13:57:23 #3 /app/code/vendor/laravel/framework/src/Illuminate/Routing/Route.php(262): Illuminate\\Routing\\ControllerDispatcher->dispatch() Mar 23 13:57:23 #4 /app/code/vendor/laravel/framework/src/Illuminate/Routing/Route.php(205): Illuminate\\Routing\\Route->runController() Mar 23 13:57:23 #5 /app/code/vendor/laravel/framework/src/Illuminate/Routing/Router.php(695): Illuminate\\Routing\\Route->run() Mar 23 13:57:23 #6 /app/code/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(128): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}() Mar 23 13:57:23 #7 /app/code/app/Http/Middleware/EmailVerificationCheck.php(35): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() Mar 23 13:57:23 #8 /app/code/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): App\\Http\\Middleware\\EmailVerificationCheck->handle() Mar 23 13:57:23 #9 /app/code/vendor/fruitcake/laravel-cors/src/HandleCors.php(38): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() Mar 23 13:57:23 #10 /app/code/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Fruitcake\\Cors\\HandleCors->handle() Mar 23 13:57:23 #11 /app/code/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() Mar 23 13:57:23 #12 /app/code/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle() Mar 23 13:57:23 #13 /app/code/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(44): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() Mar 23 13:57:23 #14 /app/code/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Auth\\Middleware\\Authenticate->handle() Mar 23 13:57:23 #15 /app/code/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() Mar 23 13:57:23 #16 /app/code/vendor/laravel/framework/src/Illuminate/Routing/Router.php(697): Illuminate\\Pipeline\\Pipeline->then() Mar 23 13:57:23 #17 /app/code/vendor/laravel/framework/src/Illuminate/Routing/Router.php(672): Illuminate\\Routing\\Router->runRouteWithinStack() Mar 23 13:57:23 #18 /app/code/vendor/laravel/framework/src/Illuminate/Routing/Router.php(636): Illuminate\\Routing\\Router->runRoute() Mar 23 13:57:23 #19 /app/code/vendor/laravel/framework/src/Illuminate/Routing/Router.php(625): Illuminate\\Routing\\Router->dispatchToRoute() Mar 23 13:57:23 #20 /app/code/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(167): Illuminate\\Routing\\Router->dispatch() Mar 23 13:57:23 #21 /app/code/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(128): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}() Mar 23 13:57:23 #22 /app/code/vendor/fideloper/proxy/src/TrustProxies.php(57): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() Mar 23 13:57:23 #23 /app/code/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Fideloper\\Proxy\\TrustProxies->handle() Mar 23 13:57:23 #24 /app/code/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() Mar 23 13:57:23 #25 /app/code/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle() Mar 23 13:57:23 #26 /app/code/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle() Mar 23 13:57:23 #27 /app/code/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() Mar 23 13:57:23 #28 /app/code/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(40): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle() Mar 23 13:57:23 #29 /app/code/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle() Mar 23 13:57:23 #30 /app/code/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() Mar 23 13:57:23 #31 /app/code/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize->handle() Mar 23 13:57:23 #32 /app/code/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(86): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() Mar 23 13:57:23 #33 /app/code/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle() Mar 23 13:57:23 #34 /app/code/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() Mar 23 13:57:23 #35 /app/code/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(142): Illuminate\\Pipeline\\Pipeline->then() Mar 23 13:57:23 #36 /app/code/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(111): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter() Mar 23 13:57:23 #37 /app/code/public/index.php(57): Illuminate\\Foundation\\Http\\Kernel->handle() Mar 23 13:57:23 #38 {main} Mar 23 13:57:23 "} Mar 23 13:57:23 172.18.0.1 - - [23/Mar/2022:12:57:23 +0000] "GET /api/v1/accounts/verify_credentials HTTP/1.1" 500 12131 "-" "okhttp/4.9.1" Mar 23 13:57:23 172.18.0.1 - - [23/Mar/2022:12:57:23 +0000] "GET /sw.js HTTP/1.1" 200 755 "https://scookeoni.com/sw.js" "Mozilla/5.0 (Linux; Android 12; Pixel 5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.73 Mobile Safari/537.36" Mar 23 13:57:30 172.18.0.1 - - [23/Mar/2022:12:57:30 +0000] "GET / HTTP/1.1" 200 2842 "-" "Mozilla (CloudronHealth)"
-
In the new version of Pixelfed, you can log in to all applications. I think it was written by a developer on Mastodon. So hopefully after the update to Cloudron it will all work. They are also preparing an official Pixelfed app, but I don't know if it will be just for the pixelfed.social instance.
-
PixelDroid
https://pixeldroid.org/PixelDroid | F-Droid - Free and Open Source Android App Repository
https://f-droid.org/en/packages/org.pixeldroid.app/ -
@RoundHouse1924 Just tried it from F-Droid, and it still won't connect to my self-hosted Pixelfed. Oh well. It actually does open the Authorize page on my instance, but fails. I even clicked the "Logout" button within this authorize page, and relogged back into my instance, but it STILL fails on "Connect to PixelFed."
"Could not get user information"
-
@scooke
A couple of issues mentioning 2FA, OAuth and server-side problems:-Could not get user information / Could not authenticate (#294) · Issues · PixelDroid / PixelDroid · GitLab
https://gitlab.shinice.net/pixeldroid/PixelDroid/-/issues/294Could not get user information / Could not authenticate since 2021-12-15 (#311) · Issues · PixelDroid / PixelDroid · GitLab
https://gitlab.shinice.net/pixeldroid/PixelDroid/-/issues/311 -
@RoundHouse1924 Nope, those issues don't apply to my use-case since I don't have 2FA turned on.
-
-
-
-
@archos said in Pixeldroid not logging in:
@scooke Hi, after the last Pixelfed update, everything is fine now. My login is working now. Even uploading pictures is working.
Nice, maybe it's time to have a play with Pixelfed and Pixeldroid!
-
@jdaviescoates No problem so far. Even notifications work.