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

172
Views
WebApp crashing when connecting through a nginx websocket proxy

I have a very weird situation with docker/nginx and websockets, I proxy through nginx to a websocket server and every time i close the connection the server crashes.

If i connect directly to the websocket server and close the connection its all fine.

If I run the websocket server through Xcode and nginx to that and close the connection it all works fine too.

I have check all the linux dependancies and none of them have been upgraded since Sept 2019 (only started to happen last night)

Commands to cause

var s = new WebSocket("wss://localhost:8080/socket", "zara")
s.close();

Crash Dump Log

zaraapp_1  | * thread #7, name = 'issueServer', stop reason = signal SIGPIPE
zaraapp_1  |     frame #0: 0x00007ffff76832b7 libpthread.so.0`__libc_write + 71

**EDIT

Updated all docker images and now it only happens when you refresh the brower (tested in Safari and Chrome)

Doesnt happen with IE

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

Found out it was the debugging tool allowing the SIGPIPE to go through even thought it was ignored in the code

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!