503 Errror on Production, OAuth2 callback not working
-
Hello,
I am a junior dev (very little experience with this stuff) trying to figure out what's happening with our NodeBB forum. It has been successfully running in a Docker container hosted on an AWS ECR since Sept 2022. It uses a custom OAuth2 configuration in our Spring Boot application, and the "nodebb-plugin-sso-oauth" plugin to connect. On Friday, Jan 12th 2024 it suddenly stopped working. On production it's returning a 503 Error and on staging the forum loads but returns the message "You seem to have stumbled upon a page that does not exist. Return to the home page." It seems like the callback URL is not working on either as they are both stuck at https://[website].com/auth/communityapp/callback.
Does anyone have any ideas what might be happening? I'm willing to provide any information you need, just let me know what might be helpful. Thank you! -
@CassC You'll have to try to see the output of the production machine. NodeBB outputs its logging to the console, which in Docker might be exposed somewhere... that's your best bet of seeing what the problem is.
As for the error in staging, that's a 404 error, so it sounds like the plugin either isn't install or configured correctly.
-
@julian said in 503 Errror on Production, OAuth2 callback not working:
which in Docker might be exposed somewhere...
docker logs
Logs and metrics
Learn how to write to, view, and configure a container's logs
Docker Documentation (docs.docker.com)