WatchOS 7.4 beta extremely slow/failing willPerformHTTPRedirection

Our WatchOS app requires that http redirects work in a reasonably timely manner, and it has been the case until WatchOS 7.4 beta. Now in WatchOS 7.4 beta they take such a long time that the application simply hangs with no errors being returned back to the app.

We've looked at the release notes for WatchOS 7.4 beta and there's nothing in there about slow HTTP redirects. Has anyone experienced this issue with the latest 7.4 beta? Is this a known issue?

Thanks
Answered by sal_from_new_york in 668143022
Hi Matt,
with the latest WatchOS 7.4 beta 5 released yesterday, the issue is gone.


Since watchOS 7.4 is in Beta still I will speak from the context of the server side.

Now in WatchOS 7.4 beta they take such a long time that the application simply hangs with no errors being returned back to the app.

Are you able to verify that the network request is making it to your server and the server is responding with a valid redirect response? If so then I would open a bug report on this. If you are not able to verify that the request is making it to your server properly then I would continue to debug in this context.


Matt Eaton
DTS Engineering, CoreOS
meaton3@apple.com
Thanks for the suggestion Matt, I would love nothing more than to be able to debug this, but:

1) I can only debug in the simulator due to the pandemic (working remotely and connecting via VnC)

2) On the production version of Xcode 12.4 this works fine in the simulator

3) The beta 3 version of Xcode 12.5 I cannot get application context send/receive working for WatchOS 7.4 beta

4) Only hope is if once I get Xcode 12.5 working okay that I can duplicate this issue I've seen on real Apple Watch
Thanks for the follow up. You mentioned:

 The beta 3 version of Xcode 12.5 I cannot get application context send/receive working for WatchOS 7.4 beta

If you can port this code to a standard iOS app in Xcode 12.5 and your redirect runs fine, then this is absolutely bug report territory.

I can only debug in the simulator due to the pandemic

Do you have access to your server to see if the request hitting your server?


Matt Eaton
DTS Engineering, CoreOS
meaton3@apple.com
Accepted Answer
Hi Matt,
with the latest WatchOS 7.4 beta 5 released yesterday, the issue is gone.


WatchOS 7.4 beta extremely slow/failing willPerformHTTPRedirection
 
 
Q