Code Monkey home page Code Monkey logo

Comments (33)

bluenevus avatar bluenevus commented on August 20, 2024 1

from simple-vote.

dessalines avatar dessalines commented on August 20, 2024

Run this and tell me the output:
docker --version && docker-compose --version

from simple-vote.

bluenevus avatar bluenevus commented on August 20, 2024

from simple-vote.

dessalines avatar dessalines commented on August 20, 2024

thats what I thought, that's a deprecated version of docker, I think this requires at least docker 17, I'm on

Docker version 18.05.0-ce, build f150324782
docker-compose version 1.22.0, build unknown

from simple-vote.

bluenevus avatar bluenevus commented on August 20, 2024

from simple-vote.

dessalines avatar dessalines commented on August 20, 2024

You're not on docker-ce, your command output docker version 1.13.1, which is a deprecated old version.

from simple-vote.

bluenevus avatar bluenevus commented on August 20, 2024

from simple-vote.

bluenevus avatar bluenevus commented on August 20, 2024

from simple-vote.

dessalines avatar dessalines commented on August 20, 2024

You're accessing localhost:4567 correct?

where are you getting that error.

from simple-vote.

bluenevus avatar bluenevus commented on August 20, 2024

from simple-vote.

dessalines avatar dessalines commented on August 20, 2024

I guess I'd need full logs to figure that one out. And I'd need the output of your docker commands again.

from simple-vote.

bluenevus avatar bluenevus commented on August 20, 2024

from simple-vote.

dessalines avatar dessalines commented on August 20, 2024

those aren't the full logs, i specifically need where it builds the front end resources. docker-compose down then docker-compose up

from simple-vote.

bluenevus avatar bluenevus commented on August 20, 2024

from simple-vote.

dessalines avatar dessalines commented on August 20, 2024

That's not the full log, but I can see that it built the front end resources fine, and they should be available at http://localhost:4567 .

I just tested this out too, removing all images and completely refetching and rebuilding them from scratch. The only thing I can think of is that you have some weird firewall setting, or a jetty instance already running, or that you haven't stopped a previous docker process or something. Or maybe your docker-compose is using the wrong docker. Or if you're accessing this remotely, you need to change it from localhost to that IP, as I have listed in the instructions.

from simple-vote.

bluenevus avatar bluenevus commented on August 20, 2024

from simple-vote.

dessalines avatar dessalines commented on August 20, 2024

You're running and accessing this locally correct?

from simple-vote.

bluenevus avatar bluenevus commented on August 20, 2024

from simple-vote.

dessalines avatar dessalines commented on August 20, 2024

Browser? OS?

This one's confusing me, I have it working on 2 different machines right now.

Try:
http://127.0.0.1:4567
http://localhost:4567/version

from simple-vote.

bluenevus avatar bluenevus commented on August 20, 2024

from simple-vote.

dessalines avatar dessalines commented on August 20, 2024

Works fine on my chrome, we have the exact same jetty version...
results from http://localhost:4567/version

from simple-vote.

dessalines avatar dessalines commented on August 20, 2024

Output from docker --version && docker-compose --version

from simple-vote.

bluenevus avatar bluenevus commented on August 20, 2024

from simple-vote.

dessalines avatar dessalines commented on August 20, 2024

That's a really old version of docker-compose, the oldest I can even find is 1.20, mine is at docker-compose version 1.22.0, build unknown

from simple-vote.

dessalines avatar dessalines commented on August 20, 2024

Results from http://localhost:4567/version also please.

from simple-vote.

bluenevus avatar bluenevus commented on August 20, 2024

from simple-vote.

dessalines avatar dessalines commented on August 20, 2024

I'm pretty stumped on this one. I even checked and our version of jetty is exactly the same. So http://localhost:4567/version is giving you error 404?

from simple-vote.

bluenevus avatar bluenevus commented on August 20, 2024

from simple-vote.

dessalines avatar dessalines commented on August 20, 2024

Okay that tells me a lot actually.

from simple-vote.

bluenevus avatar bluenevus commented on August 20, 2024

from simple-vote.

dessalines avatar dessalines commented on August 20, 2024

It might have something to do with the way static files are server on this embedded jetty web service, and possibly the java version. I changed the java version, jetty version and some logging to possibly fix this.

cd simple-vote
git pull
docker-compose build --no-cache
docker-compose up

And tell me if you still get the same error.

from simple-vote.

bluenevus avatar bluenevus commented on August 20, 2024

from simple-vote.

dessalines avatar dessalines commented on August 20, 2024

well we tried our best with the docker install, I have that working on two different machines so I don't know what the issue is. The other option is to do the local install instructions.

from simple-vote.

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.