surrealdb / surrealist

Surrealist is the ultimate way to visually manage your SurrealDB database
https://surrealist.app/
MIT License
1.06k stars 79 forks source link

Surrealist Windows version crashes after connection is created #195

Open JohnKinyanjui opened 4 months ago

JohnKinyanjui commented 4 months ago

Describe the bug Surrealist windows crashes after creating a new connection and using designer note this was done on a fleshly installed surrealist with no data saved.

To Reproduce Steps to reproduce the behavior:

  1. Create a new connection
  2. Try any feature in surrealist also make sure the surrealist is freshly installed.

Expected behavior The Windows app crashes

Environment:

![Screenshot 2024-04-23 185022](https://github.com/surrealdb/surrealist/assets/52638680/8ee8e3b3-528e-4b6f-a0d5-2e7e89024a66)

surreal 1.4.2

Screenshot 2024-04-23 185022

TimMensch commented 3 months ago

Funny, I just repro'ed this one.

I tried to connect to a brand new localhost database running from the latest Docker SurrealDB, set with --auth and a root user and password.

Docker compose file looks like:

services:
  surrealdb:
    env_file:
      - path: ./.env
    entrypoint:
      - /surreal
      - start
      - --auth
      - -l
      - debug
    image: surrealdb/surrealdb:latest
    ports:
      - 8000:8000

And the .env has:

SURREAL_USER=citeserver
SURREAL_PASS=*******

I tried the Windows app because the web app keeps failing to log in. The CLI works with the credentials from the .env file though.

macjuul commented 3 months ago

@TimMensch did you also encounter this while using the Designer view, or directly after connecting? And was this a fresh installation of Surrealist?

This issue appears to affect very few users making it difficult to debug, so any information you can provide will help!

TimMensch commented 3 months ago

Pretty much immediately after connecting. It just crashed out before I could do anything. It didn't work in Firefox, which is why I tried the app. Finally got it working in Chrome.