grammes icon indicating copy to clipboard operation
grammes copied to clipboard

action hangs when auth failed

Open MakDon opened this issue 3 years ago • 0 comments

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.

MakDon avatar Feb 16 '22 03:02 MakDon