Closed Android-X13 closed 2 years ago
May be try to play with SetOption41
Thanks @barbudor I'll try it. I see that the default is 60 but I'm sure the device is not accessible for more than that unless I run a network scan, so I still not get why nmap manages to wake up the device..
I'm closing this issue because it was moved to Discussions
PROBLEM DESCRIPTION
A clear and concise description of what the problem is.
I have a custom Termux task on my phone that sends specific web requests to an IR controller which is flashed with Tasmota. However 1 out of 5 times it fails to execute because Tasmota's web server apparently is not accesible for some reason.
If I repeat the task, it keeps failing, but I have noticed that I can successfully "wake up" the web server by running an nmap scan on the local network. Even the network scan usually doesn't find the device at the first try, so I have created another Termux task which runs the nmap scan in a loop until the Tasmota device responds. When I get a hit and the task exits successfuly, I can then continue sending my web requests normally until the next time.
Can anyone explain why this happens (as well as why nmap is able to "wake up" the device) and how it can be mitigated?
REQUESTED INFORMATION
Make sure your have performed every step and checked the applicable boxes before submitting your issue. Thank you!
Backlog Template; Module; GPIO 255
:Backlog Rule1; Rule2; Rule3
:weblog
to 4 and then, when you experience your issue, provide the output of the Console log: