** (MatchError) no match of right hand side value: {:error, %WebSockex.RequestError{code: 200, message: "OK"}}

Error:
** (MatchError) no match of right hand side value: {:error, %WebSockex.RequestError{code: 200, message: “OK”}}
I’m using websockex in my elixir project. But while calling this function I’m getting this error. Seeking Guidance.
Screenshot 2022-11-19 at 9.22.36 PM

Unfortunately that server is no longer providing the echo service - see this article for details about the shutdown, and an alternative server to use.

EDIT: created a PR to update the echo client in websockex

1 Like