asc-lab / micronaut-microservices-poc

Very simplified insurance sales system made in a microservices architecture using Micronaut
https://altkomsoftware.pl/en/blog/microservices-micronaut/
Apache License 2.0
486 stars 170 forks source link

Front-end Web UI not accessible #43

Closed serpro69 closed 4 years ago

serpro69 commented 4 years ago

Hi,

Have followed the instructions in readme using automated setup scripts, but can't access the frontend on http://localhost:8080

All services are up in consul. Please let me know what details I can provide for debugging.

witek1902 commented 4 years ago

Hi @serpro69 ! Windows/Linux/macOS?

If you use "automated scripts" https://github.com/asc-lab/micronaut-microservices-poc#automated-deployment frontend is run on port 80.

serpro69 commented 4 years ago

Hi @witek1902 , Thanks for the response. I'm running it on Linux (Ubuntu 18.04) I'm seeing Apache2 Ubuntu Default Page on that port. Does that mean that front-end didn't build or?

UPD: I think I found the error.

mn-web-vue                  | nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
kafka                       | 2020-04-15 11:44:38,554 INFO success: zookeeper entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
kafka                       | 2020-04-15 11:44:38,554 INFO success: kafka entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
mn-web-vue                  | 2020/04/15 11:44:36 [emerg] 1#1: still could not bind()
mn-web-vue                  | nginx: [emerg] still could not bind()
jsreport                    | 2020-04-15T11:44:39.236Z - info: Initializing jsreport@2.7.2 in production mode using configuration file: jsreport.config.json
jsreport                    | 2020-04-15T11:44:39.244Z - info: Searching for available extensions in /app/
jsreport                    | 2020-04-15T11:44:39.273Z - info: Extensions location cache not found, crawling directories
mn-web-vue exited with code 1
serpro69 commented 4 years ago

Issue solved. Thanks for pointing me in the right direction @witek1902