You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When making application/json requests to the server, Puma hangs. I've traced this down to the unistd.h level (system files) so technically it's not a puma issue. All other requests work fine - just application/json requests hang. The incredibly frustrating thing is this happens no matter what webserver I use - Puma, Unicorn, Thin, or Webrick. I've tried nearly everything at this point, including reformatting and reinstalling everything. Since Puma is the biggest webserver in the ruby ecosystem, I figured this would be the best place to post this - What the hell is happening?
Note that other users at my org are able to run this code just fine and I haven't noticed any other similar issues popping up here so I'm assuming it's my machine. The only things I've installed since the wipe were Alfred, Slack, iTerm2, ZSH, sequel pro, and some basic necessities for setup (homebrew, rvm, nvm, mysql 5.6, redis, ag).
Edit: This APPEARS to only happen with requests incoming from the browser - both Chrome and Safari have this behavior.
Puma config:
No puma config - Just running rails s puma.
To Reproduce
I wish I could add steps to reproduce this.
Desktop (please complete the following information):
OS: OSX Catalina 10.15.5
Puma Version: Any
Ruby version: Tested with 4.2.8 and 4.2.10
The text was updated successfully, but these errors were encountered:
Totally understandable. I JUST figured out what the issue was after probably ~40 hours of debugging. Leaving it here for future reference, incase anyone ever has the same problem:
Describe the bug
When making application/json requests to the server, Puma hangs. I've traced this down to the unistd.h level (system files) so technically it's not a puma issue. All other requests work fine - just
application/json
requests hang. The incredibly frustrating thing is this happens no matter what webserver I use - Puma, Unicorn, Thin, or Webrick. I've tried nearly everything at this point, including reformatting and reinstalling everything. Since Puma is the biggest webserver in the ruby ecosystem, I figured this would be the best place to post this - What the hell is happening?Note that other users at my org are able to run this code just fine and I haven't noticed any other similar issues popping up here so I'm assuming it's my machine. The only things I've installed since the wipe were Alfred, Slack, iTerm2, ZSH, sequel pro, and some basic necessities for setup (homebrew, rvm, nvm, mysql 5.6, redis, ag).
Edit: This APPEARS to only happen with requests incoming from the browser - both Chrome and Safari have this behavior.
Puma config:
No puma config - Just running
rails s puma
.To Reproduce
I wish I could add steps to reproduce this.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: