Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gateway info not valid #23

Open
StefanVerresen opened this issue Feb 25, 2019 · 2 comments
Open

Gateway info not valid #23

StefanVerresen opened this issue Feb 25, 2019 · 2 comments

Comments

@StefanVerresen
Copy link

StefanVerresen commented Feb 25, 2019

When using this library I keep on getting this error.
Is there a possibility to have an example of the 'LISTEN_PORT' because I do not clearly understand how thats works and I do not find any other examples than the 2 you have made.

Example: http://:<LISTEN_PORT>/?percentage=<0..100>
Mine: http://192.168.43.46:80/?percentage=20
What am I doing wrong?

image

@ofekp
Copy link
Owner

ofekp commented Feb 26, 2019

It is futile to try the URL http://192.168.43.46:80/?percentage=20 before the ports have been mapped.

It looks like your router does not respond to the M-SEARCH broadcast message.
Can you please make sure UPnP option is enabled on your router?

What is your setup? Is it just one router or more?

Let also see that you have set the config correctly, if you did, then you must have seen this:
https://github.com/ofekp/TinyUPnP/blob/master/examples/PWM_LEDServer/PWM_LEDServer.ino#L15

Please override all of the "<FILL THIS!>" if you did not do so already. I can see in the log that the WiFi connection is OK, but let's make sure everything is set up correctly.

@ofekp
Copy link
Owner

ofekp commented Mar 4, 2019

@StefanVerresen Please check what I mentioned.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants