egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

[Windrop]dequeue_sockets()errno = 128

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help
View previous topic :: View next topic  
Author Message
Rizyq
Voice


Joined: 01 Oct 2010
Posts: 6

PostPosted: Fri Oct 01, 2010 12:45 am    Post subject: [Windrop]dequeue_sockets()errno = 128 Reply with quote

I've been trying to set up Windrop for the past few days, and the latest error that I've gotten (and have been unable to fix) is:

dequeue_sockets()errno = 128 (Transport endpoint is not connected) on 6

And this repeats over and over.

I'm running the "runonce.bat" with -mn.

And, I read that this problem is with the "my-hostname" part of the Basic Settings.

I've tried a few things that I could think/read putting as it "localhost" and the hostname I get from googling "my hostname" as well as my IP (dunno why) and that's about it.

Please bare with me, as I'm a total newbie at this stuff, so I probably ended up doing something stupid.

EDIT:

I do not have a firewall running, so that can't be the problem.
Back to top
View user's profile Send private message
willyw
Revered One


Joined: 15 Jan 2009
Posts: 1175

PostPosted: Fri Oct 01, 2010 10:05 am    Post subject: Re: [Windrop]dequeue_sockets()errno = 128 Reply with quote

Rizyq wrote:

...
And, I read that this problem is with the "my-hostname" part of the Basic Settings.

...


Just curious - what happens if you don't use "my-hostname" setting at all.. ..Just leaving it commented out?

I ask, because I keep a Windrop set up, but not running. I find it handy for quick testing of most scripts.
I just checked its eggdrop.conf, and "my-hostname" is not used. It is commented out.

Quote:

And, I read that this problem is with the "my-hostname" part of the Basic Settings.


Where? Can you post a link?
Back to top
View user's profile Send private message
Rizyq
Voice


Joined: 01 Oct 2010
Posts: 6

PostPosted: Sat Oct 02, 2010 12:40 am    Post subject: Reply with quote

It doesn't work when I comment out my-hostname, sorry I forgot to mention that.

And the link:

http://windrop.sourceforge.net/faq.html#Windrop%20reports%20%27dequeue_sockets%28%29:%20errno%20=%20128%20%28Transport%20endpoint%20is%20not%20connected%29%27


The Windrop FAQ.

Quote:
A2: Make sure you are using the correct my-hostname and my-hostname in the 'BASIC SETTINGS' section of your eggdrop config file. In most cases these settings aren't required.


Is what it says.


I'd assume it saying "my-hostname" twice, one meant to say "my-ip"
Unless there's a second my-hostname I'm missing.

And, if I edit my "my-ip" from "127.0.0.1" or comment it out, I get another error, "Can't determine your hostname" or something like that.

EDIT:

If it matters, I'm using the most recent version of Windrop, V1.6.20 Handlen32.

I can try to use the one without Handlen, if you think that would help.

As well as being on Windows Vista, 64 bit, I believe.
Back to top
View user's profile Send private message
willyw
Revered One


Joined: 15 Jan 2009
Posts: 1175

PostPosted: Sat Oct 02, 2010 11:20 am    Post subject: Reply with quote

Thanks for the replies to the questions.

For what it may be worth, my test bot - the Windrop - is v 1.6.19, and runs under Win 7 64 bit.


Let's be sure about this:
Quote:

I do not have a firewall running, so that can't be the problem.


First, are absolutely sure you have no firewall? Some firewall software seems to be tricky, in that when you tell it to be "off", it really isn't.
What firewall software do you have? How many?

Also, what about a hardware firewall? Do you have a router?

What kind of internet connection do you have? cable, dsl, or... ?


Next, have you experimented with set nat-ip ?


Sorry that I can't be definitive,.. I wish I could. I'm thinking that if we keep digging, we'll turn up something. Smile Maybe somebody else will jump in here, as you keep reporting info.
Back to top
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Sat Oct 02, 2010 11:37 am    Post subject: Reply with quote

Setting my-ip to 127.0.0.1 is not a good idea, since that interface is a localhost-only interface (so your eggdrop will not be able to connect to the internet). Further, the IP address you specify here Must exist on one of the network interfaces on the host - so use the ipconfig program to check which IP addresses are available on your host.

Also, my-ip and my-hostname affects the very same internal setting, so setting both will cause the latter to overwrite the previous one (Thus, only set one of them, not both). my-ip will be used as is, while the my-hostname will trigger a dns lookup of the value, storing the resulting IP address.
_________________
NML_375, idling at #eggdrop@IrcNET
Back to top
View user's profile Send private message
Rizyq
Voice


Joined: 01 Oct 2010
Posts: 6

PostPosted: Sat Oct 02, 2010 4:46 pm    Post subject: Reply with quote

@Willyw
I just have the pre-installed windows firewall, which I completely disabled, and I checked it, and nothing should be blocking it with that.

I do have a router, and in one part of the config it say something about a port range, which I forwarded in my router.

I have my nat-ip set to my outside IP address (which I hope is correct, I might be wrong with that)

I don't think I've messed with that much.

@nml375

As I said, I'm a newbie to this all, and I'm assuming you mean the IPv4 Address (which I might be wrong Embarassed )

If I set it to my IPv4 adress (192.168.1.3 if it matters) I get "Couldn't look up your hostname" with My-hostname commented out.

With my-hostname set to "localhost"

or

If I set it to my hostname according to http://www.displaymyhostname.com/
I still get the same error.

And, if I set my-ip to "192.168.1.1" (My default gateway) I get:
"Failed to connect to irc.esper.net (Cannot assign requested address)"
For the same 3 hostnames above, I get the same error.

Same if I set my-ip to my outside IP, according to http://www.ipchicken.com
I still get the (Cannot assign request address)


