This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Eggdrop 1.8.0 won't connect to dalnet

General support and discussion of Eggdrop bots.
C
CP1832
Halfop
Posts: 68
Joined: Thu Oct 09, 2014 4:03 pm

Eggdrop 1.8.0 won't connect to dalnet

Post by CP1832 »

Hi guys:

Sorry to bother but my eggdrop 1.8.0 isn't able to connect from a shell to dalnet. This same eggdrop (using the exact same .conf file) was connected to dalnet for a long time, however, the connection was dropped and now it can't reconnect. This is the error I'm constantly getting:

Code: Select all

[09:47:52] Trying server [irc.dal.net]:6667
[09:47:52] DNS resolved irc.dal.net to 170.178.184.34
[09:47:52] net: connect! sock 8
[09:47:52] Connected to irc.dal.net
[09:47:52] net: eof!(read) socket 8
[09:47:52] Disconnected from irc.dal.net
The same thing happens to every other port I try to connect to:

Code: Select all

set servers {
  irc.dal.net
  irc.dal.net:6660
  irc.dal.net:6661
  irc.dal.net:6662
  irc.dal.net:6663
  irc.dal.net:6664
  irc.dal.net:6665
  irc.dal.net:6666
  irc.dal.net:6668
  irc.dal.net:6669
  irc.dal.net:7000
  irc.dal.net:8000
  irc.dal.net:8001
  irc.dal.net:8002
  irc.dal.net:+6697
  irc.dal.net:+7000
  irc.dal.net:+7070
  irc.dal.net:+9999
}
If I modify the .conf file to connect to freenode, it works like a charm. What else can I do / check?
w
willyw
Revered One
Posts: 1205
Joined: Thu Jan 15, 2009 12:55 am

Re: Eggdrop 1.8.0 won't connect to dalnet

Post by willyw »

One way to investiage more -

Start bot with -n switch :

./eggdrop -n eggdrop.conf

so that it doesn't automatically go into background. You'll be able to see it, as it attempts to log into the irc server.

Hopefully, you'll be able to see something that helps.
For a fun (and popular) Trivia game, visit us at: irc.librairc.net #science-fiction . Over 300K Q & A to play in BogusTrivia !
w
willyw
Revered One
Posts: 1205
Joined: Thu Jan 15, 2009 12:55 am

Re: Eggdrop 1.8.0 won't connect to dalnet

Post by willyw »

Another idea -

Does your shell have irssi installed on it?

irssi is a text based irc client. Launch it, and try to log in on Dalnet with it, just for the heck of it. Just to see if it, from that same shell, can connect to Dalnet.

Just type:
irssi
on the shell command line, and see what happens. If it is installed on the system, it'll run. If not, you'll get an error.
For a fun (and popular) Trivia game, visit us at: irc.librairc.net #science-fiction . Over 300K Q & A to play in BogusTrivia !
User avatar
ComputerTech
Master
Posts: 399
Joined: Sat Feb 22, 2020 10:29 am
Contact:

Post by ComputerTech »

um i always use us.dal.net port 6667
just saying try us.dal.net always works for me for my bots ;)


oh and what do you have this set to

Code: Select all

# What is your network?
#   0 = EFnet
#   1 = IRCnet
#   2 = Undernet
#   3 = DALnet
#   4 = +e/+I/max-modes 20 Hybrid
#   5 = Others
set net-type 

it better be 3 for dalnet

0 is for freenode type networks and 3 for dalnet type networks ;)
ComputerTech
C
CP1832
Halfop
Posts: 68
Joined: Thu Oct 09, 2014 4:03 pm

Re: Eggdrop 1.8.0 won't connect to dalnet

Post by CP1832 »

ComputerTech wrote:um i always use us.dal.net port 6667
just saying try us.dal.net always works for me for my bots ;)


oh and what do you have this set to

Code: Select all

# What is your network?
#   0 = EFnet
#   1 = IRCnet
#   2 = Undernet
#   3 = DALnet
#   4 = +e/+I/max-modes 20 Hybrid
#   5 = Others
set net-type 
it better be 3 for dalnet

0 is for freenode type networks and 3 for dalnet type networks ;)
My net-type is indeed set to 3
willyw wrote:Another idea -

