Error 500 if DEBUG option in settings_local.py is set to False (RB 4.0 with docker-compose)

26 views
Skip to first unread message

Line Stettler

unread,
Jan 6, 2022, 10:30:27 AM1/6/22
to Review Board Community
Hi 

I set up Reviewboard 4 with docker using nginx (alpine), memcached (alpine) mysql (8) and reviewboard (4.0) docker container. 

As long as DEBUG option in the settings_local.py config file is set to True, everything works fine. But if I set the DEBUG option to False, I get "Something broke! (Error 500) [ it appears something broke when you tried to go to here. These is either a bug in Review Board or a server configuration error. Please report this to your administrator] 

The log of the reviewboard container looks fine. 
But in the log of the Nginx Container I found the following error logs:

[*1 connect() failed (111: Connection reused) while connecting to upstream], client: 192.168.20.20, server: my. reviewboard.domain, request "GET /dashboard/  HTTP/1.1" upstream: "http://192.168.20.25:8080/dashboard/", host: "my.reviewboard.domain"]

and 

[*3 connect() failed (111 Connection refused) while connecting to upstream, client: 192.168.20.20, server: my. reviewboard.domain, request "GET /favicon.ico HTTP/1.1" upstream: "http://192.168.20.25:8080/favicon.ico/", host: "my.reviewboard.domain" referrer: "https://my.reviewboard.domain/dashboard/"]

Is there a fix or a work around to disable DEBUG output in reviewboard?

Could you help to figure out this problem?

Thanks!

---
Best regards,
Line
Reply all
Reply to author
Forward
0 new messages