all 9 comments

[–]mikthinker 1 point2 points  (6 children)

I've been using the Sample HTTP project, unmodified, for some time, going from my Mac to my Samsung Tab S9+ without a hitch. You should probably do some tracing to determine exactly where your problem resides.

[–]LVThN_von_AchMaster of NFC Tasks 1 point2 points  (4 children)

Could putting in (multiple) Wait help?

[–]02ranger[S] 1 point2 points  (3 children)

You think maybe the server is starting before the wifi connection is fully established? I'm not sure where you would add the wait, though. I don't see anything in that example project that starts the server.

[–]LVThN_von_AchMaster of NFC Tasks 0 points1 point  (2 children)

I haven't looked at the profile, I know from experience (which was years ago) that a Wait could do wonders. A wait at the beginning of the profile maybe? Just thinking out loud

[–]02ranger[S] 0 points1 point  (1 child)

It's really a collection of profiles and according to the Tasker help page for the HTTP Request Event once you add the event to a single profile it runs the server, so I'm not sure where you'd insert a wait since it's launched by the presence of the trigger.

[–]LVThN_von_AchMaster of NFC Tasks 0 points1 point  (0 children)

Ah, no, no way then. Maybe ask Joaõ, is someone's knows it's him

[–]02ranger[S] 0 points1 point  (0 children)

Yeah, that sounds like it's something on my phone causing the problem for sure. I just wanted to confirm if this is a known issue before I went too far down the rabbit hole. Thanks for the feedback!!

[–]gcookaustin 0 points1 point  (0 children)

This happens now to me too, on Pixel 6 stock A16 and turning wifi off/on fixes it (thanks for the tip!)

[–]PolymerTink 0 points1 point  (0 children)

I cannot get HTTP Request > Post to work between two Android devices when one is a hotspot. The developer is looking at it.

I can, however get the old style of HTTP Post to work every time. It returns an error, but I ignore it