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

Postgresql invalid connection option "check_same_thread" #421

Open
rizquuula opened this issue Aug 21, 2024 · 0 comments
Open

Postgresql invalid connection option "check_same_thread" #421

rizquuula opened this issue Aug 21, 2024 · 0 comments

Comments

@rizquuula
Copy link

I am using this config in plombery.config.yaml

database_url: postgresql://plombery:plombery123@plombery_db:5432/plombery_db

the library returned error

Exception has occurred: ProgrammingError
(psycopg2.ProgrammingError) invalid dsn: invalid connection option "check_same_thread"

(Background on this error at: https://sqlalche.me/e/20/f405)
psycopg2.ProgrammingError: invalid dsn: invalid connection option "check_same_thread"


The above exception was the direct cause of the following exception:

  File "/home/muhamad/Salts/plombery/src/flow/test_1.py", line 3, in <module>
    from plombery import task, Trigger, register_pipeline
  File "/home/muhamad/Salts/plombery/src/app.py", line 1, in <module>
    from flow.test_1 import *
sqlalchemy.exc.ProgrammingError: (psycopg2.ProgrammingError) invalid dsn: invalid connection option "check_same_thread"

(Background on this error at: https://sqlalche.me/e/20/f405)

Happened on v0.4.1, why don't you upgrade it to the latest main branch? There is a fix for this already

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

1 participant