Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Puma incompatible after JRuby 9.1.14.0 #5133

Closed
yeryer opened this issue Apr 10, 2018 · 3 comments
Closed

Puma incompatible after JRuby 9.1.14.0 #5133

yeryer opened this issue Apr 10, 2018 · 3 comments

Comments

@yeryer
Copy link

yeryer commented Apr 10, 2018

Environment

jruby 9.1.14.0 (2.3.3) 2017-11-08 2176f24 Java HotSpot(TM) 64-Bit Server VM 25.152-b16 on 1.8.0_152-b16 +jit [mswin32-x86_64]
Windows 10
Rails 4.2.9
Puma 3.11.3-java
Rubymine 2018.1
Ruby arguments: -J-Xmx4096m -e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)

Actual Behavior

Puma runs fine on the above platform but whenever we try upgrading to 9.1.15 or 9.1.16 we are only able to get a couple successful file downloads before getting very frequent
net::ERR_INVALID_CHUNKED_ENCODING
and
net::ERR_CONTENT_LENGTH_MISMATCH
errors.

I've tried various puma versions and it doesn't matter--only JRuby build 9.1.14 and earlier seem to work on windows. I've also tried 5 different windows machines and various Java versions but the JRuby version is the only variable that seems to change things.

@enebo enebo added this to the JRuby 9.1.17.0 milestone Apr 10, 2018
@enebo enebo added the windows label Apr 10, 2018
@enebo
Copy link
Member

enebo commented Apr 10, 2018

@yeryer Interesting. I just did scp from windows bash shell this morning and got corrupted mac errors (win10). I was weirded out that a winbuntu -> fedora ssh connection would complain. I wonder if MS has any info on this. We really need to isolate what is wrong here since we changed since 9.1.14 because of other changes by other OSes. Quite the sticky web.

If you have time perhaps you can make a simpler net/http script using https. I would think you would see similar errors. The smaller the better for us for debugging.

@headius
Copy link
Member

headius commented Apr 16, 2018

@yeryer Without a way to reproduce this I think we need your help. Since it regressed between 9.1.14 and 9.1.15, it should be possible to bisect those versions and pinpoint a single responsible commit.

I'm going to bump this to 9.2, since we'd like to get 9.1.17 out very soon, and 9.2 will follow closely after.

@headius headius modified the milestones: JRuby 9.1.17.0, JRuby 9.2.0.0 Apr 16, 2018
@enebo enebo modified the milestones: JRuby 9.2.0.0, JRuby 9.2.1.0 May 24, 2018
@headius
Copy link
Member

headius commented Sep 19, 2018

No follow-up, and people have been using Puma on JRuby versions higher than 9.1.14. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants