Comments (4)
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.
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.
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.
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)
- ESP-IDF Support HOT 9
- TinyUPNP library makes my esp8266 crash and reset HOT 18
- How to configure diferent internal and external port? HOT 8
- Gateway info is not valid HOT 98
- Use WiFi Library Events
- Option for both local and external port (with code) HOT 3
- Gateway info is not valid HOT 3
- Invalid router info HOT 10
- Implementation for knowing what all services are present on the network HOT 12
- ERROR: Invalid router info, cannot continue HOT 3
- Cannot detect NOTIFY packets HOT 3
- Timeout expired while waiting for the gateway router to respond to M-SEARCH message HOT 9
- ESP32 arduino with Ethernet. HOT 19
- UPnP Errors 714 and 718 HOT 6
- TCP timeout while retrieving port mappings (ERROR: While updating UPnP port mapping. Failed with error code [5]) HOT 2
- Device is not discovered by UPnP Browser app. HOT 2
- Add an option to provide the description XML file to make setting the rules faster
- Error in UPnP ver. 3.1.4 HOT 6
- Esp32cam UPnP and EasyDDNS to No-Ip no connection HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tinyupnp.