Developers Forum for XinFin XDC Network

11ppm
11ppm

Posted on • Updated on

[Solved] 502 Error on Apothem Network WebSocket

Apothem Network's websocket is constantly giving a 502 error. I would like it to be fixed. If there are any other websockets that can be used, please let me know. Currently, there is only one option: wss://ws.apothem.network/. I would like another one to be provided. Thank you.

Image description

Discussion (14)

Collapse
logeswaran profile image
Lokesh

Unable to access Apothem Network RPC : it shows "[CRIT] No live RPC nodes available "

Collapse
mitali_blocksscan profile image
Mitali_BlocksScan

Hey @logeswaran,
Which RPC link you are using?

Collapse
logeswaran profile image
Lokesh

We tried both the URL:

erpc.apothem.network
apothem.xdcrpc.com

Please note, we are using this to connect our Plugin Node. It was working till last Saturday.

Thanks

Thread Thread
mitali_blocksscan profile image
Mitali_BlocksScan

apothem.xdcrpc.com/ has been recovered, and the other one is also working fine.

Please check now with RPC & WS.

Thread Thread
logeswaran profile image
Lokesh

Sure, will check & revert, thanks for the prompt action.

Thread Thread
11ppm profile image
11ppm Author

@mitali_blocksscan I appreciate your support.

Based on my observation of your interaction with Lokesh, I have confirmed that I am still seeing the following output:

Doraemon@TEST:~$ wscat -c wss://ws.apothem.network/
error: Unexpected server response: 502
> Doraemon@TEST:~$ wscat -c wss://ws.apothem.network/ws
error: Unexpected server response: 502
Enter fullscreen mode Exit fullscreen mode

I have also tried connecting to the Plugin2.0 node, but I am unable to establish a connection. I have tried using the following two RPCs:

erpc.apothem.network
apothem.xdcrpc.com
Enter fullscreen mode Exit fullscreen mode
Collapse
mitali_blocksscan profile image
Mitali_BlocksScan

Hello @11ppm
We hope that the above issue is resolved, if the issue still persists then please let us know about it so that the team can resolve it on priority. It will be grateful to get an update within 72 hours or else it will be considered resolved.
Thank You.

Collapse
11ppm profile image
11ppm Author

Hi Mitali_BlocksScan. Thank you very much. All websockets are functioning properly. I sincerely appreciate the support. Thank you very much.
11ppm

Collapse
mitali_blocksscan profile image
Mitali_BlocksScan

Hey @11ppm
Please try again
Also you can check out this link: wss://apothem.xdcrpc.com/ws
Facing issue please feel free to contact us.

Collapse
11ppm profile image
11ppm Author • Edited on

The same error occurred again.

Doraemon@TEST:~$ wscat -c wss://ws.apothem.network/
error: Unexpected server response: 502
Doraemon@TEST:~$ wscat -c wss://ws.apothem.network/ws
error: Unexpected server response: 502
Doraemon@TEST:~$ date -u -Isec
2023-09-11T15:03:44+00:00
Enter fullscreen mode Exit fullscreen mode
Collapse
mitali_blocksscan profile image
Mitali_BlocksScan

Try using this websocket link
wss://apothem.xdcrpc.com/ws

Thread Thread
11ppm profile image
11ppm Author

Unfortunately, it will result in an error.

Doraemon@TEST:~$ wscat -c wss://apothem.xdcrpc.com/ws
error: Unexpected server response: 502
Doraemon@TESTroot:~$ date -u -Isec
2023-09-12T09:26:16+00:00
Enter fullscreen mode Exit fullscreen mode
Thread Thread
mitali_blocksscan profile image
Mitali_BlocksScan • Edited on

The websocket link is working at my side you can refer the below screenshot
Image description
Please try again.

Collapse
lance profile image
Lance Lilly

What ended up being the issue and which web socket link was used?