And, I messed with my nat-ip with no difference.

Setting it to 192.168.1.3 or 192.168.1.1 , comment it out, or set it to my outside ip it makes no difference.
Back to top
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Sat Oct 02, 2010 6:06 pm    Post subject: Reply with quote

Rizyq:
The proper value for my-ip would then be "192.168.1.3". The "Couldn't look up your hostname" message should not be a fatal error (in fact, I can't even find it within the sourcecode of eggdrop). I wonder if this isn't a notice from the irc-server you are connecting to?

You can't set my-hostname to localhost, as this is just an alias for 127.0.0.1, which though a valid interface address, it's not routed outside your computer.

Since your eggdrop is behind a NAT (masquerading router/firewall), you should NOT set my-ip to your external address, you will need to set nat-ip to that value for dcc to work though.
_________________
NML_375, idling at #eggdrop@IrcNET
Back to top
View user's profile Send private message
willyw
Revered One


Joined: 15 Jan 2009
Posts: 1175

PostPosted: Sat Oct 02, 2010 6:44 pm    Post subject: Reply with quote

Rizyq:

Have you tried it on different servers/networks? or just one?
Back to top
View user's profile Send private message
Nimos
Halfop


Joined: 20 Apr 2008
Posts: 80

PostPosted: Sun Oct 03, 2010 2:31 pm    Post subject: Reply with quote

Well, I have exactly the same problem. I am using my Windrop installation for script-testing for a long time without errors until today.

I googled a bit, but didnt find any of the solutions helpful in my case... Now im reading this Threat, and on willyws post I just put .jump irc.freenode.net into my partyline, et voila, it connected regulary.

Our error seems to be a somehow serversided issue...

EDIT:
Update: Fixed the issue by setting the server to one of the subservers of my network. (For expample if you use qnet, set your server to "underworld1.no.quakenet.org")

Helped in my case!
Back to top
View user's profile Send private message
Rizyq
Voice


Joined: 01 Oct 2010
Posts: 6

PostPosted: Sun Oct 03, 2010 3:45 pm    Post subject: Reply with quote

That actually makes sense, thanks for all the help so far.


I'll test it out when I get home.

EDIT:

Well, I got it to connect to another IRC server, but after that I seemed to have messed something up in the config file, and if I use runonce.bat it closes right after I press a key :/

And I can't seem to find what the problem is, looking through the config file.
Back to top
View user's profile Send private message
willyw
Revered One


Joined: 15 Jan 2009
Posts: 1175

PostPosted: Sun Oct 03, 2010 6:29 pm    Post subject: Reply with quote

Try opening a cmd prompt window, first.
Navigate to your botdir with CD command.
Then try launching the bot with -n

Reference:
Code:

d:\windrop>eggdrop -h

Eggdrop v1.6.19 (C) 1997 Robey Pointer (C) 2008 Eggheads

Usage: eggdrop [options] [config-file]

Options:
  -h   help
  -n   Don't background; send all log entries to console.
  -nc  Don't background; display channel stats every 10 seconds.
  -nt  Don't background; use terminal to simulate DCC chat.
  -m   Create userfile.
  -h   Show this help.
  -v   Show version info, then quit.



d:\windrop>


As in:
eggdrop -n eggdrop.conf

This way, when the bot attempts to start, if it errors, etc., you should be able to see the errors in the cmd prompt window.

.
Back to top
View user's profile Send private message
Rizyq
Voice


Joined: 01 Oct 2010
Posts: 6

PostPosted: Sun Oct 03, 2010 6:50 pm    Post subject: Reply with quote

I currently have the RunOnce.bat (probably should have specified this) to run eggdrop -mn

(I'm not very familiar with command line, or .bat files, but I'm guessing this does the same thing)

adding "eggdrop.conf" to the end of the line, and/or removing the "m" from "-mn" doesn't help :/

I think I might have an older copy of my config file somewhere, I'll go search for it

EDIT:

And, with the older copy of the config file still closes.
The config file was the one I had when I first posted this thread.


EDIT [Again]:

Using the old config with a fresh install of Windrop (in a different directory, which doesn't really matter...) doesn't instantly close the command line.


EDIT:

I figured out the problem, it was because I had (accidently) un-commented a line about logging (I think) and I got it to work, and join the channel Smile

Issue resolved.


Should I edit the OP and add "[Resolved]" or something to the title?


EDIT:

Hmm (Idk if I should start a new thread for this or not...)

I got the bot all set up, /msg hello it, and set a password, and I got the "you can now run it without -m mode"

But, when I try to just run eggdrop.exe it opens then closes instantly.

If I do it with a .bat file with -n it works fine.


EDIT [Sorry for large amounts of edits, I do not like double-posting, especially while my topic is still most recent]:

I had another error with my bot, and I'm not sure whether or not I should start a new thread.

I'll just post it here, I guess...

Whenever I try to /dcc chat <botnick> or /ctcp <botnick> chat
I get an error (either on the IRC client, or in the command line) saying
"No Password set"

If it matters, I have bMotion installed, and I got it set up (I hope) correctly, but I can't enable it without use of one of those (Or telnet, which I'd rather not have to download a client, and such)

But, any way to fix the "No Password set" ?

I have myself in the owners list.
Back to top
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Mon Oct 04, 2010 2:20 pm    Post subject: Reply with quote

You can set a password using the PASS msg command.
_________________
NML_375, idling at #eggdrop@IrcNET
Back to top
View user's profile Send private message
Rizyq
Voice


Joined: 01 Oct 2010
Posts: 6

PostPosted: Mon Oct 04, 2010 5:21 pm    Post subject: Reply with quote

Alright, got that fixed...

Fixed all my problems for now, hopefully that's all Very Happy
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber