-
Notifications
You must be signed in to change notification settings - Fork 16
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
Could not find port mapping in IGD #39
Comments
@flydr2 You can see the return error message is saying "OnlyPermanentLeasesSupported". Do you have UPnP service enabled on your router? |
Yes an working with other applications.
…On Thu, Aug 15, 2019, 3:42 AM Ofek ***@***.***> wrote:
You can see the return error message is saying
"OnlyPermanentLeasesSupported".
Do you have UPnP service enabled on your router?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#39?email_source=notifications&email_token=ABG7MGUQAP4NEAZAOS3R5EDQEUCH5A5CNFSM4ILNIIB2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4LDFMQ#issuecomment-521548466>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABG7MGVOHQMSD7AZND2XSM3QEUCH5ANCNFSM4ILNIIBQ>
.
|
Can you please try to change LEASE_DURATION from 36000 to 0? Let me know the results. |
I had tried 0... Will try -1 and report back when done... |
-1 does not work... looks like the same thing |
Every documentation or advise I was able to find say 0 should do the trick. Then, please attach the file from this path (I am partly guessing this URL since it is not printed in the log): Then, if you are familiar with PostMan or any other tool that lets you send POST requests, please send the following (I am assuming you internal address is still 10.0.0.6): Method:
URL:
Headers:
I removed the Let's see if this sets the rule correctly. |
Here is the log with "0" |
As requested the xml... (Renamed it .txt) I will try to figure out what you want me to try with PostMan |
As requested the xml... (Renamed it .txt) I will try to figure out what you want me to try with PostMan |
@flydr2 Nice work following my requests :) I can see that using 0 results in a 200 OK response which is awesome and a good sign. Please make sure that the rule is not found in the router using the web UI. If it is, please delete it. Now, please add the following line to the body, as one of the parameters in the PostMan request you sent before? I am expecting to see 200 OK response this time, if not, we have another issue in the PostMan request. Make sure your Headers section in the PostMan app are set correctly too. If you do get 200 OK, please check the router config to see if you can find the rule using the Web UI. If you don't get 200, please run the code again with the lease duration const set to 0, and after it runs (and fails) a few times, please check the router for the rule. Let me know what happened. |
Hey @flydr2, any luck? |
Not at home for awhile...
|
I hope you're on vacation :) I have taken the liberty to remove your name and phone number from your message, since they are not publicly available at your GitHub profile. Probably added automatically. Cheers! |
Been trying to get UPnP to work with no success.
Seems to have multiple errors.
see attached log.txt
log.txt
The text was updated successfully, but these errors were encountered: