This log is shown when the env variable STATIC_VIRTUAL_HOST is invalid and doesn't contain the destination part after ->
Instead of this stack trace: Proper message with the invalid env variable value should be shown with the value that makes it inavalid
2026-01-23T04:56:43.584234542Z Valid configuration Id:fad33ab85979 nginx-sleeper-1
2026-01-23T04:56:43.584245893Z - https://xyz.com:80/
2026-01-23T04:56:43.584274767Z Unexpected error :TypeError -> can only concatenate str (not "NoneType") to str
2026-01-23T04:56:43.584535238Z Traceback (most recent call last):
2026-01-23T04:56:43.584777996Z File "/app/main.py", line 69, in eventLoop
2026-01-23T04:56:43.584783667Z process_container_event(event["Action"], event)
2026-01-23T04:56:43.584786342Z File "/app/main.py", line 85, in process_container_event
2026-01-23T04:56:43.584789427Z server.update_container(event["id"])
2026-01-23T04:56:43.584792032Z File "/app/nginx_proxy/WebServer.py", line 199, in update_container
2026-01-23T04:56:43.584794898Z if self._register_container(self.client.containers.get(container_id)):
2026-01-23T04:56:43.584797382Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2026-01-23T04:56:43.584800328Z File "/app/nginx_proxy/WebServer.py", line 112, in _register_container
2026-01-23T04:56:43.584802823Z hosts.print()
2026-01-23T04:56:43.584808233Z File "/app/nginx_proxy/ProxyConfigData.py", line 94, in print
2026-01-23T04:56:43.584810918Z print(" -> ", (container.scheme) + "://"+container.address + (":"+ str(container.port) if container.port else '' )+container.path)
2026-01-23T04:56:43.584813733Z ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
2026-01-23T04:56:43.584816669Z TypeError: can only concatenate str (not "NoneType") to str
This log is shown when the env variable STATIC_VIRTUAL_HOST is invalid and doesn't contain the destination part after ->
Instead of this stack trace: Proper message with the invalid env variable value should be shown with the value that makes it inavalid