miniupnp.tuxfamily.org Forum Index miniupnp.tuxfamily.org
The forum about miniupnp and libnatpmp
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

MiniUPnP returns HTTP code 401 (Unauthorised) for some queri

 
Post new topic   Reply to topic    miniupnp.tuxfamily.org Forum Index -> miniupnpc Bugs
View previous topic :: View next topic  
Author Message
cmsdloma



Joined: 27 Feb 2013
Posts: 5
Location: London, UK

PostPosted: Mon Dec 14, 2015 11:57 pm    Post subject: MiniUPnP returns HTTP code 401 (Unauthorised) for some queri Reply with quote

Hi,

I'm giving miniupnp another try. I have just compiled and installed version 1.9.20151212 onto my router box which runs Debian 7.

I can see the process running, and I can see the that it is listening on some UDP ports.

But when I try a diagnostic utility, such as "UPnP Port Works 3.1D", it finds my UPnP IGD and reports this message:

498 : GeneralControlUrls() - Failure: The remove server returned an error: (401) Unauthorized.

This occurs when it tries to query the UPnP peers on the LAN.

If I use the IP and port number mentioned in the miniupnp log, I can point my browser to it, and I get the UPnP XML without any problem.

Why do I get the HTTP 401 code using the Port Works test utility? Does MiniUPnPd block this query?

Are there any other UPnP test clients?

Many thanks,
Dave
Back to top
View user's profile Send private message
miniupnp
Site Admin


Joined: 14 Apr 2007
Posts: 1469

PostPosted: Tue Dec 15, 2015 10:58 am    Post subject: Reply with quote

I'm sorry, I cannot help you without error log.
miniupnpd log goes to /var/log/daemon

grep miniupnp /var/log/daemon

401 is for "Invalid Action"
you should have a line "SoapMethod: Unknown: xxxxxxxx" in the log file
_________________
Main miniUPnP author.
http://miniupnp.tuxfamily.org/
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    miniupnp.tuxfamily.org Forum Index -> miniupnpc Bugs All times are GMT
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


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP
© 2007 Thomas Bernard, author of MiniUPNP.