Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

React Native "GET /onchange HTTP/1.1" - - "-" "okhttp/3.6.0" log after react native update

I've just updated from react native version 0.55 to 0.57.

After I start the project,

I keep on getting this log [20:04:52] ::ffff:(IP address) - - [03/Nov/2018:11:04:52 +0000] "GET /onchange HTTP/1.1" - - "-" "okhttp/3.6.0" [20:05:02] ::ffff:(IP address) - - [03/Nov/2018:11:05:02 +0000] "GET /onchange HTTP/1.1" - - "-" "okhttp/3.6.0" [20:05:13] ::ffff:(IP address) - - [03/Nov/2018:11:05:13 +0000] "GET /onchange HTTP/1.1" - - "-" "okhttp/3.6.0" [20:05:23] ::ffff:(IP address) - - [03/Nov/2018:11:05:23 +0000] "GET /onchange HTTP/1.1" - - "-" "okhttp/3.6.0" [20:05:33] ::ffff:(IP address) - - [03/Nov/2018:11:05:33 +0000] "GET /onchange HTTP/1.1" - - "-" "okhttp/3.6.0"

on console.log every 10 seconds. The project works fine though. What is this and why is this outputted on the console log? can i disable it?

like image 501
Eric Ahn Avatar asked Nov 29 '25 10:11

Eric Ahn


1 Answers

I faced the same issue. The problem is with the version of the expo-cli / react-native-cli you are using. My problem is solved after upgrading to the latest version. Try to upgrade your cli. If the problem still exists, try to upgrade your npm to the latest version and cache verify and then install the latest cli again.

like image 147
Muhaimenul Islam Avatar answered Dec 02 '25 03:12

Muhaimenul Islam



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!