Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build fails #4

Open
Vostan opened this issue Jul 5, 2019 · 2 comments
Open

Build fails #4

Vostan opened this issue Jul 5, 2019 · 2 comments

Comments

@Vostan
Copy link

Vostan commented Jul 5, 2019

Reproducing steps

  1. git clone {repo}
  2. run 'mvn package -DskipTests'
  3. run 'docker-compose up'

Observation
Ending up with an error in the front-end build

Logs

`docker-compose up
Removing frontend
Starting backend ... done
Starting 71728e44add0_frontend ... error

ERROR: for 71728e44add0_frontend Cannot start service frontend: driver failed programming external connectivity on endpoint 71728e44add0_frontend (80c6992c5d3bbc66887bd30188362a1545f5d039d901f8fd5cd7101346ee3714): Error starting userland proxy: Bind for 0.0.0.0:80: unexpected error (Failure EADDRINUSE)

ERROR: for frontend Cannot start service frontend: driver failed programming external connectivity on endpoint 71728e44add0_frontend (80c6992c5d3bbc66887bd30188362a1545f5d039d901f8fd5cd7101346ee3714): Error starting userland proxy: Bind for 0.0.0.0:80: unexpected error (Failure EADDRINUSE)
ERROR: Encountered errors while bringing up the project.`

@sergyer
Copy link
Owner

sergyer commented Jul 5, 2019

By default, the frontend uses 80 port. Most probably it is busy on your machine. Try to free up the port.

@sergyer sergyer closed this as completed Jul 5, 2019
@Vostan
Copy link
Author

Vostan commented Jul 5, 2019

EDIT:

This above issues because of my localhost:80 is blocked to be binded.

However, I started to get backend issues

Starting backend ... done Starting frontend ... done Attaching to backend, frontend backend | [INFO] Scanning for projects... backend | [INFO] ------------------------------------------------------------------------ backend | [INFO] BUILD FAILURE backend | [INFO] ------------------------------------------------------------------------ backend | [INFO] Total time: 0.244 s backend | [INFO] Finished at: 2019-07-05T13:57:18Z backend | [INFO] ------------------------------------------------------------------------ backend | [ERROR] No goals have been specified for this build. You must specify a valid lifecycle phase or a goal in the format <plugin-prefix>:<goal> or <plugin-group-id>:<plugin-artifact-id>[:<plugin-version>]:<goal>. Available lifecycle phases are: validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy, pre-clean, clean, post-clean, pre-site, site, post-site, site-deploy. -> [Help 1] backend | [ERROR] backend | [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. backend | [ERROR] Re-run Maven using the -X switch to enable full debug logging. backend | [ERROR] backend | [ERROR] For more information about the errors and possible solutions, please read the following articles: backend | [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/NoGoalSpecifiedException backend exited with code 1

@sergyer sergyer reopened this Jul 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants