Greetings. Today the app is not working again. It produces Error code: 504-backend. For some reason this happens about once a month :(
Greetings. Today the app is not working again. It produces Error code: 504-backend. For some reason this happens about once a month :(
What do you see in your web app logs?
2024-12-16 08:23:33 DAMN ! worker 1 (pid: 37) died, killed by signal 9 :( trying respawn ... 2024-12-16 08:23:33 Respawned uWSGI worker 1 (new pid: 40) 2024-12-16 08:23:33 spawned 2 offload threads for uWSGI worker 1 2024-12-16 08:33:35 Mon Dec 16 08:33:34 2024 - *** HARAKIRI ON WORKER 1 (pid: 40, try: 1) *** 2024-12-16 08:33:35 Mon Dec 16 08:33:34 2024 - HARAKIRI !!! worker 1 status !!! 2024-12-16 08:33:35 Mon Dec 16 08:33:34 2024 - HARAKIRI [core 0] 10.0.5.105 - POST /activate_key since 1734337413 2024-12-16 08:33:35 Mon Dec 16 08:33:34 2024 - HARAKIRI !!! end of worker 1 status !!! 2024-12-16 08:33:35 DAMN ! worker 1 (pid: 40) died, killed by signal 9 :( trying respawn ... 2024-12-16 08:33:35 Respawned uWSGI worker 1 (new pid: 43) 2024-12-16 08:33:35 spawned 2 offload threads for uWSGI worker 1 2024-12-16 08:43:37 Mon Dec 16 08:43:36 2024 - *** HARAKIRI ON WORKER 1 (pid: 43, try: 1) *** 2024-12-16 08:43:37 Mon Dec 16 08:43:36 2024 - HARAKIRI !!! worker 1 status !!! 2024-12-16 08:43:37 Mon Dec 16 08:43:36 2024 - HARAKIRI [core 0] 10.0.5.105 - POST /activate_key since 1734338015 2024-12-16 08:43:37 Mon Dec 16 08:43:36 2024 - HARAKIRI !!! end of worker 1 status !!! 2024-12-16 08:43:37 DAMN ! worker 1 (pid: 43) died, killed by signal 9 :( trying respawn ... 2024-12-16 08:43:37 Respawned uWSGI worker 1 (new pid: 46) 2024-12-16 08:43:37 spawned 2 offload threads for uWSGI worker 1 2024-12-16 08:53:39 Mon Dec 16 08:53:38 2024 - *** HARAKIRI ON WORKER 1 (pid: 46, try: 1) *** 2024-12-16 08:53:39 Mon Dec 16 08:53:38 2024 - HARAKIRI !!! worker 1 status !!! 2024-12-16 08:53:39 Mon Dec 16 08:53:38 2024 - HARAKIRI [core 0] 10.0.5.105 - POST /activate_key since 1734338617 2024-12-16 08:53:39 Mon Dec 16 08:53:38 2024 - HARAKIRI !!! end of worker 1 status !!! 2024-12-16 08:53:39 DAMN ! worker 1 (pid: 46) died, killed by signal 9 :( trying respawn ... 2024-12-16 08:53:39 Respawned uWSGI worker 1 (new pid: 49) 2024-12-16 08:53:39 spawned 2 offload threads for uWSGI worker 1 2024-12-16 09:03:41 Mon Dec 16 09:03:40 2024 - *** HARAKIRI ON WORKER 1 (pid: 49, try: 1) *** 2024-12-16 09:03:41 Mon Dec 16 09:03:40 2024 - HARAKIRI !!! worker 1 status !!! 2024-12-16 09:03:41 Mon Dec 16 09:03:40 2024 - HARAKIRI [core 0] 10.0.5.105 - POST /activate_key since 1734339219 2024-12-16 09:03:41 Mon Dec 16 09:03:40 2024 - HARAKIRI !!! end of worker 1 status !!! 2024-12-16 09:03:41 DAMN ! worker 1 (pid: 49) died, killed by signal 9 :( trying respawn ... 2024-12-16 09:03:41 Respawned uWSGI worker 1 (new pid: 52) 2024-12-16 09:03:41 spawned 2 offload threads for uWSGI worker 1 2024-12-16 09:13:43 Mon Dec 16 09:13:42 2024 - *** HARAKIRI ON WORKER 1 (pid: 52, try: 1) *** 2024-12-16 09:13:43 Mon Dec 16 09:13:42 2024 - HARAKIRI !!! worker 1 status !!! 2024-12-16 09:13:43 Mon Dec 16 09:13:42 2024 - HARAKIRI [core 0] 10.0.5.105 - POST /activate_key since 1734339821 2024-12-16 09:13:43 Mon Dec 16 09:13:42 2024 - HARAKIRI !!! end of worker 1 status !!! 2024-12-16 09:13:43 DAMN ! worker 1 (pid: 52) died, killed by signal 9 :( trying respawn ... 2024-12-16 09:13:43 Respawned uWSGI worker 1 (new pid: 55) 2024-12-16 09:13:43 spawned 2 offload threads for uWSGI worker 1 2024-12-16 09:23:45 Mon Dec 16 09:23:44 2024 - *** HARAKIRI ON WORKER 1 (pid: 55, try: 1) *** 2024-12-16 09:23:45 Mon Dec 16 09:23:44 2024 - HARAKIRI !!! worker 1 status !!! 2024-12-16 09:23:45 Mon Dec 16 09:23:44 2024 - HARAKIRI [core 0] 10.0.5.105 - POST /activate_key since 1734340423 2024-12-16 09:23:45 Mon Dec 16 09:23:44 2024 - HARAKIRI !!! end of worker 1 status !!! 2024-12-16 09:23:45 DAMN ! worker 1 (pid: 55) died, killed by signal 9 :( trying respawn ... 2024-12-16 09:23:45 Respawned uWSGI worker 1 (new pid: 58) 2024-12-16 09:23:45 spawned 2 offload threads for uWSGI worker 1 2024-12-16 09:33:47 Mon Dec 16 09:33:46 2024 - *** HARAKIRI ON WORKER 1 (pid: 58, try: 1) *** 2024-12-16 09:33:47 Mon Dec 16 09:33:46 2024 - HARAKIRI !!! worker 1 status !!! 2024-12-16 09:33:47 Mon Dec 16 09:33:46 2024 - HARAKIRI [core 0] 10.0.5.105 - POST /activate_key since 1734341025 2024-12-16 09:33:47 Mon Dec 16 09:33:46 2024 - HARAKIRI !!! end of worker 1 status !!! 2024-12-16 09:33:47 DAMN ! worker 1 (pid: 58) died, killed by signal 9 :( trying respawn ... 2024-12-16 09:33:47 Respawned uWSGI worker 1 (new pid: 61) 2024-12-16 09:33:47 spawned 2 offload threads for uWSGI worker 1
2024-12-16 09:13:43 Mon Dec 16 09:13:42 2024 - *** HARAKIRI ON WORKER 1 (pid: 52, try: 1) *** 2024-12-16 09:13:43 Mon Dec 16 09:13:42 2024 - HARAKIRI !!! worker 1 status !!! 2024-12-16 09:13:43 Mon Dec 16 09:13:42 2024 - HARAKIRI [core 0] 10.0.5.105 - POST /activate_key since 1734339821 2024-12-16 09:13:43 Mon Dec 16 09:13:42 2024 - HARAKIRI !!! end of worker 1 status !!! 2024-12-16 09:13:43 DAMN ! worker 1 (pid: 52) died, killed by signal 9 :( trying respawn ... 2024-12-16 09:13:43 Respawned uWSGI worker 1 (new pid: 55) 2024-12-16 09:13:43 spawned 2 offload threads for uWSGI worker 1 2024-12-16 09:23:45 Mon Dec 16 09:23:44 2024 - *** HARAKIRI ON WORKER 1 (pid: 55, try: 1) *** 2024-12-16 09:23:45 Mon Dec 16 09:23:44 2024 - HARAKIRI !!! worker 1 status !!! 2024-12-16 09:23:45 Mon Dec 16 09:23:44 2024 - HARAKIRI [core 0] 10.0.5.105 - POST /activate_key since 1734340423 2024-12-16 09:23:45 Mon Dec 16 09:23:44 2024 - HARAKIRI !!! end of worker 1 status !!! 2024-12-16 09:23:45 DAMN ! worker 1 (pid: 55) died, killed by signal 9 :( trying respawn ... 2024-12-16 09:23:45 Respawned uWSGI worker 1 (new pid: 58) 2024-12-16 09:23:45 spawned 2 offload threads for uWSGI worker 1 2024-12-16 09:33:47 Mon Dec 16 09:33:46 2024 - *** HARAKIRI ON WORKER 1 (pid: 58, try: 1) *** 2024-12-16 09:33:47 Mon Dec 16 09:33:46 2024 - HARAKIRI !!! worker 1 status !!! 2024-12-16 09:33:47 Mon Dec 16 09:33:46 2024 - HARAKIRI [core 0] 10.0.5.105 - POST /activate_key since 1734341025 2024-12-16 09:33:47 Mon Dec 16 09:33:46 2024 - HARAKIRI !!! end of worker 1 status !!! 2024-12-16 09:33:47 DAMN ! worker 1 (pid: 58) died, killed by signal 9 :( trying respawn ... 2024-12-16 09:33:47 Respawned uWSGI worker 1 (new pid: 61) 2024-12-16 09:33:47 spawned 2 offload threads for uWSGI worker 1 2024-12-16 09:42:41 Mon Dec 16 09:42:41 2024 - received message 0 from emperor 2024-12-16 09:42:41 SIGINT/SIGTERM received...killing workers... 2024-12-16 09:43:15 uwsgi_master_manage_emperor()/read(): Bad file descriptor [core/emperor.c line 2442] 2024-12-16 09:43:15 lost connection with my emperor !!! 2024-12-16 09:43:15 VACUUM: unix socket /var/sockets/ananas.pythonanywhere.com/socket removed.
i am facing the same issue
On September 5th, many people had the same problem. Then they said on the forum that a problem arose during technical work and soon everything was fixed, the problem was with the host. I'm sure everything is fine with the application, it worked perfectly for several months.
It looks like we found the problem and it should work now. Sorry for that.
Thank you, it worked
Great, thanks for confirming!