Closed notkudu closed 1 year ago
Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.
Try not putting it behind gluetun, that's probably what's making this trip up.
Try not putting it behind gluetun, that's probably what's making this trip up.
I am trying that rn
@j0nnymoe you are right, it did work, thanks :)
Is there an existing issue for this?
Current Behavior
the interface on 3000 does work but it fails the installation and the other interface on 443 does not work
Expected Behavior
the installer should have finished with no errors. but instead was getting this: `kasm_api Pulled 2023-10-28 22:40:28,902 [INFO] root: Performing Database Connectivity Test 2023-10-28 22:40:28,927 [INFO] root: Initializing Postgres Database Traceback (most recent call last): File "sqlalchemy/engine/base.py", line 2262, in _wrap_pool_connect File "sqlalchemy/pool/base.py", line 363, in connect File "sqlalchemy/pool/base.py", line 760, in _checkout File "sqlalchemy/pool/base.py", line 492, in checkout File "sqlalchemy/pool/impl.py", line 139, in _do_get File "sqlalchemy/util/langhelpers.py", line 68, in exit File "sqlalchemy/util/compat.py", line 129, in reraise File "sqlalchemy/pool/impl.py", line 136, in _do_get File "sqlalchemy/pool/base.py", line 308, in _create_connection File "sqlalchemy/pool/base.py", line 437, in init File "sqlalchemy/pool/base.py", line 639, in connect File "sqlalchemy/engine/strategies.py", line 114, in connect File "sqlalchemy/engine/default.py", line 453, in connect File "psycopg2/init__.py", line 126, in connect psycopg2.OperationalError: could not connect to server: Connection timed out Is the server running on host "db" (172.21.0.2) and accepting TCP/IP connections on port 5432?
The above exception was the direct cause of the following exception:
Traceback (most recent call last): File "server.py", line 220, in
File "initialize_postgres_db.py", line 24, in init
File "data/data_access_factory.py", line 17, in createSession
File "data/access_postgres.py", line 70, in init
File "sqlalchemy/dialects/postgresql/base.py", line 2547, in has_table
File "sqlalchemy/engine/base.py", line 2165, in execute
File "sqlalchemy/engine/base.py", line 2226, in _contextual_connect
File "sqlalchemy/engine/base.py", line 2265, in _wrap_pool_connect
File "sqlalchemy/engine/base.py", line 1536, in _handle_dbapi_exception_noconnection
File "sqlalchemy/util/compat.py", line 383, in raise_from_cause
File "sqlalchemy/util/compat.py", line 128, in reraise
File "sqlalchemy/engine/base.py", line 2262, in _wrap_pool_connect
File "sqlalchemy/pool/base.py", line 363, in connect
File "sqlalchemy/pool/base.py", line 760, in _checkout
File "sqlalchemy/pool/base.py", line 492, in checkout
File "sqlalchemy/pool/impl.py", line 139, in _do_get
File "sqlalchemy/util/langhelpers.py", line 68, in exit
File "sqlalchemy/util/compat.py", line 129, in reraise
File "sqlalchemy/pool/impl.py", line 136, in _do_get
File "sqlalchemy/pool/base.py", line 308, in _create_connection
File "sqlalchemy/pool/base.py", line 437, in init
File "sqlalchemy/pool/base.py", line 639, in connect
File "sqlalchemy/engine/strategies.py", line 114, in connect
File "sqlalchemy/engine/default.py", line 453, in connect
File "psycopg2/init__.py", line 126, in connect
sqlalchemy.exc.OperationalError: (psycopg2.OperationalError) could not connect to server: Connection timed out
Is the server running on host "db" (172.21.0.2) and accepting
TCP/IP connections on port 5432?
(Background on this error at: http://sqlalche.me/e/e3q8) [1] Failed to execute script 'server' due to unhandled exception!`
Steps To Reproduce
Environment
CPU architecture
x86-64
Docker creation
Container logs