Does your shell have irssi installed on it?

irssi is a text based irc client. Launch it, and try to log in on Dalnet with it, just for the heck of it. Just to see if it, from that same shell, can connect to Dalnet.

Just type:
irssi
on the shell command line, and see what happens. If it is installed on the system, it'll run. If not, you'll get an error.
I tried to connect to dalnet and it seems there's some issue as I'm getting the following error:

Code: Select all

22:19 -!- Irssi: Looking up irc.dal.net
22:19 -!- Irssi: Connecting to irc.dal.net [194.68.45.50] port 6667
22:19 -!- Irssi: Connection to irc.dal.net established
22:19 -!- Irssi: warning Connection reset by peer
22:19 -!- Irssi: Connection lost to irc.dal.net
How can I figure out more about this error?
w
willyw
Revered One
Posts: 1205
Joined: Thu Jan 15, 2009 12:55 am

Re: Eggdrop 1.8.0 won't connect to dalnet

Post by willyw »

I don't know.
I was expecting for there to be more to the error message - to help give us some clues.
I wouldn't have been surprised if it had been something like : too many connections from your ip , if your bot is on a popular shell.

If you've tried it with the bot, using -n switch, you could then take it to an Eggdrop channel and ask there. You could pastebin whatever eggdrop shows you, and perhaps somebody might have some ideas. Freenode irc network is good. And the channel is: #eggdrop .

You could also - as an irssi problem - find some "help" type channel on Dalnet itself, and ask there.

I'm sorry that I don't have a direct answer for you.

When you do find it, please let us know what it was - it might be helpful info for somebody else someday.
For a fun (and popular) Trivia game, visit us at: irc.librairc.net #science-fiction . Over 300K Q & A to play in BogusTrivia !
w
willyw
Revered One
Posts: 1205
Joined: Thu Jan 15, 2009 12:55 am

Re: Eggdrop 1.8.0 won't connect to dalnet

Post by willyw »

Just remembered :

Besides watching it try to log in, when launched with the -n switch, you might want to experiment with the logging flags too.

They are listed in the eggdrop.conf that came with your bot.

Perhaps adding some would get it to log more, and you might spy a clue in the log.
For a fun (and popular) Trivia game, visit us at: irc.librairc.net #science-fiction . Over 300K Q & A to play in BogusTrivia !
User avatar
ComputerTech
Master
Posts: 399
Joined: Sat Feb 22, 2020 10:29 am
Contact:

Post by ComputerTech »

did you use the address us.dal.net as i suggested above ? could be a problem since thats the only address my bot uses :)

Code: Select all

Just remembered : 

Besides watching it try to log in, when launched with the -n switch, you might want to experiment with the logging flags too. 

They are listed in the eggdrop.conf that came with your bot. 

Perhaps adding some would get it to log more, and you might spy a clue in the log
this also is a great idea of willyw
i recommend doing that also along with using address us.dal.net port 6667

and if you like come chat with us at #eggdrop dalnet or my channel on dalnet #computertech123
ComputerTech
User avatar
ComputerTech
Master
Posts: 399
Joined: Sat Feb 22, 2020 10:29 am
Contact:

Post by ComputerTech »

ALSO this may sound stupid but how do you know the bot is NOT connecting to dalnet
try /whois botnick

and

have you did /msg botnick hello yet to it or is this bot brand new? ;)
ComputerTech
C
CP1832
Halfop
Posts: 68
Joined: Thu Oct 09, 2014 4:03 pm

Post by CP1832 »

willyw wrote:I don't know.
I was expecting for there to be more to the error message - to help give us some clues.
I wouldn't have been surprised if it had been something like : too many connections from your ip , if your bot is on a popular shell.

If you've tried it with the bot, using -n switch, you could then take it to an Eggdrop channel and ask there. You could pastebin whatever eggdrop shows you, and perhaps somebody might have some ideas. Freenode irc network is good. And the channel is: #eggdrop .

You could also - as an irssi problem - find some "help" type channel on Dalnet itself, and ask there.

I'm sorry that I don't have a direct answer for you.

When you do find it, please let us know what it was - it might be helpful info for somebody else someday.
I have already asked on the #eggdrop channel on freenode but I haven't received any answer.
willyw wrote:Just remembered :

