Code Monkey home page Code Monkey logo

Comments (4)

playgamemy avatar playgamemy commented on September 21, 2024 1

I commented out the debugPrint(line) on line 707, in getIGDEventURLs().
But don't worry, I realise your serial baud rate is at 115200 while mine is at 9600. Once I pumped up the baud rate it solved the issue. Likely what I suspect the code run faster then serial print can chuck out and overflow the stack in memory.

May want to put a note to in readme as it is gonna be an issue as xml response can be huge at time and quickly clogging the serial port during debug.

(p.s. i was going to post another issue saying I have a 501 error after sending Addportmapping to IGD, but after spending 4 hours playing with the SOAP request that sent to IGD, thinking that was the issue, finally realise the real issue is I cannot do port forwarding behind mobile 3G/4G network, as the infrastructure is basically behind another commercial grade NAT on the provider side. In other hand, I have no Public IPv4 IP to start with. Though addportmapping function exists with the WANPPPCONNECTION:1 service available by my router (even listed on the xml), it simply is disabled and return error 501 - action failed when tried)

from tinyupnp.

playgamemy avatar playgamemy commented on September 21, 2024

Weird...I just made a change and comment the line to debugPrint(line), and no more error for that.... I don't know enough how serial print works... maybe the serial print bottleneck it and force it to store more line than needed, causing the stack overflow?

from tinyupnp.

ofekp avatar ofekp commented on September 21, 2024

Could be a memory capacity issue?
Can you point me to the exact line where it happened? The one you commented out.

Also, be aware that you can disable all prints using a flag in the .h file. Simply commenting this line should do the trick.

from tinyupnp.

ofekp avatar ofekp commented on September 21, 2024

Thanks for the information and being thorough.
Indeed, cellular companies hide you behind a Large Scale NAT and will not allow port forwarding.
Sometimes non cellular companies will do that too, and in most cases you can request them to stop, but with cellular it's a different story.
There are ways around it with VPN setups but I have no experience with that.
I will place a line about the baud rate, might help somebody.
Thanks!

from tinyupnp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.