Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to fix these errors? #1539

Open
computer2s opened this issue Jan 12, 2025 · 3 comments
Open

How to fix these errors? #1539

computer2s opened this issue Jan 12, 2025 · 3 comments

Comments

@computer2s
Copy link

computer2s commented Jan 12, 2025

Could anyone please help with :

How to fix these errors:

" File "/usr/local/lib/python3.11/site-packages/sqlalchemy/util/langhelpers.py", line 146, in __exit__
    raise exc_value.with_traceback(exc_tb)
  File "/usr/local/lib/python3.11/site-packages/sqlalchemy/pool/base.py", line 896, in __connect
    self.dbapi_connection = connection = pool._invoke_creator(self)
                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/create.py", line 643, in connect
    return dialect.connect(*cargs, **cparams)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/default.py", line 621, in connect
    return self.loaded_dbapi.connect(*cargs, **cparams)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/psycopg/connection.py", line 748, in connect
    raise last_ex.with_traceback(None)
sqlalchemy.exc.OperationalError: (psycopg.OperationalError) connection failed: Connection refused
    Is the server running on that host and accepting TCP/IP connections?
(Background on this error at: https://sqlalche.me/e/20/e3q8)
"

when buiding image locally and running it?

Thanks a llot.

@computer2s computer2s changed the title How to fix theese error How to fix these error Jan 12, 2025
@computer2s computer2s changed the title How to fix these error How to fix these errors? Jan 12, 2025
@suchintan
Copy link
Contributor

Could you run docker ps and share the output

@computer2s
Copy link
Author

Here it is:

da950dffcc17 public.ecr.aws/skyvern/skyvern-ui:latest "docker-entrypoint.s…" 29 hours ago Up 26 seconds 0.0.0.0:8080->8080/tcp, 0.0.0.0:9090->9090/tcp h-skyvern-ui-1
2a11456d183e public.ecr.aws/skyvern/skyvern:latest "/bin/bash /app/entr…" 29 hours ago Up 17 seconds (healthy) 0.0.0.0:8000->8000/tcp h-skyvern-1
ddc82c205216 postgres:14-alpine "docker-entrypoint.s…" 29 hours ago Up 26 seconds (healthy) 5432/tcp h-postgres-1

How to fix the errors? Thanks.

@computer2s
Copy link
Author

Here it is:

da950dffcc17 public.ecr.aws/skyvern/skyvern-ui:latest "docker-entrypoint.s…" 29 hours ago Up 26 seconds 0.0.0.0:8080->8080/tcp, 0.0.0.0:9090->9090/tcp h-skyvern-ui-1
2a11456d183e public.ecr.aws/skyvern/skyvern:latest "/bin/bash /app/entr…" 29 hours ago Up 17 seconds (healthy) 0.0.0.0:8000->8000/tcp h-skyvern-1
ddc82c205216 postgres:14-alpine "docker-entrypoint.s…" 29 hours ago Up 26 seconds (healthy) 5432/tcp h-postgres-1

How to fix the errors? Thanks.

Could you run docker ps and share the output

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants