Official eMule-Board: False Upnp Failure Message? - Official eMule-Board

Jump to content


  • (2 Pages)
  • +
  • 1
  • 2

False Upnp Failure Message? UPNP fails, but still end up with High ID & KAD Open

#1 User is offline   bbbl67 

  • Member
  • PipPip
  • Group: Members
  • Posts: 15
  • Joined: 10-July 04

Posted 10 August 2011 - 02:04 AM

On my Win7 desktop, when I run Emule, the log sometimes (guestimate, 75% of the time) says that my UPNP has failed to forward the ports, yet I see that I've connected with High ID, and KAD even says Open. I am using a Dlink WBR-2310 router as my gateway; I rechecked the settings of the router, and I haven't done any special manual forwardings for Emule on it, I rely solely on UPNP. I have an XP laptop from which I use Emule too from time to time, and I'd get the UPNP failed message there too, but there the message actually means what it says, it results in a Low ID and KAD Firewalled.

Is this any known problem?
0

#2 User is offline   SS1900 

  • Golden eMule
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 3,509
  • Joined: 15-November 08

Posted 10 August 2011 - 09:50 AM

have you enable the UPnP feature in your router ? it's in advanced>advanced network > http://support.dlink...adv_network.htm


:flowers:
0

#3 User is offline   xilolee 

  • EMULE 0.50A USER
  • PipPipPipPipPipPipPip
  • Group: Italian Moderators
  • Posts: 6,326
  • Joined: 20-August 08

Posted 10 August 2011 - 01:43 PM

In your xp laptop you ought to install the framework upnp from windows cd, then you ought to put the framework upnp in the win xp firewall exceptions.
INCONCEIVABLE! - You keep using that word. I do not think it means what you think it means.
italian guides - guide della sezione italiana --- come ottenere aiuto
italian support - sezione italiana --- scaricare la lista server --- i filtri ip
ottenere id alto --- aprire le porte nel router --- recuperare file corrotti
Sembra talco ma non è serve a darti l'allegrIa! Se lo lanci e poi lo respiri ti dà subito l'allegrIa!
0

#4 User is offline   bbbl67 

  • Member
  • PipPip
  • Group: Members
  • Posts: 15
  • Joined: 10-July 04

Posted 10 August 2011 - 02:45 PM

View PostSS1900, on 10 August 2011 - 09:50 AM, said:

have you enable the UPnP feature in your router ? it's in advanced>advanced network > http://support.dlink...adv_network.htm

Yes, it's on. As I said, UPNP does occasionally come back and show a successful operation, so the UPNP feature is definitely turned on.

View Postxilolee, on 10 August 2011 - 01:43 PM, said:

In your xp laptop you ought to install the framework upnp from windows cd, then you ought to put the framework upnp in the win xp firewall exceptions.

I should've mention that on the XP laptop that UPNP does work sometimes, so the UPNP framework is working on it. I just gave the XP machine as an example of something that shows the as-expected behaviour: when the UPNP works it gets a High ID, when it doesn't work it gets a Low ID. The Win7 machine on the other hand shows the odd behaviour where it works regardless of whether UPNP comes back and says it was successful or not.
0

#5 User is offline   xilolee 

  • EMULE 0.50A USER
  • PipPipPipPipPipPipPip
  • Group: Italian Moderators
  • Posts: 6,326
  • Joined: 20-August 08

Posted 10 August 2011 - 02:58 PM

Is it possible you have disabled "remove upnp port forwardings on exit" (options extended)?
In this case, probably (because i haven't tried) your ports are already opened and emule upnp fails, but you receive high id (if the IP of your pc doesn't change between pc restarts).

This post has been edited by xilolee: 10 August 2011 - 02:59 PM

INCONCEIVABLE! - You keep using that word. I do not think it means what you think it means.
italian guides - guide della sezione italiana --- come ottenere aiuto
italian support - sezione italiana --- scaricare la lista server --- i filtri ip
ottenere id alto --- aprire le porte nel router --- recuperare file corrotti
Sembra talco ma non è serve a darti l'allegrIa! Se lo lanci e poi lo respiri ti dà subito l'allegrIa!
0

#6 User is offline   bbbl67 

  • Member
  • PipPip
  • Group: Members
  • Posts: 15
  • Joined: 10-July 04

Posted 10 August 2011 - 07:39 PM

View Postxilolee, on 10 August 2011 - 09:58 AM, said:

Is it possible you have disabled "remove upnp port forwardings on exit" (options extended)?
In this case, probably (because i haven't tried) your ports are already opened and emule upnp fails, but you receive high id (if the IP of your pc doesn't change between pc restarts).

I don't know, I'll go check... I see that that option is checked. Should I try to disable it, or leave it as is?
0

#7 User is offline   xilolee 

  • EMULE 0.50A USER
  • PipPipPipPipPipPipPip
  • Group: Italian Moderators
  • Posts: 6,326
  • Joined: 20-August 08

Posted 10 August 2011 - 07:57 PM

No, i have attempted an explanation of that behaviour.
Another explanation could be that you cut off the power to your pc but not to your router and when you reconnect emule upnp fails, but emule has got high id because ports remain forwarded into the router.
INCONCEIVABLE! - You keep using that word. I do not think it means what you think it means.
italian guides - guide della sezione italiana --- come ottenere aiuto
italian support - sezione italiana --- scaricare la lista server --- i filtri ip
ottenere id alto --- aprire le porte nel router --- recuperare file corrotti
Sembra talco ma non è serve a darti l'allegrIa! Se lo lanci e poi lo respiri ti dà subito l'allegrIa!
0

#8 User is offline   bbbl67 

  • Member
  • PipPip
  • Group: Members
  • Posts: 15
  • Joined: 10-July 04

Posted 11 August 2011 - 02:19 PM

View Postxilolee, on 10 August 2011 - 02:57 PM, said:

No, i have attempted an explanation of that behaviour.
Another explanation could be that you cut off the power to your pc but not to your router and when you reconnect emule upnp fails, but emule has got high id because ports remain forwarded into the router.

When you say cut power, do you mean shutdown uncleanly? I do normally keep the router constantly turned on, while the PC can get shutdown. But the PC gets shutdown cleanly, and Emule is often closed manually before shutting down the PC.

But I will try to reboot the router and see if you are right.

Update: I have now tried this, and it looks like the problem seems to occur after the PC is put into sleep or hibernate state while Emule is running. After the PC comes back from the standby state, the Emule has its full port forwardings available. Then after you close Emule and wait awhile, and restart Emule, Emule will no longer be able to get UPNP to work. So it seems like after coming back from the sleep state, Emule is unable to close the UPNP port forwardings, so the next time it starts, it is also unable to open the UPNP port forwardings.

This post has been edited by bbbl67: 11 August 2011 - 03:38 PM

0

#9 User is offline   xilolee 

  • EMULE 0.50A USER
  • PipPipPipPipPipPipPip
  • Group: Italian Moderators
  • Posts: 6,326
  • Joined: 20-August 08

Posted 11 August 2011 - 08:51 PM

