Hi their.
Thanks for you input and suggestions. To give a response on the suggestion you mention.
First checkout the server side logs to see if any part of your failed requests are making it to your server. For example, are you receiving data when the request failed? In that case you should have logs on the server indicating the issue.
this was indeed our first thought. But the same problem / error appears on two total different endpoints. One AWS webhook and an external API of one of our connected partners.
Possibly you are getting routed to a server that you did not expect. You may also want to checkout your network topology here too.
i will indeed do some research here. We have it on 20+ other clients all on different locations. All on IOS 16. But indeed they have all the same OpenWrt router behind it. We will check if the same problem appears without router.
You're creating a new URLSessionobject for each iteration of this call. That is generally not a good idea. It should cause the issue you are seeing, but I wanted to mention it to aide your debugging forward.
thanks for this tip. To search for a solution we updated this full part of the code with Alomfire to see if it also happens with that. Unfortunately still the same problem.
So there is one thing we are missing here. 😐