vesoft-inc / nebula-studio

NebulaGraph Web GUI Tools
Apache License 2.0
206 stars 62 forks source link

Error connecting to local docker compose deployed instance #796

Open alexandru-g opened 6 months ago

alexandru-g commented 6 months ago

Describe the bug (must be provided)

Running v3.10.0 Nebula Studio, trying to connect to newly v3.0.1 deployed via docker compose, getting the following error:

Error: Parse Error: Expected HTTP/

Your Environments (must be provided)

How To Reproduce(must be provided)

Steps to reproduce the behavior:

  1. Git clone NebulaGraph docker compose repo (default v3.0.1)
  2. Run the setup for NebulaGraph (confirmed working via ngql)
  3. Run Nebula Studio v3.10.0 and try to connect

Expected behavior

It connects.

Additional context

43:59 PM [vite] http proxy error at /api-nebula/db/connect:
Error: Parse Error: Expected HTTP/
    at Socket.socketOnData (node:_http_client:541:22)
    at Socket.emit (node:events:517:28)
    at addChunk (node:internal/streams/readable:368:12)
    at readableAddChunk (node:internal/streams/readable:341:9)
    at Readable.push (node:internal/streams/readable:278:10)
    at TCP.onStreamRead (node:internal/stream_base_commons:190:23)
alexandru-g commented 6 months ago

Upgraded NebulaGraph to v3.8.0 and getting the same error.