PDA

View Full Version : lnet trouble



ROTOR
04-10-2014, 10:13 AM
Would appreciate any help with this please. Am getting this message when connecting to the game:

[lnet: SSL_connect SYSCALL returned=5 errno=0 state=SSLv2/v3 read server hello A]
lnet:77:in `connect'
lnet:77:in `connect'
[lnet: NilClass is not a valid input stream. It must walk
like either a String, an IO, or a Source.]
/opt/local/lib/ruby/1.8/rexml/source.rb:21:in `create_from'
/opt/local/lib/ruby/1.8/rexml/parsers/baseparser.rb:133:in `stream='
[lnet: connection lost]
[lnet: waiting 299 seconds before trying to reconnect...]

Can run scripts ok but obviously lnet isn't working and any scripts that call for info from another player (like waggle) don't work properly. Only just started getting this yesterday after a year with no trouble.

Any ideas?

Thanks.

glinty
04-10-2014, 01:16 PM
I'm having this issue, also out of the blue, though I'm using a different ruby interpreter (2.1.0)

[lnet: SSL_connect SYSCALL returned=5 errno=0 state=SSLv2/v3 read server hello A]
lnet:77:in `connect'
lnet:77:in `connect'
[lnet: NilClass is not a valid input stream. It must walk
like either a String, an IO, or a Source.]
/usr/lib/ruby/2.1.0/rexml/source.rb:22:in `create_from'
/usr/lib/ruby/2.1.0/rexml/parsers/baseparser.rb:128:in `stream='
[lnet: connection lost]
[lnet: waiting 299 seconds before trying to reconnect...]

m444w
04-10-2014, 08:07 PM
Did you download the most recent windows update? I was getting some wonky errors before I did.

Essio
04-10-2014, 10:57 PM
Try opening up lnet.lic in your scripts directory, finding this:


context = OpenSSL::SSL::SSLContext.new
context.key = key
context.cert = cert

and adding this line after:


context.ssl_version = :TLSv1

ROTOR
04-11-2014, 03:28 AM
Thank you very much Essio. That did the trick.

glinty
04-11-2014, 04:24 AM
Yep, worked for me also. I suppose Tillmen has changedsome settings on the lnet server due to the openssl heartbleed bug.

Tillmen
04-11-2014, 09:49 PM
Hooray Heartbleed!

Updated lnet with this fix.

Deadelf
04-12-2014, 08:46 PM
Tillmen, is your server down for downloading Lich at this time? I've been able to download Ruby and install but Lich is just not doing anything when I attempt to download it.


Edit: Nevermind, was a Chrome thing. Tried Explorer and it downloaded.

ROTOR
08-14-2014, 07:32 AM
anyone else having lnet trouble again? Seem to be getting the same message as before but now after the Heartbleed fix.

Any ideas?

Tillmen
08-14-2014, 08:53 AM
What version of Ruby and Windows are you using?

Buckwheet
08-14-2014, 09:14 AM
[lnet: No connection could be made because the target machine actively refused it. - connect(2)]
lnet:78:in `initialize'
lnet:78:in `open'
[lnet: connection lost]
[lnet: waiting 298 seconds before trying to reconnect...]

I wasn't getting this before, but I am now. I have 2.0 and Windows 7

Tillmen
08-14-2014, 09:22 AM
Apparently the lnet server was down for the last four hours. Is it still happening?

Buckwheet
08-14-2014, 09:24 AM
Lnet welcomed me so should be okay.

ROTOR
08-14-2014, 09:35 AM
ruby 1.8 and a mac. just stopped working this morning for some reason - hadn't changed anything since quitting last night.

ROTOR
08-14-2014, 09:35 AM
ah just logged back in... working now. thanks.

Reagan
08-14-2014, 08:36 PM
I've been getting this when i log in an alt. Eventually it'll connect but takes several of these cycles. Anyone know what's causing this?


[lnet: No connection could be made because the target machine actively refused it. - connect(2)]
lnet:78:in `initialize'
lnet:78:in `open'
[lnet: NilClass is not a valid input stream. It must walk
like either a String, an IO, or a Source.]
C:/Program Files (x86)/Ruby-1.8.7-p352/lib/ruby/1.8/rexml/source.rb:21:in `create_from'
C:/Program Files (x86)/Ruby-1.8.7-p352/lib/ruby/1.8/rexml/parsers/baseparser.rb:133:in `stream='
[lnet: connection lost]
[lnet: waiting 298 seconds before trying to reconnect...]


Just had this after being logged in a bit..

lnet: connection lost]
sJ>
[lnet: No connection could be made because the target machine actively refused it. - connect(2)]
lnet:78:in `initialize'
lnet:78:in `open'
[lnet: EOFError]
C:/Program Files (x86)/Ruby-1.8.7-p352/lib/ruby/1.8/openssl/buffering.rb:134:in `readline'
C:/Program Files (x86)/Ruby-1.8.7-p352/lib/ruby/1.8/rexml/source.rb:160:in `initialize'
[lnet: connection lost]
[lnet: waiting 298 seconds before trying to reconnect...]

Aiska
08-16-2014, 12:14 PM
Bumping for what might be a related problem.

Since the recent LNet downtime, I've been having some really weird issues with Lich crashing Stormfront (error: server_thread: Invalid argument stuff), freezing Stormfront while loading startup scripts, bleeding excessive amounts of memory, and general script wonkiness.

The problem appears to be related to the LNet script, which appears to fire normally but hangs indefinitely after the welcome message. If I don't ;kill lnet, it simply prevents any other script from firing and eventually drags my entire system down.

I've attempted to fix the problem by updating to the most recent versions of Lich and Ruby, but that hasn't helped. I'm Windows 7.

