-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
When you first install the frontend, it takes way too long to load on first visiting the site as it's timing out trying to access the backend.
See:
frontend@0.1.0 start /project
> react-scripts start
time="2022-01-25T16:46:32Z" level=debug msg="wait program exit" program=devrun
time="2022-01-25T16:46:33Z" level=debug msg="no auth required"
SERVICE BACKEND IP ===> undefined
[HPM] Proxy created: / -> http://undefined:8080
ℹ 「wds」: Project is running at http://10.244.0.86/
ℹ 「wds」: webpack output is served from
ℹ 「wds」: Content not from webpack is served from /project/public
ℹ 「wds」: 404s will fallback to /
Starting the development server...
Compiled with warnings.
src/App.js
Line 1:8: 'logo' is defined but never used no-unused-vars
Search for the keywords to learn more about each warning.
To ignore, add // eslint-disable-next-line to the line before.
[HPM] Error occurred while proxying request odo.k8s.land/api/v1/todos to http://undefined:8080/ [ENOTFOUND] (https://nodejs.org/api/errors.html#errors_common_system_errors)The timeout for trying to access port :8080 of the backend should be much quicker / 5 seconds, rather than the current 20+ seconds it takes.
Metadata
Metadata
Assignees
Labels
No labels