kratos-selfservice-ui-react-nextjs icon indicating copy to clipboard operation
kratos-selfservice-ui-react-nextjs copied to clipboard

Investigate IPv6 issues with`expo start --web` option

Open jonas-jonas opened this issue 3 years ago • 0 comments

Node 18 changed the lookup order for localhost to prefer IPv6 over IPv4 (see https://github.com/nodejs/node/issues/40537). Expo seems to only bind to IPv4 for now, which results in ECONNREFUSED errors when using wait-on to check for readyness of the React-native web server. This means, that the Kratos E2E tests can not be run on Node >= 18 because the ready-checks will never return true.

Initial investigation did not yield a way to set the IP address that the expo server listens on. Neither --host :: nor --localhost worked. This might be fixed by upgrading expo CLI though. That should be investigated in this issue.

jonas-jonas avatar Aug 23 '22 09:08 jonas-jonas