Project

General

Profile

Actions

Bug #490

closed

bip fails to connect

Added by Alex Balut about 8 years ago. Updated over 5 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
2016-03-15
Due date:
% Done:

0%

Estimated time:
Patch Available:
Found in Versions:
0.8.9
Confirmed:
No
Branch:
Security:
Help Needed:
Yes

Description

$ bip -n -f .bip/bip.cfg
15-03-2016 01:13:44 [freenode] Connecting user 'bip_ubuntu' using server tepper.freenode.net:6667
15-03-2016 01:13:51 ERROR: read(fd=4): Connection lost: Resource temporarily unavailable
15-03-2016 01:13:51 ERROR: Error while reading on fd 4
15-03-2016 01:13:51 ERROR: [freenode] read_lines error, closing...
15-03-2016 01:13:51 ERROR: [freenode] reconnecting in 120 seconds

$ grep ^network .bip/bip.cfg -A 4
network {
        name = "freenode";
        ssl = false;
        server { host = "tepper.freenode.net"; port = 6667; };
};

$ ping tepper.freenode.net
PING tepper.freenode.net (192.186.157.43) 56(84) bytes of data.
64 bytes from 192.186.157.43: icmp_seq=1 ttl=39 time=81.4 ms

$ nc tepper.freenode.net 6667
:tepper.freenode.net NOTICE * :*** Looking up your hostname...
:tepper.freenode.net NOTICE * :*** Checking Ident
:tepper.freenode.net NOTICE * :*** Found your hostname
:tepper.freenode.net NOTICE * :*** No Ident response

The server seems reachable and the port 6667 seems accessible.

"Connection lost: Resource temporarily unavailable"
What resource exactly is temporarily unavailable?

Actions #1

Updated by Pierre-Louis Bonicoli about 8 years ago

Could you try using another IRC server ? Did the error occur with any IRC server ? Increase log level using log_level = 4; in bip.cfg.

Did the following commands work both ?
  • nc -4 tepper.freenode.net 6667
  • nc -6 tepper.freenode.net 6667
Actions #2

Updated by Alex Balut about 8 years ago

nc -4 works but nc -6 fails with tepper.freenode.net 6667.

log_level=4 shows the reason for closing the link: "SASL access only", see below. Maybe you want to handle differently that error, or support SASL. Thanks!

$ bip -n -f .bip/bip.cfg
24-03-2016 10:52:35 [freenode] Connecting user 'bip_ubuntu' using server tepper.freenode.net:6667
24-03-2016 10:52:35 DEBUG: fd:4 Connection established !
24-03-2016 10:52:36 DEBUG: ":tepper.freenode.net NOTICE * :*** Looking up your hostname..." 
24-03-2016 10:52:36 DEBUG: ":tepper.freenode.net NOTICE * :*** Checking Ident" 
24-03-2016 10:52:36 DEBUG: ":tepper.freenode.net NOTICE * :*** Found your hostname" 
24-03-2016 10:52:42 DEBUG: ":tepper.freenode.net NOTICE * :*** No Ident response" 
24-03-2016 10:52:42 DEBUG: ":tepper.freenode.net NOTICE [mynick] :*** Notice -- You need to identify via SASL to use this server" 
24-03-2016 10:52:42 DEBUG: "ERROR :Closing Link: [xxxxxxxxxxxx].compute.amazonaws.com (SASL access only)" 
24-03-2016 10:52:42 ERROR: read(fd=4): Connection lost: Resource temporarily unavailable
24-03-2016 10:52:42 DEBUG: Connection close asked. FD:4 
24-03-2016 10:52:42 ERROR: Error while reading on fd 4
24-03-2016 10:52:42 ERROR: [freenode] read_lines error, closing...
24-03-2016 10:52:42 DEBUG: Connection close asked. FD:4 
24-03-2016 10:52:42 ERROR: [freenode] reconnecting in 120 seconds
Actions #3

Updated by Arnaud Cornet over 5 years ago

  • Status changed from New to Resolved
Actions

Also available in: Atom PDF