Http request doesn't timeout
Moderator: Martin
Http request doesn't timeout
Hi!
Since a week or three I'm on a Android 5.1 device. Now I seem to have a problem (don't know when it started, just saw it this week) with the timeout on http request.
I'm using a http request to determine if my computer at home is on or not. If the request throws a time out: it's off. When the http server responds it works perfectly. But is it doesn't: the action doen't time out, but hangs (the flow is still executing after an hour and the http request action is "red"/shows active).
This has worked perfectly before. Is this a bug on Android 5.1?
Since a week or three I'm on a Android 5.1 device. Now I seem to have a problem (don't know when it started, just saw it this week) with the timeout on http request.
I'm using a http request to determine if my computer at home is on or not. If the request throws a time out: it's off. When the http server responds it works perfectly. But is it doesn't: the action doen't time out, but hangs (the flow is still executing after an hour and the http request action is "red"/shows active).
This has worked perfectly before. Is this a bug on Android 5.1?
Re: Http request doesn't timeout
Hi,
I'm not aware about a bug about this on Android 5.1 but it might be caused by a ROM specific bug. What device model are you using? Custom ROM?
A short test seems to work on my device. Is your machine reachable from the internet? If yes, could you send me a test action by mail to info@automagic4android.com so I can try to reproduce this issue?
Does the action stop when you open the flow and press menu->Stop?
Thanks & Regards,
Martin
I'm not aware about a bug about this on Android 5.1 but it might be caused by a ROM specific bug. What device model are you using? Custom ROM?
A short test seems to work on my device. Is your machine reachable from the internet? If yes, could you send me a test action by mail to info@automagic4android.com so I can try to reproduce this issue?
Does the action stop when you open the flow and press menu->Stop?
Thanks & Regards,
Martin
Re: Http request doesn't timeout
Hi!
I have a Fairphone 2. It's not a custom rom, essentially it is stock android with a bit added functionality from Fairphone.
Yesterday I did some testing, it seemed to work perfectly. Today it didn't. I realized that the difference was wifi versus 4G. Wifi works without a problem. On 4G the problem persisted (I restarted my phone to test if it might be a problem with that).
I'll send you a simple flow, but there is nothing special about it. Just a http call to an endpoint that might not be alive (which is what I try to test at that moment).
edit: Oh... and no. There is no way to stop the flow from executing. Hitting menu->stop flow doesn't seem to matter.
I have a Fairphone 2. It's not a custom rom, essentially it is stock android with a bit added functionality from Fairphone.
Yesterday I did some testing, it seemed to work perfectly. Today it didn't. I realized that the difference was wifi versus 4G. Wifi works without a problem. On 4G the problem persisted (I restarted my phone to test if it might be a problem with that).
I'll send you a simple flow, but there is nothing special about it. Just a http call to an endpoint that might not be alive (which is what I try to test at that moment).
edit: Oh... and no. There is no way to stop the flow from executing. Hitting menu->stop flow doesn't seem to matter.
Re: Http request doesn't timeout
I can still not reproduce this issue however I'm aware that the implementation of this specific feature highly differs between ROMs.
Can you please turn on Debug Log and Log to SD card in the preferences of Automagic, reproduce the problem, wait an additional 30 minutes and then send the log to me (menu->Manage->Log, menu->Send Log)?
Can you please turn on Debug Log and Log to SD card in the preferences of Automagic, reproduce the problem, wait an additional 30 minutes and then send the log to me (menu->Manage->Log, menu->Send Log)?
Re: Http request doesn't timeout
I will do that today. Thanks!
Re: Http request doesn't timeout
Thanks for the logs! I think I have found the issue.
Would be great if you could test the next EAP-version of Automagic which should fix this problem. A new EAP build should become available within the next few days.
Regards,
Martin
Would be great if you could test the next EAP-version of Automagic which should fix this problem. A new EAP build should become available within the next few days.
Regards,
Martin
Re: Http request doesn't timeout
No problem!
I'll be glad to perform the test. Let me know when the test version is available.
I'll be glad to perform the test. Let me know when the test version is available.
Re: Http request doesn't timeout
The new EAP-build is available now. Let me know when it still fails.
Re: Http request doesn't timeout
Ok, thanks!
I installed it. Let you know if the problems reoccurs or not.
I installed it. Let you know if the problems reoccurs or not.
Re: Http request doesn't timeout
Hi,
It seems to work fine with the fix. Thanks!
It seems to work fine with the fix. Thanks!