Closed mukeshjoshi04 closed 1 year ago
Are you on the course with Udemy, VPP or Manning or just using the files from the repo? It's very likely that there's some critical step on a course video somewhere that's missing. If you are on the course, then can you go to the QA board on the course supplier, we monitor those boards constantly so we should be able to get you up and running quickly.
Needed for full diagnostics:
kubectl get all
Full description of what's happening - if no vehicle reports but the map is rendering, then a copy of the javscript console log.
Solved: I have checked console log. problem we need to update the api: by hitting the url : {loadbalancer-IP}/api/update then it worked perfectly.
Thanks for letting me know: I'm not entirely sure what you're doing - just running the system? It shouldn't be necessary to change api urls though, it should just work. Where did you make this change? The webapp Javscript code accesses the /api/update url to set up the websocket connection, but it should automatically be "calling back" to the original server, so the loadbalancer ip should be inferred as being the same.
In my local system everything works perfectly fine. In case aws . when we hit load balancer Ip on the browser, it only display maps. If you inspect the webpage there is a error as follow:
Error during WebSocket connecttion to {LoadBalanecer IP}: 'Upgrade header is missing and a url is there {loadbalancer-IP}/api/update.
After hitting the url reports starts.
Thanks. Are you deploying this to a https domain?
No, its http domain.
My deployments:
https://github.com/DickChesterwood/k8s-fleetman/files/3914876/workload_service_storage_mongo-stack.zip
application not working properly