Code Monkey home page Code Monkey logo

Comments (10)

ihinckle avatar ihinckle commented on May 27, 2024 1

yes, i have verified that all the ports match up and that i am attempting to use webdash through the exposed port. even set up a container with webdash's default port as the exposed port. im thinking that when it breaks it is somehow blocking further processing.

from webdash.

jadjoubran avatar jadjoubran commented on May 27, 2024

Thanks @ihinckle
I think webdash should be running even though you get this error
Have you tried going to http://localhost:3000 ?
This is failing because we're trying to open the url in your browser but that's failing under docker
Even though I wrapped it with try catch

Let's see with you first if it's working and then I'll figure out how to fix it or suppress the message or even add a --no-open flag

from webdash.

ihinckle avatar ihinckle commented on May 27, 2024

unfortunately i get
'localhost didn’t send any data.'
when i visit the page.

but if i run webdash on the host os in the exact same folder it will work. id love to look into it myself as well but im just starting my trip down the docker rabbit hole.

from webdash.

jadjoubran avatar jadjoubran commented on May 27, 2024

ah okay
I've never worked with Docker but isn't this about Docker port mapping/forwarding/exposing?

from webdash.

ihinckle avatar ihinckle commented on May 27, 2024

ive double checked the setup for the ports. i can for example host an angular app through that port.

from webdash.

jadjoubran avatar jadjoubran commented on May 27, 2024

so you're sure it's port 3456 right?
if not, then are you passing -p 8000 for example?

from webdash.

jadjoubran avatar jadjoubran commented on May 27, 2024

If possible, please try manually commenting out the opn line (and the try catch) in node_modules/webdash/scripts/index.js and see if it works (although I doubt it)

from webdash.

ihinckle avatar ihinckle commented on May 27, 2024

you were correct. commenting those out didnt affect it. it seems to be connecting because the error page is saying 'didn't send any data' instead of couldn't be reached.

this instance i set the docker up to use webdash's default port. i can verify the port is being listened to

if anyone else wants to attempt

using docker

docker pull ubuntu
docker run -it -p 3456:3456 ubuntu
apt update
apt install curl
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.9/install.sh | bash
follow last instructions from nvm to get it added to path in existing terminal
nvm install 8

create a project folder and enter the folder
follow webdash instructions https://webdash.xyz/

from webdash.

jadjoubran avatar jadjoubran commented on May 27, 2024

okay and you're definitely running node >= 9 right?

from webdash.

jadjoubran avatar jadjoubran commented on May 27, 2024

Closing for inactivity, feel free to add more information in case it's still an issue

from webdash.

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.