You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Trying to test something in hydra (does the script test-e2e-jwt.sh work when NOT using the memory databse? May need to open separate issue) and get an error when trying to setup the tables:
panic: runtime error: index out of range
goroutine 1 [running]:
github.com/ory/hydra/cmd/cli.getDBUrl(0x160a560, 0x167bf28, 0x0, 0x0, 0x0, 0xc4200f4d00, 0xc420223c78)
/home/workspace/src/github.com/ory/hydra/cmd/cli/handler_migrate.go:100 +0x39a
github.com/ory/hydra/cmd/cli.(*MigrateHandler).MigrateSQL(0xc42000e720, 0x160a560, 0x167bf28, 0x0, 0x0)
/home/workspace/src/github.com/ory/hydra/cmd/cli/handler_migrate.go:149 +0x62
github.com/ory/hydra/cmd/cli.(*MigrateHandler).MigrateSQL-fm(0x160a560, 0x167bf28, 0x0, 0x0)
/home/workspace/src/github.com/ory/hydra/cmd/migrate_sql.go:43 +0x52
...
You forgot -e in DATABASEURL="postgres://hydra:secret@localhost:5432/hydra?sslmode=disable" $GOPATH/bin/hydra migrate sql, it should be DATABASEURL="postgres://hydra:secret@localhost:5432/hydra?sslmode=disable" $GOPATH/bin/hydra migrate sql -e but obviously not panic.
Describe the bug
Trying to test something in hydra (does the script test-e2e-jwt.sh work when NOT using the memory databse? May need to open separate issue) and get an error when trying to setup the tables:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
No panics - tables created
Version:
The text was updated successfully, but these errors were encountered: