Forums

Server issue

server issue, sites are down: "Something went wrong" Is this the AWS file server issue?

It was an issue on the server that was running your web apps. We have fixed it now and your sites are up and running again.

I have the same problem since this morning. When will it be resolved? Thank you

You do not have the same problem. Describe your issue and we'll try to help.

From this morning "something went wrong" 502-backend. Until 9:30 it is work fine then no... Nothing modify and not error inside log

Something went wrong :-( Something went wrong while trying to load this site; please try again later.

Debugging tips If this is your site, and you just reloaded it, then the problem might simply be that it hasn't loaded up yet. Try refreshing this page and see if this message disappears.

If you keep getting this message, you should check your site's server and error logs for any messages.

Error code: 502-backend

In error log ... 2024-03-17 16:36:16,939: NumExpr defaulting to 4 threads. 2024-03-17 16:37:42,688: NumExpr defaulting to 4 threads. 2024-03-17 16:37:50,171: NumExpr defaulting to 4 threads. 2024-03-17 16:37:52,703: NumExpr defaulting to 4 threads. 2024-03-17 16:58:55,581: NumExpr defaulting to 4 threads. 2024-03-17 16:58:58,431: NumExpr defaulting to 4 threads. 2024-03-17 17:15:50,385: NumExpr defaulting to 4 threads. 2024-03-17 17:52:07,487: NumExpr defaulting to 4 threads. 2024-03-17 17:52:09,938: NumExpr defaulting to 4 threads. 2024-03-17 17:52:12,899: NumExpr defaulting to 4 threads. 2024-03-17 17:54:39,689: NumExpr defaulting to 4 threads. 2024-03-17 17:54:42,459: NumExpr defaulting to 4 threads. 2024-03-17 17:54:50,772: NumExpr defaulting to 4 threads. 2024-03-17 17:54:53,451: NumExpr defaulting to 4 threads.

502 Is started from 09:53:10

78.209.172.217 - - [17/Mar/2024:09:52:53 +0000] "POST /map/server/1 HTTP/1.1" 200 65 "-" "UnityPlayer/2021.3.23f1 (UnityWebRequest/1.0, libcurl/7.84.0-DEV)" "78.209.172.217" response-time=0.049 78.209.172.217 - - [17/Mar/2024:09:52:54 +0000] "POST /map/server/1 HTTP/1.1" 200 65 "-" "UnityPlayer/2021.3.23f1 (UnityWebRequest/1.0, libcurl/7.84.0-DEV)" "78.209.172.217" response-time=0.133 78.209.172.217 - - [17/Mar/2024:09:52:55 +0000] "POST /map/server/1 HTTP/1.1" 200 65 "-" "UnityPlayer/2021.3.23f1 (UnityWebRequest/1.0, libcurl/7.84.0-DEV)" "78.209.172.217" response-time=0.048 78.209.172.217 - - [17/Mar/2024:09:52:56 +0000] "POST /map/server/1 HTTP/1.1" 200 65 "-" "UnityPlayer/2021.3.23f1 (UnityWebRequest/1.0, libcurl/7.84.0-DEV)" "78.209.172.217" response-time=0.097 78.209.172.217 - - [17/Mar/2024:09:53:10 +0000] "GET /map/time/1 HTTP/1.1" 502 1661 "-" "UnityPlayer/2021.3.23f1 (UnityWebRequest/1.0, libcurl/7.84.0-DEV)" "78.209.172.217" response-time=2.506 78.209.172.217 - - [17/Mar/2024:09:53:10 +0000] "POST /map/server/1 HTTP/1.1" 502 1661 "-" "UnityPlayer/2021.3.23f1 (UnityWebRequest/1.0, libcurl/7.84.0-DEV)" "78.209.172.217" response-time=2.361

There are a number of things that can cause 502s, so we have a help page to help you to identify what the issue may be: https://help.pythonanywhere.com/pages/502BadGateway/

I think my Issue is caused from Redis

redis_connection = Redis('/tmp/redis.db')

is changed something? I removed redis now and and it is worked. I have to change something for using redis or I cannot use it? :) Probably now I worked for removing it in my code.

Thanks

Look for any log lines related to redis in your error and server logs - perhaps you can see what is happening when you try to access it.