Menu

#75 Could not find router

v1.0_(example)
pending
None
1
2023-08-19
2021-04-18
Anonymous
No

DEBUG Open Settings dialog
DEBUG Create settings dialog
DEBUG Use entity encoding is true
DEBUG Saved settings [Settings: presets=[], useEntityEncoding=true, logLevel=ALL, routerFactoryClassName=org.chris.portmapper.router.sbbi.SBBIRouterFactory]
TRACE Connecting to router...
INFO Creating router factory for class org.chris.portmapper.router.sbbi.SBBIRouterFactory
DEBUG Router factory SBBI UPnP lib created
INFO Searching for routers...
DEBUG System property 'portmapper.locationUrl' not defined: discover routers automatically.
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:220)
at org.chris.portmapper.gui.PortMapperView$ConnectTask.doInBackground(PortMapperView.java:456)
at org.chris.portmapper.gui.PortMapperView$ConnectTask.doInBackground(PortMapperView.java:444)
at javax.swing.SwingWorker$1.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at javax.swing.SwingWorker.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
WARN Could not connect to router: Did not find a router

This is all the debug information I get (running PortMapper 2.1.1) I don't know how to resolve the issue, please advise.

Discussion

  • Christoph

    Christoph - 2021-04-24
    • status: open --> pending
    • assigned_to: Christoph
     
  • Christoph

    Christoph - 2021-04-24

    Hi Anonymous,

    please follow the troubleshooting guide at https://github.com/kaklakariada/portmapper#troubleshooting

    Kind regards,
    Christoph.

     
  • Anonymous

    Anonymous - 2021-04-24

    Hello Christoph,
    I followed the guide to no avail, but I have since found that having a network bridge active on the computer prevents detection of a gateway, this is none the less a great software tool, thank you for using your time to develop it.
    Best regards,
    Anonymous User.

     
  • Christoph

    Christoph - 2021-04-25

    Great to hear, thanks for the feedback! I will add this to the troubleshooting guide.

     
  • Anonymous

    Anonymous - 2023-08-19

    Hi. I also have the problem, that the router is not found.

    Here is my log info:

    INFO Using default configuration directory 'C:\Users\XXX\AppData\Roaming\UnknownApplicationVendor\PortMapper'.
    DEBUG Loading settings from file settings.xml
    DEBUG Got settings [Settings: presets=[XXX], 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: VirtualBox Host-Only Ethernet Adapter
    INFO Creating wildcard socket (for receiving multicast datagrams) on port: 1900
    INFO Joining multicast group: /239.255.255.250:1900 on network interface: Realtek PCIe GBE Family Controller
    INFO Created server (for receiving TCP streams) on: /192.168.178.3:17203
    INFO Creating bound socket (for datagram input/output) on: /192.168.178.3
    INFO Created server (for receiving TCP streams) on: /XXX:17209
    INFO Creating bound socket (for datagram input/output) on: /XXX
    INFO <<< UPnP service started successfully
    INFO Start searching PT3S for device type (UDADeviceTypeHeader) 'urn:schemas-upnp-org:device:InternetGatewayDevice:1'
    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:218)
    at org.chris.portmapper.gui.PortMapperView$ConnectTask.doInBackground(PortMapperView.java:434)
    at org.chris.portmapper.gui.PortMapperView$ConnectTask.doInBackground(PortMapperView.java:422)
    at java.desktop/javax.swing.SwingWorker$1.call(Unknown Source)
    at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
    at java.desktop/javax.swing.SwingWorker.run(Unknown Source)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.base/java.lang.Thread.run(Unknown Source)
    WARN Could not connect to router: Did not find a router

    Bold written IP is correct.

    I want to use the Portmapper for DS-Lite. I do have a second internet connection with 13 IPs (/28) where to put your Portmapper on a server. The router to this network does have the internal IP 192.168.178.3, not .1

     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB