Integrate django restframework + reactjs + regis + third party database to Google Cloud Platform's Cloud Run
Budget: $10 – $30 USD
Hi, I've been stuck publishing the website to google cloud platform's cloud run. It just gives random errors that I'm not sure how to handle.
- The project works locally but not over GCP Cloud Run
Errors over GCP
1. - websocket.js:25 WebSocket connection to 'wss://****/ws/chat/undefined/' failed:
Most likely regis fail integration becuase locally docker run -p 6379:6379 -d redis:5 has to be run
2. xhr.js:177 GET http://127.0.0.1:8000/uploads/preview-sales-posts?q=&page=1&lat=55.45338959999999&long=13.0232347&dist=9999999 net::ERR_CONNECTION_REFUSED 200(anonymous) @ xhr.js:177
For some reason it tries to get sales posts from localhost even if I specified another address.
3. react_devtools_backend.js:2540 Google Maps JavaScript API error: InvalidKeyMapError
https://developers.google.com/maps/documentation/javascript/error-messages#invalid-key-map-error
Keep in mind the key works when doing it locally for some reason
Feel free to PM to discuss it further. Thanks :)
- The project works locally but not over GCP Cloud Run
Errors over GCP
1. - websocket.js:25 WebSocket connection to 'wss://****/ws/chat/undefined/' failed:
Most likely regis fail integration becuase locally docker run -p 6379:6379 -d redis:5 has to be run
2. xhr.js:177 GET http://127.0.0.1:8000/uploads/preview-sales-posts?q=&page=1&lat=55.45338959999999&long=13.0232347&dist=9999999 net::ERR_CONNECTION_REFUSED 200(anonymous) @ xhr.js:177
For some reason it tries to get sales posts from localhost even if I specified another address.
3. react_devtools_backend.js:2540 Google Maps JavaScript API error: InvalidKeyMapError
https://developers.google.com/maps/documentation/javascript/error-messages#invalid-key-map-error
Keep in mind the key works when doing it locally for some reason
Feel free to PM to discuss it further. Thanks :)