runtime error
Exit code: 1. Reason: .urlopen( File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 847, in urlopen retries = retries.increment( File "/usr/local/lib/python3.9/site-packages/urllib3/util/retry.py", line 515, in increment raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type] urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='34.122.223.224', port=9002): Max retries exceeded with url: /api/total_number_of_products/ (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f5bf92fca60>: Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/user/app/src/app2.py", line 83, in <module> total_no_of_products = gr.Textbox(value=str(get_total_number_of_products()),label="Total Products") File "/home/user/app/src/app2.py", line 17, in get_total_number_of_products response = requests.get(f'{SEVER_IP}/api/total_number_of_products/') File "/usr/local/lib/python3.9/site-packages/requests/api.py", line 73, in get return request("get", url, params=params, **kwargs) File "/usr/local/lib/python3.9/site-packages/requests/api.py", line 59, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.9/site-packages/requests/sessions.py", line 589, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.9/site-packages/requests/sessions.py", line 703, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.9/site-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='34.122.223.224', port=9002): Max retries exceeded with url: /api/total_number_of_products/ (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f5bf92fca60>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Container logs:
Fetching error logs...