jmalves has quit [Remote host closed the connection]
jmalves has joined #jruby
victori has quit [Remote host closed the connection]
victori has joined #jruby
victori has quit [Excess Flood]
xardion has quit [Ping timeout: 244 seconds]
<kphns>
kares: yes. it seems not to be able to receive messages after the socket is set up -- when my app didn't work, I tried the very simple example in the faye-websockets example directory, and the sample client connects but the server never receives a message from the client.
xardion has joined #jruby
<kphns>
I have tried my app with browser and cruby clients, and it works fine with Java 8 but not with 10/11.
<kphns>
(I don't have 9 to try out)
joast has quit [Ping timeout: 252 seconds]
victori has joined #jruby
victori has quit [Excess Flood]
victori has joined #jruby
shellac has joined #jruby
drbobbeaty has joined #jruby
victori has quit [Excess Flood]
victori has joined #jruby
victori has quit [Excess Flood]
drbobbeaty has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
victori has joined #jruby
victori has quit [Ping timeout: 245 seconds]
victori has joined #jruby
victori has quit [Excess Flood]
<kares>
kphns: oh well that sounds like a real bug to fix
<kares>
you should report with the simple socket example - maybe setup a reproduction repo if needed so its easy to reproduce
<kphns>
report to whom, though, is the question?
<kphns>
I have exactly zero clue where the bug is. JRuby? Puma? EventMachine? Faye-websockets?
<kphns>
I have tried other EM-based websocket library test scripts and they seem to work. I don't know that there are any other JRuby-compatible web servers to try faye-websockets without puma, and I don't think there are any other libraries that will implement websockets on top of puma besides faye.
<kphns>
the only thing I know for sure is that it works fine on Java 8, but fails on Java 10 and 11.
victori has joined #jruby
victori has quit [Excess Flood]
victori has joined #jruby
victori has quit [Excess Flood]
victori has joined #jruby
victori has quit [Read error: Connection reset by peer]
victori_ has joined #jruby
jmalves has quit [Ping timeout: 240 seconds]
jmalves has joined #jruby
jmalves_ has joined #jruby
jmalves_ has quit [Remote host closed the connection]
jmalves has quit [Ping timeout: 252 seconds]
drbobbeaty has joined #jruby
victori_ has quit [Ping timeout: 246 seconds]
<kares>
kphns: if it works on Java 8 with the same (latest) JRuby 9.2 but not on Java 10/11 than its a JRuby bug
<kares>
at least that is what I understood from your question ... to be the case
victori has joined #jruby
rdubya has joined #jruby
victori has quit [Excess Flood]
victori has joined #jruby
joast has joined #jruby
victori has quit [Excess Flood]
shellac has quit [Quit: Computer has gone to sleep.]
jmalves_ has joined #jruby
victori has joined #jruby
shellac has joined #jruby
victori has quit [Ping timeout: 268 seconds]
jmalves has joined #jruby
jmalves_ has quit [Ping timeout: 252 seconds]
victori has joined #jruby
jmalves has quit [Remote host closed the connection]
xardion has quit [Remote host closed the connection]
xardion has joined #jruby
victori has quit [Excess Flood]
victori has joined #jruby
enebo has joined #jruby
Puffball has quit [Remote host closed the connection]
Puffball has joined #jruby
victori has quit [Excess Flood]
victori has joined #jruby
victori has quit [Excess Flood]
enebo has quit [Ping timeout: 250 seconds]
victori has joined #jruby
victori has quit [Excess Flood]
victori has joined #jruby
shellac has quit [Quit: Computer has gone to sleep.]
enebo has joined #jruby
<headius>
kphns: hey there
<headius>
lopex, kares: 😛
Aethenelle has joined #jruby
<headius>
.1 release cycle is hard to keep short...so much you want to fix you didn't get into .0
victori has quit [Excess Flood]
Aethenelle has quit [Ping timeout: 246 seconds]
Aethenelle has joined #jruby
victori has joined #jruby
<lopex>
headius: the scope of the project makes it hard
enebo has quit [Ping timeout: 276 seconds]
<headius>
good point
<kphns>
headius: hi
<headius>
kphns: could this be IPv6 issue?
<headius>
I am not clear whether it really is able to connect
<headius>
If you have something we can reproduce it may be easy to find the problem, but I would confirm first that everything is binding the right ports/protocols
enebo has joined #jruby
<kphns>
headius: yes, the connection is established. I see it in netstat.
<headius>
Ok, so the request does get sent by the client, and then nothing?
victori has quit [Excess Flood]
victori has joined #jruby
<kphns>
yes. using the sample code from faye-websockets, it connects, I get the open notification/event on both the client and the server, and then the client sends a message but the server never sees it.
<kphns>
I used ws://127.0.0.1/ as the URL to eliminate IPv6 from the equation
Puffball has quit [Remote host closed the connection]
<headius>
can you make a gist or repo of exactly what you're running? I see a lot of examples on the faye-websocket repo and I'm not sure what you're doing
<headius>
It shouldn't be too difficult to figure out where the request is going but I need more information :-D
<lopex>
hmm, I also see a difference
victori has quit [Ping timeout: 246 seconds]
victori has joined #jruby
emerson has quit [Quit: WeeChat 2.2]
victori has quit [Excess Flood]
<kphns>
sure -- give me a few minutes, and I will just make a repo with a Gemfile and the two sample scripts I'm using
emerson has joined #jruby
<headius>
lopex: running the main example?
<headius>
kphns: perfect, thank you
victori has joined #jruby
victori has quit [Excess Flood]
<lopex>
headius: no, from my code
<lopex>
hmm
victori has joined #jruby
<lopex>
headius: the only diff I see is Cookie: rack.session length
<lopex>
and ws seem to have regressed from 9.2.0.0
<lopex>
headius: I'm not getting new ws frames, seems like some cookie was lost
<kphns>
note that I decided to include the test.html from the em-websocket version so as to take ruby/jruby/java out of the picture for the client side. directions on how to replicate are in the readme.