Druhar
08-17-2014, 08:48 PM
I am getting this error at start up:

--- Lich: updater has exited.
[lnet: An established connection was aborted by the software in your host machine. - SSL_connect]
lnet:81:in `connect'
lnet:81:in `connect'
[lnet: NilClass is not a valid input stream. It must walk
like either a String, an IO, or a Source.]
C:/Program Files (x86)/Ruby-1.8.7-p352/lib/ruby/1.8/rexml/source.rb:21:in `create_from'
C:/Program Files (x86)/Ruby-1.8.7-p352/lib/ruby/1.8/rexml/parsers/baseparser.rb:133:in `stream='
[lnet: connection lost]
[lnet: waiting 286 seconds before trying to reconnect...

And this one, but I think it is a seperate issue:

slib: error connecting to server: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. - connect(2)]

Using vista, any thoughts on what I need to do?

Maerit
08-17-2014, 09:37 PM
[lnet: An existing connection was forcibly closed by the remote host. - SSL_connect]
lnet:78:in `connect'
lnet:78:in `connect'
[lnet: NilClass is not a valid input stream. It must walk
like either a String, an IO, or a Source.]
C:/Program Files (x86)/Ruby-1.8.7-p352/lib/ruby/1.8/rexml/source.rb:21:in `create_from'
C:/Program Files (x86)/Ruby-1.8.7-p352/lib/ruby/1.8/rexml/parsers/baseparser.rb:133:in `stream='
[lnet: connection lost]
[lnet: waiting 276 seconds before trying to reconnect...]

Ruby 1.8.7 and Windows 7... Seems to happen to one machine, but not a different machine (same version of ruby and windows 7). Also, has been intermittent. Any idea how to fix this?

Aluvius
08-17-2014, 09:44 PM
Yeah I'm getting the same problem with Ruby 1.8.6 and Windows 7.

SHAFT
08-17-2014, 10:03 PM
[lnet: An existing connection was forcibly closed by the remote host. - SSL_connect]
lnet:81:in `connect'
lnet:81:in `connect'
[lnet: NilClass is not a valid input stream. It must walk
like either a String, an IO, or a Source.]
C:/Program Files (x86)/Ruby-1.8.7-p352/lib/ruby/1.8/rexml/source.rb:21:in `create_from'
C:/Program Files (x86)/Ruby-1.8.7-p352/lib/ruby/1.8/rexml/parsers/baseparser.rb:133:in `stream='
[lnet: connection lost]
[lnet: waiting 278 seconds before trying to reconnect...]

1.8.7 and windows 7

Doldrum
08-17-2014, 10:04 PM
[lnet: An existing connection was forcibly closed by the remote host. - SSL_connect]
lnet:81:in `connect'
lnet:81:in `connect'
[lnet: NilClass is not a valid input stream. It must walk
like either a String, an IO, or a Source.]
C:/Program Files (x86)/Ruby-1.8.7-p352/lib/ruby/1.8/rexml/source.rb:21:in `create_from'
C:/Program Files (x86)/Ruby-1.8.7-p352/lib/ruby/1.8/rexml/parsers/baseparser.rb:133:in `stream='
[lnet: connection lost]
[lnet: waiting 278 seconds before trying to reconnect...]

1.8.7 and windows 7

Same for me

Malisai
08-17-2014, 10:31 PM
Same for me. eariler today it was fine, but then around 630ish pm (pst) when i logged back in after dinner I was getting this.

SHAFT
08-17-2014, 10:32 PM
Same for me. eariler today it was fine, but then around 630ish pm (pst) when i logged back in after dinner I was getting this.

What did you have for dinner?

zzentar
08-17-2014, 10:38 PM
I can't connect tonight either.

Malisai
08-17-2014, 10:49 PM
What did you have for dinner?

biscuits, pancakes, potato hash, bacon, and fruit salad.

SHAFT
08-17-2014, 11:00 PM
biscuits, pancakes, potato hash, bacon, and fruit salad.

My suspicions are confirmed. Breakfast for dinner has caused this effect before....

Just hope we can fix it! This will be a tough one.

Druhar
08-24-2014, 10:53 AM
It has been fine the last two nights, now the error is back again. Running a vista machine.

lnet: NilClass is not a valid input stream. It must walk
like either a String, an IO, or a Source.]
C:/Program Files (x86)/Ruby-1.8.7-p352/lib/ruby/1.8/rexml/source.rb:21:in `create_from'
C:/Program Files (x86)/Ruby-1.8.7-p352/lib/ruby/1.8/rexml/parsers/baseparser.rb:133:in `stream='
[lnet: connection lost]
[lnet: waiting 278 seconds before trying to reconnect...]

SpiffyJr
08-24-2014, 10:55 AM
The server is down. You'll just have to wait until he puts it back up again.

bremerial
08-24-2014, 11:45 AM
Ok may be the same issue:

--- Lich: updater has exited.
>
[lnet: An existing connection was forcibly closed by the remote host. - SSL_connect]
lnet:81:in `connect'
lnet:81:in `connect'
[lnet: NilClass is not a valid input stream. It must walk
like either a String, an IO, or a Source.]
C:/Program Files (x86)/Ruby-1.8.7-p352/lib/ruby/1.8/rexml/source.rb:21:in `create_from'
C:/Program Files (x86)/Ruby-1.8.7-p352/lib/ruby/1.8/rexml/parsers/baseparser.rb:133:in `stream='
[lnet: connection lost]
[lnet: waiting 276 seconds before trying to reconnect...]

Tillmen
08-24-2014, 12:13 PM
It's probably fixed now.