Giter VIP home page Giter VIP logo

Comments (11)

Roms1383 avatar Roms1383 commented on June 3, 2024 1

Ok I'm trying it now and got it to work with both localhost and 127.0.0.1! @macjuul
As far as I remember, I'm currently on the version built from sources.
Screenshot 2566-05-03 at 08 02 09

from surrealist.

Nipodemos avatar Nipodemos commented on June 3, 2024 1

just to add to that, i'm having the same issue, as soon as I try to connect using surrealist, the SurrealDB cli shows this error:

←[2m2023-05-13T17:21:39.299330Z←[0m ←[32m INFO←[0m ←[1msurrealdb::net←[0m←[2m:←[0m 127.0.0.1:61857 GET /rpc HTTP/1.1 101 "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36 Edg/113.0.1774.35" 109.3µs
thread 'tokio-runtime-worker' panicked at 'called `Result::unwrap()` on an `Err` value: Syntax("invalid type: sequence, expected a string")', lib\src\sql\statements\define.rs:555:72
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

here's a screenshot in case you prefer
image

i'm using localhost to try to connect
image
my current version of surrealist is Version 1.7.1 by Starlane Studios
my version of surrealdb is 1.0.0-beta.9+20230402.5eafebd for windows on x86_64

from surrealist.

Roms1383 avatar Roms1383 commented on June 3, 2024

same error for me on M1 Pro chip, I also tried compiling from the sources but still got the error.
on the other side, REPL works fine. (I also started a surreal instance in the CLI)

macos ventura
version 1.6.4 / from sources at commit 3002726

from surrealist.

Z8MB1E avatar Z8MB1E commented on June 3, 2024

I'm also having this issue!

from surrealist.

macjuul avatar macjuul commented on June 3, 2024

Hey guys, I'm personally unable to reproduce this issue and since it appears to be so vague there's not much I can do about it right now. Perhaps if you open dev tools with Ctrl + Shift + I it may lead to a possible explanation, specifically the Console and Network tabs.

If anyone experiencing this issue is willing to investigate and submit a fix that too would be appreciated

from surrealist.

Roms1383 avatar Roms1383 commented on June 3, 2024

Ran the server like:

Screenshot 2566-05-02 at 07 07 10

Checked the connection:

Screenshot 2566-05-02 at 07 05 21

Websocket connection is established then closed instantly:

Screenshot 2566-05-02 at 07 08 38

Looking at the security tab it seems to hint at https over http:
Screenshot 2566-05-02 at 07 09 31

But I couldn't find any documentation on how to potentially specify e.g. https certificate @macjuul.

from surrealist.

macjuul avatar macjuul commented on June 3, 2024

Thanks a lot @Roms1383. have you tried using localhost or 127.0.0.1 as the hostname yet? (with the same port)

from surrealist.

Roms1383 avatar Roms1383 commented on June 3, 2024

I think I did but I'll give another try tonight and report afterwards to be sure.

from surrealist.

macjuul avatar macjuul commented on June 3, 2024

just to add to that, i'm having the same issue, as soon as I try to connect using surrealist, the SurrealDB cli shows this error:

←[2m2023-05-13T17:21:39.299330Z←[0m ←[32m INFO←[0m ←[1msurrealdb::net←[0m←[2m:←[0m 127.0.0.1:61857 GET /rpc HTTP/1.1 101 "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36 Edg/113.0.1774.35" 109.3µs
thread 'tokio-runtime-worker' panicked at 'called `Result::unwrap()` on an `Err` value: Syntax("invalid type: sequence, expected a string")', lib\src\sql\statements\define.rs:555:72
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

here's a screenshot in case you prefer image

i'm using localhost to try to connect image my current version of surrealist is Version 1.7.1 by Starlane Studios my version of surrealdb is 1.0.0-beta.9+20230402.5eafebd for windows on x86_64

This appears to be a SurrealDB internal error unrelated to Surrealist. Usually this indicates some sort of invalid data, which I personally experienced when updating to beta 9 (This helped me fix it)

from surrealist.

Nipodemos avatar Nipodemos commented on June 3, 2024

This appears to be a SurrealDB internal error unrelated to Surrealist. Usually this indicates some sort of invalid data, which I personally experienced when updating to beta 9 (This helped me fix it)

Thank you for this, doing the guide worked for me. I wasn't aware of this required steps to migrate

from surrealist.

macjuul avatar macjuul commented on June 3, 2024

I'll close this issue for now. If anyone experiences further connection problems feel free to open a new issue

from surrealist.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.