edgedb-ui icon indicating copy to clipboard operation
edgedb-ui copied to clipboard

Can't login ui, Login failed: username or password may be incorrect

Open kylinda opened this issue 10 months ago • 3 comments

Hi,

The url is "http://10.11.11.11:5656/ui/_login", I tried create a instance, and update admin's password. but did not work.

version: 6.2

run cmd: podman run
--name gel
-e GEL_SERVER_HOST=10.11.11.11
-e GEL_SERVER_SECURITY=insecure_dev_mode
-e GEL_SERVER_TLS_CERT_MODE=generate_self_signed
-e GEL_SERVER_ADMIN_UI=enabled
-e GEL_SERVER_PASSWORD=123456
-v /media/data/gel-06:/var/lib/gel/data
-p 5656:5656
-d geldata/gel

ui message: Image

Please help, thanks.

kylinda avatar Mar 11 '25 16:03 kylinda

edgedb:
    image: edgedb/edgedb:latest
    container_name: edgedb
    restart: always
    environment:
      #- GEL_SERVER_SECURITY=insecure_dev_mode
      - GEL_SERVER_ADMIN_UI=enabled
      - GEL_SERVER_BIND_ADDRESS=0.0.0.0
      - GEL_SERVER_USER=edgedb
      - GEL_SERVER_PASSWORD=edgedb
      - GEL_SERVER_TLS_CERT_MODE=generate_self_signed
    volumes:
      - ./config/edgedb:/var/lib/edgedb/data
      - ./dbschema:/dbschema
    ports:
      - 5656:5656

Same issue here, can't for the life of me figure out how to login and access my data. I would expect to be able to get into the Web UI via the env vars, but that's not the case. I even ran ALTER ROLE edgedb SET password := "password"; as suggested here for both edgedb and admin users, and still can't get in with either.

NelsonDane avatar Mar 12 '25 04:03 NelsonDane

I got it @kylinda. Have to use https in the url, not http. Very annoying, wish the UI showed something about that instead of saying user/password was incorrect.

NelsonDane avatar Mar 13 '25 02:03 NelsonDane

@NelsonDane It's working for me. Thank you, you've really done me a great favor.

kylinda avatar Mar 14 '25 23:03 kylinda