Closed pksvv closed 5 years ago
@gaurvipul I just did a fresh pull and checkout v0.20.0
- my startup log looks very similar to yours - nothing jumps out to me as a problem.
Could you capture a docker ps
and copy it in here and verify your web browser is running on the same machine as your docker-compose up
?
your docker ps
should look something like this:
% docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
8aae1988b495 samtecspg/articulate-api:0.20.0 "yarn start" 17 minutes ago Up 17 minutes 0.0.0.0:7500->7500/tcp articulate_api_1
bd335d8e6d2d redis:4.0.6-alpine "docker-entrypoint.s…" 17 minutes ago Up 17 minutes 0.0.0.0:6379->6379/tcp articulate_redis_1
743d60db5387 samtecspg/articulate-rasa:0.20.0 "./entrypoint.sh sta…" 17 minutes ago Up 17 minutes 0.0.0.0:5000->5000/tcp articulate_rasa_1
963285ed7805 samtecspg/articulate-ui:0.20.0 "yarn start" 17 minutes ago Up 17 minutes 0.0.0.0:3000->3000/tcp articulate_ui_1
5c9393ba4d46 samtecspg/duckling:0.1.6.0 "/bin/sh -c 'stack e…" 17 minutes ago Up 17 minutes 0.0.0.0:8000->8000/tcp articulate_duckling_1
5d96223d2b0b docker.elastic.co/elasticsearch/elasticsearch:6.5.1 "/usr/local/bin/dock…" 17 minutes ago Up 17 minutes (healthy) 0.0.0.0:9200->9200/tcp, 9300/tcp articulate_elasticsearch_1
@gaurvipul Could you also try accessing the URL from another browser and/or curl/wget to to make make sure this isn't some odd policy with your browser
... and ... could you open up your javascript terminal and see if anything obvious is stuck?
@gaurvipul Could you also try accessing the URL from another browser and/or curl/wget to to make make sure this isn't some odd policy with your browser
... and ... could you open up your javascript terminal and see if anything obvious is stuck?
@milutz
It looks like the application doesn't launch once I am logged into VPN, i am able to launch it without VPN connection
Some CORS issue, however it did not happen with 0.13.0
Here is the dump:
workbox Welcome to Workbox!
webpack-internal:///./node_modules/webpack-hot-middleware/client.js?reload=true:92 [HMR] connected
20.0.0.0:7500/settings:1 Failed to load resource: the server responded with a status of 403 (Forbidden)
localhost/:1 Failed to load http://0.0.0.0:7500/settings: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:3000' is therefore not allowed access. The response had HTTP status code 403. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
20.0.0.0:7500/agent:1 Failed to load resource: the server responded with a status of 403 (Forbidden)
localhost/:1 Failed to load http://0.0.0.0:7500/agent: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:3000' is therefore not allowed access. The response had HTTP status code 403. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
DevTools failed to parse SourceMap: http://localhost:3000/static/app/4.14.0-48dcb435/workbox-v3.2.0/workbox-strategies.dev.js.map
DevTools failed to parse SourceMap: http://localhost:3000/static/app/4.14.0-48dcb435/workbox-v3.2.0/workbox-sw.js.map
DevTools failed to parse SourceMap: http://localhost:3000/static/app/4.14.0-48dcb435/workbox-v3.2.0/workbox-core.dev.js.map
DevTools failed to parse SourceMap: http://localhost:3000/static/app/4.14.0-48dcb435/workbox-v3.2.0/workbox-precaching.dev.js.map
DevTools failed to parse SourceMap: http://localhost:3000/static/app/4.14.0-48dcb435/workbox-v3.2.0/workbox-cache-expiration.dev.js.map
DevTools failed to parse SourceMap: http://localhost:3000/static/app/4.14.0-48dcb435/workbox-v3.2.0/workbox-routing.dev.js.map
@gaurvipul I just did a fresh pull and
checkout v0.20.0
- my startup log looks very similar to yours - nothing jumps out to me as a problem.Could you capture a
docker ps
and copy it in here and verify your web browser is running on the same machine as yourdocker-compose up
?your
docker ps
should look something like this:% docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 8aae1988b495 samtecspg/articulate-api:0.20.0 "yarn start" 17 minutes ago Up 17 minutes 0.0.0.0:7500->7500/tcp articulate_api_1 bd335d8e6d2d redis:4.0.6-alpine "docker-entrypoint.s…" 17 minutes ago Up 17 minutes 0.0.0.0:6379->6379/tcp articulate_redis_1 743d60db5387 samtecspg/articulate-rasa:0.20.0 "./entrypoint.sh sta…" 17 minutes ago Up 17 minutes 0.0.0.0:5000->5000/tcp articulate_rasa_1 963285ed7805 samtecspg/articulate-ui:0.20.0 "yarn start" 17 minutes ago Up 17 minutes 0.0.0.0:3000->3000/tcp articulate_ui_1 5c9393ba4d46 samtecspg/duckling:0.1.6.0 "/bin/sh -c 'stack e…" 17 minutes ago Up 17 minutes 0.0.0.0:8000->8000/tcp articulate_duckling_1 5d96223d2b0b docker.elastic.co/elasticsearch/elasticsearch:6.5.1 "/usr/local/bin/dock…" 17 minutes ago Up 17 minutes (healthy) 0.0.0.0:9200->9200/tcp, 9300/tcp articulate_elasticsearch_1
no problem w docker containers
docker ps -a CONTAINER ID IMAGE COMMAND 1efa7de7665b samtecspg/articulate-api:0.20.3 "yarn start" d3fb3240211c samtecspg/articulate-rasa:0.20.3 "./entrypoint.sh sta…" 5f6c8a11d63f docker.elastic.co/elasticsearch/elasticsearch:6.5.1 "/usr/local/bin/dock…" 3a1387812a3a samtecspg/articulate-ui:0.20.3 "yarn start" 0f0b39b99eef redis:4.0.6-alpine "docker-entrypoint.s…" 245465fc97f0 samtecspg/duckling:0.1.6.0 "/bin/sh -c 'stack e…"
@gaurvipul I am a little confused by the output because there are two IPs showing up for accessing the API 0.0.0.0
and 20.0.0.0
are you trying to run this locally on your Mac or on some server your company has? If it's locally on your Mac then no VPN should be involved.
Can you try to run the below:
docker-compose down
SWAGGER_HOST=localhost:7500 docker-compose up
@gaurvipul I am a little confused by the output because there are two IPs showing up for accessing the API
0.0.0.0
and20.0.0.0
are you trying to run this locally on your Mac or on some server your company has? If it's locally on your Mac then no VPN should be involved.Can you try to run the below:
docker-compose down SWAGGER_HOST=localhost:7500 docker-compose up
@wrathagom This has resolved the issue, thanks
@malave FYI.
Issues
Articulate 0.20 doesn't start with docker-compose up, localhost:3000 keeps on loading
Please describe the issue you are having here and answer the question below.
docker-compose up log:
(Edited by @milutz for mono-formatting)
@wrathagom
Feature Request
Please desribe the feature you would like us to add.
If possible provide the use case for the feature and how you would use it.