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

action hangs when auth failed #47

Open
MakDon opened this issue Feb 16, 2022 · 0 comments
Open

action hangs when auth failed #47

MakDon opened this issue Feb 16, 2022 · 0 comments

Comments

@MakDon
Copy link

MakDon commented Feb 16, 2022

the code that's not working:

client, err := grammes.DialWithWebSocket("ws://127.0.0.1:8182",grammes.WithTimeout(time.Minute))
vert, avErr := client.AddVertex("user","uid", usr.UID)

When auth is required by the server, AddVertex would freeze instead of returning an error. And timeout is also not working.
Expect: return auth required error or timeout error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant