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

337
Views
How can I fix the websocket limits for `Connection duration for WebSocket API: 2 hours`

I am using API Gateway websocket connection and I have read this limits:

https://docs.aws.amazon.com/apigateway/latest/developerguide/limits.html

It says the Connection duration for WebSocket API limits is 2 hours. Does this mean I can't keep the connection connected for more than 2 hours? If yes, what is the workaround for that? Should I have to re-establish the connection every 2 hours in order to keep it connected?

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

I resolved this issue by implementing reconnection mechanism from client. Client simply reconnects to the server once the connection is dropped by API gateway after 2 hours. Found this as a recommended solution at multiple places.

over 4 years ago · Santiago Trujillo Report
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!