#29 "Cannot connect to the router" on modern Linux distros

v1.0_(example)
open
None
1
2015-04-11
2014-02-06
No

As in object. Maybe a newer build could fix it (dunno).

Environment:
Java) OpenJDK 7 / Sun JRE/JDK 6
OS) ArchLinux, everything up-to-date

If you write me how I can help you, I'll do ;)

Discussion

  • Giovanni Santini

    Also, on the same computer with Windows 8.1 and Oracle Java 7u51 works fine.

     
  • Christoph

    Christoph - 2014-02-10

    I don't know why it doesn't work on modern Linux systems. Maybe there where some changes that don't allow network broadcasts or there is a bug in the Linux JVM.

    You could try to start PortMapper with root rights. If this doesn't work, you could try to capture the network traffic and see, if PortMapper sends out the correct requests. But there is not much I can do there as I only use the UPnP libs and don't want to patch them on my own.

    I am planning to integrate a new UPnP lib (cling) which may work better. But I cannot tell you when I will have enough spare time.

     
  • Giovanni Santini

    Understood! So, a few things:
    - suggestion for capturing network traffic? Suggestion for apps?
    - tried with root account, same error. Is there a way to debug it better?
    If I report you the log would it be useful?
    - How can I build the project with Gradle, in order to test if a snapshot would work?

     
  • Christoph

    Christoph - 2014-02-11

    I would suggest Wireshark for capturing the network traffic.

    I don't think, that the log would be useful as it only shows events from PortMapper, not from the UPnP libs.

    In order to try new builds, just clone the git repo from https://github.com/kaklakariada/portmapper and run the following command from the project directory:

    gradlew run
    

    This will download the build tool gradle and all dependencies, and then build and run portmapper. You don't need to install anything. If you are behind a proxy you may need to add command line arguments.

     
  • Anonymous - 2014-02-12

    Oke! :)
    Is the Github repo yours?

     
  • Christoph

    Christoph - 2014-02-12

    yes, it is mine. I moved from sf to github

     
  • Christoph

    Christoph - 2015-04-11

    Please try version 2.0.0-alpha1 and use the new cling library. Just select Cling in the options and re-connect.

     


Anonymous

Cancel  Add attachments





Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks