Authentication Hang

I posted my thread in the wrong forum.

Using the code below causes a hang for 2 - 3 seconds. Is this a known issue?

Utilities.CheckForInternetConnection()

Is there going to be a async version of this and should this be used when checking for internet when authenticating?

I am getting no answers in the Authentication forum (probably because its remote config).

Is there any insight into this?

Thanks

I’m having a similar problem on my side.
I have thuis webgl game, running on a local react server.

  • Utilities.CheckForInternetConnection()

When I call the method, the browser process halt and go on 100% of cpu alocation. (because I have a 9900k it’s get 10% ~of the total cpu of the machine.)

I’m right now removing this internet test (CheckForInternetConnection) from my webgl builds, and will keep it on other platforms where it is more meningful.

I also found this to be super slow, and not actually required. Just do authentication as usual, but catch the relevant exceptions. Preemptively checking for internet connectivity doesn’t achieve anything. You have to handle no internet connectivity on all the calls anyway, in the event the user had connectivity but lost it.