Yes, uncleanly (i'd say brutally :) )

For your update, I've understood from your first post that you had high id with UPNP although it showed unsuccesful state...

Anyway, if you (and other people) confirm this behaviour, this could be a bug of windows or a bug of UPNP library...
INCONCEIVABLE! - You keep using that word. I do not think it means what you think it means.
italian guides - guide della sezione italiana --- come ottenere aiuto
italian support - sezione italiana --- scaricare la lista server --- i filtri ip
ottenere id alto --- aprire le porte nel router --- recuperare file corrotti
Sembra talco ma non è serve a darti l'allegrIa! Se lo lanci e poi lo respiri ti dà subito l'allegrIa!
0

#10 User is offline   fox88 

  • Golden eMule
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 3,710
  • Joined: 13-May 07

Posted 12 August 2011 - 07:10 AM

You should manually close eMule before shutting down computer.
You should prevent hibernation when eMule is running. As far as I remember, eMule cannot redo UPnP port forwarding after hibernation.
0

#11 User is offline   bbbl67 

  • Member
  • PipPip
  • Group: Members
  • Posts: 15
  • Joined: 10-July 04

Posted 13 August 2011 - 02:53 AM

View Postxilolee, on 11 August 2011 - 04:51 PM, said:

Anyway, if you (and other people) confirm this behaviour, this could be a bug of windows or a bug of UPNP library...

Yeah, that's what I was thinking too. Also, before Emule shuts down, it does not list in its log window whether it has successfully or unsuccessfully turned UPNP off. Also is there a place where you can read the Emule log even after it's closed?

View Postfox88, on 12 August 2011 - 03:10 AM, said:

You should manually close eMule before shutting down computer.
You should prevent hibernation when eMule is running. As far as I remember, eMule cannot redo UPnP port forwarding after hibernation.

Yes, Emule doesn't attempt to redo the UPNP forwarding after coming back from the sleep state, but fortunately it looks like the UPNP state persists throughout the sleep period of the PC, as long as the router itself doesn't also get rebooted. That seems to be a good feature, but it looks like UPNP cannot be turned off during the proper close of Emule later.
0

#12 User is offline   torpon 

  • I'm so tired
  • PipPipPipPipPipPipPip
  • Group: Moderator
  • Posts: 21,256
  • Joined: 20-January 05

Posted 13 August 2011 - 06:46 AM

Tick "Save log to disk" in Options/Extended

Cheers :D

#13 User is offline   bbbl67 

  • Member
  • PipPip
  • Group: Members
  • Posts: 15
  • Joined: 10-July 04

Posted 15 August 2011 - 03:10 PM

View Posttorpon, on 13 August 2011 - 02:46 AM, said:

Tick "Save log to disk" in Options/Extended

Cheers :D

Thanks, I've now done this, and now do you know where this log file is kept and what it's called?
0

#14 User is offline   torpon 

  • I'm so tired
  • PipPipPipPipPipPipPip
  • Group: Moderator
  • Posts: 21,256
  • Joined: 20-January 05

Posted 15 August 2011 - 08:46 PM

The folder depends on your choice about sharing files (Shared usage), the file is emule.log

Cheers :D

#15 User is offline   bbbl67 

  • Member
  • PipPip
  • Group: Members
  • Posts: 15
  • Joined: 10-July 04

Posted 16 August 2011 - 07:05 PM

View Posttorpon, on 15 August 2011 - 04:46 PM, said:

The folder depends on your choice about sharing files (Shared usage), the file is emule.log

Cheers :D

Okay, looks like it's in c:\users\{username}\appdata\local\emule\logs under Windows 7. That's the environment variable known as %LOCALAPPDATA%. Might be just %APPDATA% under Windows XP.
0

#16 User is offline   bbbl67 

  • Member
  • PipPip
  • Group: Members
  • Posts: 15
  • Joined: 10-July 04

Posted 16 August 2011 - 07:10 PM

Okay here's an extract from the log file when the UPNP fails, but I still get a High ID:

16/08/2011 2:20:02 PM: Starting eMule v0.50a
16/08/2011 2:20:02 PM: Found 141 known shared files
16/08/2011 2:20:03 PM: Credit file loaded, 13510 clients are known
16/08/2011 2:20:03 PM: Trying to setup port forwardings with UPnP...
16/08/2011 2:20:04 PM: 248 servers in server.met found
16/08/2011 2:20:04 PM: No part files found
16/08/2011 2:20:04 PM: eMule Version 0.50a ready
16/08/2011 2:20:04 PM: Connecting to the network is delayed, because UPnP is still busy configuring the port forwardings.
16/08/2011 2:20:04 PM: Please wait some seconds, eMule will connect as soon as UPnP finished.
16/08/2011 2:20:05 PM: No new eMule version detected.
16/08/2011 2:20:23 PM: Connecting
16/08/2011 2:20:23 PM: Connecting to La Cosa Nostra 3 (85.159.232.83:6111)...
16/08/2011 2:20:23 PM: Read 200 contacts from file.
16/08/2011 2:20:23 PM: UPnP failed to setup port forwardings, please foward those ports manually if necessary!
16/08/2011 2:20:23 PM: Connected to La Cosa Nostra 3 (85.159.232.83:6111), sending login request
16/08/2011 2:20:24 PM: Connecting to Sweet Software (77.247.179.7:5231)...
16/08/2011 2:20:24 PM: Connected to Sweet Software (77.247.179.7:5231), sending login request
16/08/2011 2:20:24 PM: Connection established on: La Cosa Nostra 3 (85.159.232.83:6111)
16/08/2011 2:20:24 PM: New client ID is 1344543302
16/08/2011 2:20:24 PM: Received 1 new servers
16/08/2011 2:20:49 PM: Closing eMule

0

#17 User is offline   torpon 

  • I'm so tired
  • PipPipPipPipPipPipPip
  • Group: Moderator
  • Posts: 21,256
  • Joined: 20-January 05

Posted 16 August 2011 - 10:30 PM

You server list is plenty of fake servers and fake servers can give you false high id. Start by getting a reliable server list.

Cheers :D

#18 User is offline   bbbl67 

  • Member
  • PipPip
  • Group: Members
  • Posts: 15
  • Joined: 10-July 04

Posted 17 August 2011 - 04:23 PM

View Posttorpon, on 16 August 2011 - 06:30 PM, said:

You server list is plenty of fake servers and fake servers can give you false high id. Start by getting a reliable server list.

Cheers :D

How do you know they are fake servers?
0

#19 User is offline   xilolee 

  • EMULE 0.50A USER
  • PipPipPipPipPipPipPip
  • Group: Italian Moderators
  • Posts: 6,326
  • Joined: 20-August 08

Posted 17 August 2011 - 05:33 PM

Because you have 248 servers in your list, but real and working servers are less than 15.
Check gruk or peerates lists!
INCONCEIVABLE! - You keep using that word. I do not think it means what you think it means.
italian guides - guide della sezione italiana --- come ottenere aiuto
italian support - sezione italiana --- scaricare la lista server --- i filtri ip
ottenere id alto --- aprire le porte nel router --- recuperare file corrotti
Sembra talco ma non è serve a darti l'allegrIa! Se lo lanci e poi lo respiri ti dà subito l'allegrIa!
0

#20 User is offline   bbbl67 

  • Member
  • PipPip
  • Group: Members
  • Posts: 15
  • Joined: 10-July 04

Posted 17 August 2011 - 07:12 PM

View Postxilolee, on 17 August 2011 - 01:33 PM, said:

Because you have 248 servers in your list, but real and working servers are less than 15.
Check gruk or peerates lists!

Most of those get updated automatically whenever I connect to various servers. I assume they know which servers are real and which ones aren't.
0

  • Member Options

  • (2 Pages)
  • +
  • 1
  • 2

Fast Reply

  

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users