Menu

#57 Could not connect to router: Did not find a router

v1.0_(example)
pending
router (1)
1
2020-02-16
2016-08-26
Anonymous
No

Hello, I have a problem when searching devices with portmapper. Upnp is enabled on the router, my windows firewall is disabled, i haven't got any antivirus installed.

Here is the log :

WARN unspecified resource Application.vendorId using UnknownApplicationVendor
INFO Using default configuration directory 'C:\Users\Nicolas\AppData\Roaming\UnknownApplicationVendor\PortMapper'.
DEBUG Loading settings from file settings.xml
DEBUG Got settings [Settings: presets=[testt], useEntityEncoding=true, logLevel=INFO, routerFactoryClassName=org.chris.portmapper.router.cling.ClingRouterFactory]
INFO Creating router factory for class org.chris.portmapper.router.cling.ClingRouterFactory
INFO Searching for routers...
INFO >>> Starting UPnP service...
INFO Using configuration: org.fourthline.cling.DefaultUpnpServiceConfiguration
INFO Creating Router: org.fourthline.cling.transport.RouterImpl
INFO Creating wildcard socket (for receiving multicast datagrams) on port: 1900
INFO Joining multicast group: /239.255.255.250:1900 on network interface: LogMeIn Hamachi Virtual Ethernet Adapter #2
INFO Creating wildcard socket (for receiving multicast datagrams) on port: 1900
INFO Joining multicast group: /239.255.255.250:1900 on network interface: NETGEAR A6210 WiFi USB3.0 Adapter
INFO Created server (for receiving TCP streams) on: /25.142.234.87:56124
INFO Creating bound socket (for datagram input/output) on: /25.142.234.87
INFO Created server (for receiving TCP streams) on: /192.168.1.13:56127
INFO Creating bound socket (for datagram input/output) on: /192.168.1.13
INFO <<< UPnP service started successfully
WARN Could not connect to router: Did not find a router
org.chris.portmapper.router.RouterException: Did not find a router
at org.chris.portmapper.PortMapperApp.connectRouter(PortMapperApp.java:207) ~[portmapper-2.0.0-alpha3%20(3).jar:na]
at org.chris.portmapper.gui.PortMapperView$ConnectTask.doInBackground(PortMapperView.java:439) ~[portmapper-2.0.0-alpha3%20(3).jar:na]
at org.chris.portmapper.gui.PortMapperView$ConnectTask.doInBackground(PortMapperView.java:427) ~[portmapper-2.0.0-alpha3%20(3).jar:na]
at javax.swing.SwingWorker$1.call(Unknown Source) ~[na:1.8.0_101]
at java.util.concurrent.FutureTask.run(Unknown Source) ~[na:1.8.0_101]
at javax.swing.SwingWorker.run(Unknown Source) ~[na:1.8.0_101]
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) ~[na:1.8.0_101]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) ~[na:1.8.0_101]
at java.lang.Thread.run(Unknown Source) ~[na:1.8.0_101]
WARN Could not connect to router: Did not find a router
INFO Timeout of 60 seconds while waiting for HTTP request to complete, aborting: (StreamRequestMessage) GET http://192.168.1.1:60000/2be3b11a/gatedesc.xml
WARN Device descriptor retrieval failed, no response: http://192.168.1.1:60000/2be3b11a/gatedesc.xml

Discussion

  • Anonymous

    Anonymous - 2016-08-30

    Got the same problem

     
  • Anonymous

    Anonymous - 2016-09-23

    DEBUG Found service of wrong type urn:schemas-wifialliance-org:device:WFADevice:1, expected urn:schemas-upnp-org:device:InternetGatewayDevice:1.
    DEBUG Did not find a service after 5 seconds
    WARN Could not connect to router: Did not find a router

     
  • Christoph

    Christoph - 2016-10-08

    Can you please try to enable UPnP in your router or try a different UPnP library in PortMapper?

     
  • Christoph

    Christoph - 2016-10-08
    • status: open --> pending
    • assigned_to: Christoph
     
  • Anonymous

    Anonymous - 2016-11-05

    Hello
    You should use weUpNPRouterFactory for your MapperSettings. It works for me.
    Thanks

     
  • Anonymous

    Anonymous - 2020-02-16

    Hello
    You should use weUpNPRouterFactory for your MapperSettings. It works for me.
    Thanks

    Can confirm this worked for me, thanks for the tip.

     

Anonymous
Anonymous

Add attachments
Cancel