Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not connect surrealdb using network ips, but 1.9.2 can connect db using network ips [Surrealist 1.10 + web] #117

Closed
leefordjudes opened this issue Sep 25, 2023 · 6 comments
Labels
bug Something isn't working

Comments

@leefordjudes
Copy link

leefordjudes commented Sep 25, 2023

Describe the bug
Surrealist 1.10 Could not connect surrealdb using network ip, but 1.9.2 can connect db using network ip

To Reproduce
surrealist 1.10
image

surrealist 1.9.2
image

Expected behavior
should connect surreal db through network ip using surrealist 1.10 and also surrealist from web

Environment (you can view the current version under Settings):

  • Operating System [e.g. Windows]: 11
  • Surrealist Version [e.g. 1.2.0]: 1.10
  • SurrealDB Version [execute "surreal version"]: 1.0.0
@leefordjudes leefordjudes added the bug Something isn't working label Sep 25, 2023
@leefordjudes leefordjudes changed the title Surrealist 1.10 Could not connect surrealdb using network ips, but 1.9.2 can connect db using network ips Could not connect surrealdb using network ips, but 1.9.2 can connect db using network ips [Surrealist 1.10 + web] Sep 25, 2023
@macjuul
Copy link
Contributor

macjuul commented Sep 25, 2023

Could you open dev tools using Ctrl + Shift + I and check the console tab for any potential error messages? Additionally, are you able to connect using the surreal sql command using surrealdb 1.0 and the same ip?

@leefordjudes
Copy link
Author

leefordjudes commented Sep 25, 2023

image

yes, there is some errors in console

image

image

@macjuul
Copy link
Contributor

macjuul commented Sep 25, 2023

This is happening because the connections have been moved to WebAssembly, I'll see if I can find a solution for this. The binary messages are due to SurrealDB using a new binary WebSocket protocol.

@macjuul
Copy link
Contributor

macjuul commented Sep 25, 2023

I pushed a possible fix to the main branch, however I do not have the time to test this myself. If possible, try and build the main branch from source to see if it works for you, however it's alright if this isn't possible.

@macjuul macjuul closed this as completed Sep 25, 2023
@leefordjudes
Copy link
Author

yes, its worked in local build
image

@macjuul
Copy link
Contributor

macjuul commented Sep 26, 2023

Awesome, thanks for testing it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants