Giter Club home page Giter Club logo

Comments (8)

mjxu96 avatar mjxu96 commented on August 14, 2024

Hi, it seems that the backend does connect the frontend. Could you provide the command when launching the docker and what is your system os?

from carlaviz.

lynnpepin avatar lynnpepin commented on August 14, 2024

Hi, we're on Ubuntu 18.04 using the command docker run -it --network="host" -e CARLAVIZ_HOST_IP=localhost -e CARLA_SERVER_IP=localhost -e CARLA_SERVER_PORT=2000 mjxu96/carlaviz:0.9.9

This also happens when we run it with carlasim/carlaviz:latest

from carlaviz.

mjxu96 avatar mjxu96 commented on August 14, 2024

Are you using it in the local machine?

from carlaviz.

lynnpepin avatar lynnpepin commented on August 14, 2024

We're running both Carla and the CarlaViz Docker on a remote server, and ssh tunneling the port to our local machines to use CarlaViz in the browser.

from carlaviz.

mjxu96 avatar mjxu96 commented on August 14, 2024

Have you tunnelled the 8081 and 8089 ports? They are the ports used for the communications between frontend and backend.

Also, if your remote server has the external ip, you can replace the env CARLAVIZ_HOST_IP's value with your server's ip when launching the docker. Don't forget to make ports 8080(or 8083), 8081, 8089 and carla's ports open to your local machine.

Please let me know if this works for you.

from carlaviz.

lynnpepin avatar lynnpepin commented on August 14, 2024

Hi, I've tried again, forwarding ports 8080, 8081, and 8089, but we still have this issue.

Notably, we got it to work one time (when only forwarding ports 8080 and 8081), but we don't know why it worked

from carlaviz.

mjxu96 avatar mjxu96 commented on August 14, 2024

That is wired. Have you tried setting the env value when starting the docker?

from carlaviz.

lynnpepin avatar lynnpepin commented on August 14, 2024

We've found the issue -- it seems that we need to start Carla before CarlaViz-- starting Carla after CarlaViz leads to this issue! Thank you

from carlaviz.

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.