Skip to content

action hangs when auth failed #47

@MakDon

Description

@MakDon

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions