Code Monkey home page Code Monkey logo

Comments (6)

RichardKnowles avatar RichardKnowles commented on May 17, 2024

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.

from k8s-fleetman.

mukeshjoshi04 avatar mukeshjoshi04 commented on May 17, 2024

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.

from k8s-fleetman.

DickChesterwood avatar DickChesterwood commented on May 17, 2024

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.

from k8s-fleetman.

mukeshjoshi04 avatar mukeshjoshi04 commented on May 17, 2024

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.

from k8s-fleetman.

DickChesterwood avatar DickChesterwood commented on May 17, 2024

Thanks. Are you deploying this to a https domain?

from k8s-fleetman.

mukeshjoshi04 avatar mukeshjoshi04 commented on May 17, 2024

No, its http domain.

from k8s-fleetman.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.