Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

185
Views
Websocket javascript opening handshake timed out

I am making use of websocket to connect to a monitor on LAN. I am using the following code to connect to the ip 192.168.0.1 on the port 5000:

const socket = new WebSocket("ws://192.168.0.1:5000", ['soap', 'xmpp']);

This is an image of the packets sends and received from 192.168.0.1

wireshark connection

In the first two we have a request sent and the ACK for that request, but the WebSocket is failing to read the ACK and thus results in a timeout error after 4 minutes(as shown in the last three lines).

WebSocket connection to 'ws://192.168.0.1:5000/' failed: WebSocket opening handshake timed out

I have tried the HW-group application and it worked fine. Here is an image of the packets sent and received from the application:

enter image description here

(The first three lines are for disconnecting and the last three are connecting)

I have no idea why my WebSocket is resulting in a timeout error and the socket from the other app is connecting normally. If anyone have any input on this situation please let me know.

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!