Failed to Login on some device

So We developed an application for digital signature, but when user install it and then try to log in it shows "Something went wrong, or check your internet connection" but it happens random. sometimes on iPad device, sometimes on X series device.

If anyone ever experience it, please kindly help how to fix it

Thanks