lucasb has quit [Quit: Connection closed for inactivity]
sagax has quit [Ping timeout: 245 seconds]
rusk has joined #jruby
sagax has joined #jruby
shellac has joined #jruby
<fidothe> lopex: the easiest thing for us to do is what cpuguy83 does already, which is build off of the upstream OpenJDK official image. I have a setup that builds a bunch of JRuby images - a set of one or more per JVM version I need to target. It's actually super easy to do, given the template Dockerfile cpuguy83 already made (I basically just took that and ran with it).
<fidothe> You can see the Rakefile I use for that here: https://github.com/fidothe/circleci-jruby-docker/blob/master/Rakefile. It's pretty simple at its core - the more complex stuff is figuring out what combinations you need. The best entrypoint into that logic is probably https://github.com/fidothe/circleci-jruby-docker/blob/67787fc42a4c29f6cba34f8a473070e37afbfa7b/Rakefile#L80-L93
<fidothe> and the calculation of variant combinations of JVM/JRuby version here: https://github.com/fidothe/circleci-jruby-docker/blob/67787fc42a4c29f6cba34f8a473070e37afbfa7b/Rakefile#L80-L93
<fidothe> The CircleCI stuff you can ignore - I'm generating JRuby images and then generating CircleCI-adapted images from those
<fidothe> And all the push-to-docker-hub stuff can be ignored as well
<vs-de[m]> hi guys
<vs-de[m]> may i ask a question about an issue i've been experiencing with jruby+puma ? i'm using jruby quite a long time now, but never had an issue like that
<fidothe> vs-de[m]: of course!
<fidothe> tbh, I'm not very likely to be useful, but the people who are are usually around soon
drbobbeaty has joined #jruby
<vs-de[m]> it's basically just that my jruby+rails 5.1 app doesn't respond to request, despite the app is logging everything as normal up to the "completed" line where the next step would just be sending the answer. But it doesnt. It is when i upgrade jruby to 9.2.x from 9.1.
<vs-de[m]> you know, i have a line like this: I, [2019-11-15T12:07:31.626051 #10105] INFO -- : [bfec1fce-c61d-431d-b8ac-b7e67ebbb880] Completed 200 OK in 574ms
<vs-de[m]> but there is no response(!), even using curl on localhost, it's waiting for a answer forever(/up to a client-timeout)
<vs-de[m]> so i have no clue, since i have no error
<vs-de[m]> (same with different puma version up to the newest, also different java versions, just the jruby version seem to matter on that host)
nirvdrum has joined #jruby
shellac has quit [Quit: Computer has gone to sleep.]
shellac has joined #jruby
lucasb has joined #jruby
Gacha has joined #jruby
shellac has quit [Quit: Computer has gone to sleep.]
Gacha has quit [Read error: Connection reset by peer]
shellac has joined #jruby
xardion has quit [Remote host closed the connection]
xardion has joined #jruby
nirvdrum has quit [Ping timeout: 276 seconds]
rusk has quit [Remote host closed the connection]
<headius[m]> Sounds like ipv6
<headius[m]> vs-de can you see what address it bound to? Try hitting it at http://[::1] maybe
shellac has quit [Ping timeout: 250 seconds]
nirvdrum has joined #jruby
<vs-de[m]> curl -v says Connected to localhost (127.0.0.1) => yes, it's listening also on ipv6 but my actual request was IPv4
<vs-de[m]> it's some days ago, i try to reproduce all the stuff now. It started when i realized that my nokogiri version had a bug with the canonicalize method
<vs-de[m]> btw, is there a quick way of figuring out which system-library nokogiri (java) is actually using?
<vs-de[m]> sry, if it doesn't make sense to anyone now, but it was a longer chain of conclusions that lead to the upgrade of some gems and jruby and even java at some point. I compared different machines, one that has no trouble at all and one had all the issues (a debian 9, java: build 1.8.0_232-8u232-b09-1~deb9u1-b09 )
<vs-de[m]> and sry to repead here: the request was absolutely received by the rails-server - i could follow it live in the log up to the "completed" statement, but nothing was sent back issuing a "waiting for response" state in the http-client - do you mean that there is a possibility that a ip4 request is answered through a ip6 response ? that would explain it, but it's hard to believe though because of how sockets are handled by the
<vs-de[m]> OS after a listen call. That would be terribly messed up somewhere on a lower level - but anyways, im not 100% sure - thx for the idea so far
<headius[m]> If the request was received then it isn't an IPv6 problem
<headius[m]> We can have a look at what the threads are doing if you hit Ctrl+\ in that terminal when it is sitting there
<headius[m]> Or use the jstack command
<headius[m]> It should be fairly obvious why it's not returning the response
<vs-de[m]> ok, tyvm, i'll check that
nirvdrum has quit [Ping timeout: 240 seconds]
drbobbeaty has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]