Besides watching it try to log in, when launched with the -n switch, you might want to experiment with the logging flags too.

They are listed in the eggdrop.conf that came with your bot.

Perhaps adding some would get it to log more, and you might spy a clue in the log.
Here's my log settings, just in case:

Code: Select all

# This setting allows you the logging of raw incoming server traffic via
# console/log flag 'r', raw outgoing server traffic via console/log mode 'v',
# raw botnet traffic via console/log mode 't', and raw share traffic via
# console/log mode 'h'. These flags can create a large security hole,
# allowing people to see user passwords. This is now restricted to +n users
# only. Please choose your owners with care.
set raw-log 1

# This creates a logfile named eggdrop.log containing private msgs/ctcps,
# commands, errors, and misc. info from any channel.
logfile bdhorstvwx * "logs/dalnet"

# This creates a logfile named lamest.log containing joins, parts,
# netsplits, kicks, bans, mode changes, and public chat on the
# channel #lamest.
logfile m * "logs/private-dalnet"
ComputerTech wrote:ALSO this may sound stupid but how do you know the bot is NOT connecting to dalnet
try /whois botnick

and

have you did /msg botnick hello yet to it or is this bot brand new? ;)
The eggdrop keeps trying to reconnect, constantly, and the /whois doesn't find it.
ComputerTech wrote:did you use the address us.dal.net as i suggested above ? could be a problem since thats the only address my bot uses :)

Code: Select all

Just remembered : 

Besides watching it try to log in, when launched with the -n switch, you might want to experiment with the logging flags too. 

They are listed in the eggdrop.conf that came with your bot. 

Perhaps adding some would get it to log more, and you might spy a clue in the log
this also is a great idea of willyw
i recommend doing that also along with using address us.dal.net port 6667

and if you like come chat with us at #eggdrop dalnet or my channel on dalnet #computertech123
I have also tried to connect to us.dal.net 6667 to the same results on both eggdrop and irssi:

Code: Select all

17:07 -!- Irssi: Looking up us.dal.net
17:07 -!- Irssi: Connecting to us.dal.net [154.35.138.250] port 6667
17:07 -!- Irssi: Connection to us.dal.net established
17:07 -!- Irssi: Connection lost to us.dal.net
User avatar
ComputerTech
Master
Posts: 399
Joined: Sat Feb 22, 2020 10:29 am
Contact:

Post by ComputerTech »

hmm have you set all the areas for the bots name?
sometimes that happens to me, like you set one nick at one place then a different one at another place, just a suggestion

also
ir you like next time your on #eggdrop freenode say my nick "computertech" and i will come help i am also on dalnet if you want tell me your channel name and i can also help you out 8)
ComputerTech
s
simo
Revered One
Posts: 1108
Joined: Sun Mar 22, 2015 2:41 pm

Post by simo »

i believe it might be cause a free shell is used like xshellz wich uses the same IP and it has been seen as connection flood from same IP thats why it might be why it keeps disconnecting
w
willyw
Revered One
Posts: 1205
Joined: Thu Jan 15, 2009 12:55 am

Post by willyw »

simo wrote:i believe it might be cause a free shell is used like xshellz wich uses the same IP and it has been seen as connection flood from same IP thats why it might be why it keeps disconnecting
From a previous post here:
willyw wrote:...
I wouldn't have been surprised if it had been something like : too many connections from your ip , if your bot is on a popular shell.
Although I also expected that it would clearly say so.
For a fun (and popular) Trivia game, visit us at: irc.librairc.net #science-fiction . Over 300K Q & A to play in BogusTrivia !
s
simo
Revered One
Posts: 1108
Joined: Sun Mar 22, 2015 2:41 pm

Post by simo »

oh i must have overlooked that willyw
Last edited by simo on Thu May 21, 2020 8:39 pm, edited 1 time in total.
User avatar
ComputerTech
Master
Posts: 399
Joined: Sat Feb 22, 2020 10:29 am
Contact:

Post by ComputerTech »

why not just telnet the bot and set console +r and watch whats wrong
that what you can see if it's connection problem for the limit of the ip or something else.


ps simo not caesar it's willyw :P
ComputerTech
Post Reply