Getting a Timeout Error connecting Expo client to my app

Using the expo client app to connect to my app on the pc via the QR code. I get the following error in the expo client app:

Uncaught Error: java.net.SocketTimeoutException:timeout 14.50.53 Fatal Error

My phone is connected to the same wireless network as my pc. I assume it’s some sort of network setting somewhere, no idea what though. Other devices on the same network connect and interact on the network fine.

I have a similar issue but only when viewing on Android emulator or when viewing on real device. Both tunnel and lan doesn’t work.

When I click to view the logs it says java.net.SocketTimeoutException: timeout.

But it works well on iOS simulator though.

Note that this only started happening after upgrading to expo 38.

I’ve just tried to run it via connecting my phone via usb debugging and it’s throwing a similar error:

Uncaught Error: java.netSocketTimeoutException:timeout 16:41:54 Fatal Error.

But when I try to visit ip:19000 directly on Android emulator chrome it does return the json but it takes awhile and that explains the timeout. The client is just not waiting enough, is there a way to increase client timeout?

Btw I also tried creating new bare project from scratch and I can confirm it also loads prolly because there’s not much dependency that the json file is smaller and returns faster.

Oh this is funny, after running that bare project I switched to my actual project and run it again and now I don’t get a timeout and my app starts loading on Android emulator again.

It feels like a cache of sorts got reset that it started working again. Weird, but at least I’m good for now.

Didn’t work for me, unfortunately. People have been reporting this problem for months in Google Play, pretty poor that the developers won’t fix it.