-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed as not planned
Description
Hi,
New user here and I hope this is user error.
I tried setting up skyvern locally, but am unable to do so, because no org or skyvern API key gets created. I tried both docker-compose and running the setup.sh/runSkyvern.sh on my mac.
The issue seems to be in the script that generates the org:
poetry run python scripts/create_organization.py test-org
│ ╭───────────────────────────────── locals ─────────────────────────────────╮ │
│ │ attempt = { │ │
│ │ │ 'host': 'localhost', │ │
│ │ │ 'dbname': 'skyvern', │ │
│ │ │ 'user': 'skyvern', │ │
│ │ │ 'options': '-c statement_timeout=60000', │ │
│ │ │ 'hostaddr': '127.0.0.1' │ │
│ │ } │ │
│ │ attempts = [ │ │
│ │ │ { │ │
│ │ │ │ 'host': 'localhost', │ │
│ │ │ │ 'dbname': 'skyvern', │ │
│ │ │ │ 'user': 'skyvern', │ │
│ │ │ │ 'options': '-c statement_timeout=60000', │ │
│ │ │ │ 'hostaddr': '::1' │ │
│ │ │ }, │ │
│ │ │ { │ │
│ │ │ │ 'host': 'localhost', │ │
│ │ │ │ 'dbname': 'skyvern', │ │
│ │ │ │ 'user': 'skyvern', │ │
│ │ │ │ 'options': '-c statement_timeout=60000', │ │
│ │ │ │ 'hostaddr': '127.0.0.1' │ │
│ │ │ } │ │
│ │ ] │ │
│ │ autocommit = False │ │
│ │ conninfo = "host=localhost dbname=skyvern user=skyvern │ │
│ │ options='-c statement_timeout=60000' "+18 │ │
│ │ context = <psycopg.adapt.AdaptersMap object at 0x108ffcc10> │ │
│ │ cursor_factory = None │ │
│ │ kwargs = { │ │
│ │ │ 'host': 'localhost', │ │
│ │ │ 'dbname': 'skyvern', │ │
│ │ │ 'user': 'skyvern', │ │
│ │ │ 'options': '-c statement_timeout=60000' │ │
│ │ } │ │
│ │ last_ex = OperationalError('connection failed: fe_sendauth: no │ │
│ │ password supplied') │ │
│ │ params = { │ │
│ │ │ 'host': 'localhost', │ │
│ │ │ 'dbname': 'skyvern', │ │
│ │ │ 'user': 'skyvern', │ │
│ │ │ 'options': '-c statement_timeout=60000' │ │
│ │ } │ │
│ │ prepare_threshold = 5 │ │
│ │ row_factory = None │ │
│ │ rv = None │ │
│ │ timeout = 130 │ │
│ ╰──────────────────────────────────────────────────────────────────────────╯ │
╰──────────────────────────────────────────────────────────────────────────────╯
OperationalError: (psycopg.OperationalError) connection failed: fe_sendauth: no
password supplied
The database is running in a docker container and I can connect locally on port 5432 using pgadmin with the credentials skyvern/skyvern.
I do see that the credentials are defined here:
Line 28 in 4103b75
| DATABASE_STRING: str = "postgresql+psycopg://skyvern@localhost/skyvern" |
Any pointers are appreciated.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels