You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But something went wrong with the universer container.
caller=[/home/runner/work/universer/universer/internal/biz/usip.go:291] service.id=bea0152ad487 service.name=Universer service.version=v0.2.14 trace.id= span.id= user.id= feature.id= msg=[CredentialVerify] json.NewDecoder.Decode err: invalid character 'Á' looking for beginning of value
Whether using websocket.send_text, websocket.send_json, etc., the above error will occur. How do I handle the authentication of this websocket?
The text was updated successfully, but these errors were encountered:
We found websocket in web only support cookie header credential, you can use cookie to deal with it, there is a demo but it is golang: https://github.com/dream-num/usip-example/tree/main/go-usip/demo2 . We will give a resulotion for authorization header in the future.
@app.websocket("/credential")
Whether using
websocket.send_text, websocket.send_json
, etc., the above error will occur. How do I handle the authentication of thiswebsocket
?The text was updated successfully, but these errors were encountered: