Comments (7)
log in docker-container server
/foo/log_output $ more web.log
[2016-08-29 22:26:06] [passlib.registry.register_crypt_handler ][DEBUG ] registered 'bcrypt' handler: <class 'passlib.handlers.bcrypt.bcrypt'>
[2016-08-29 22:26:06] [passlib.registry.register_crypt_handler ][DEBUG ] registered 'des_crypt' handler: <class 'passlib.handlers.des_crypt.des_crypt'>
[2016-08-29 22:26:06] [passlib.registry.register_crypt_handler ][DEBUG ] registered 'pbkdf2_sha256' handler: <class 'passlib.handlers.pbkdf2.pbkdf2_sha256'>
[2016-08-29 22:26:06] [passlib.registry.register_crypt_handler ][DEBUG ] registered 'pbkdf2_sha512' handler: <class 'passlib.handlers.pbkdf2.pbkdf2_sha512'>
[2016-08-29 22:26:06] [passlib.registry.register_crypt_handler ][DEBUG ] registered 'sha256_crypt' handler: <class 'passlib.handlers.sha2_crypt.sha256_crypt'>
[2016-08-29 22:26:06] [passlib.registry.register_crypt_handler ][DEBUG ] registered 'sha512_crypt' handler: <class 'passlib.handlers.sha2_crypt.sha512_crypt'>
[2016-08-29 22:26:06] [passlib.registry.register_crypt_handler ][DEBUG ] registered 'plaintext' handler: <class 'passlib.handlers.misc.plaintext'>
from angular2-flask.
This error generally arrives when the server fails to start. But as you posted the logs are being generated.
Can you try these commands:
docker rm -f angular2-app server
and then:
docker rmi -f backend/python frontend/angular2
and then again:
docker-compose up
from angular2-flask.
Attaching to server, angular2-app
angular2-app |
angular2-app | > [email protected] server:prod /front
angular2-app | > http-server dist --cors
angular2-app |
angular2-app | Starting up http-server, serving dist
angular2-app | Available on:
angular2-app | http://127.0.0.1:8080
angular2-app | http://172.24.0.3:8080
angular2-app | Hit CTRL-C to stop the server
This the output i get. I don't see the server when i exe docker-compose up
from angular2-flask.
angular2-app | http://172.24.0.3:8080
angular2-app | Hit CTRL-C to stop the server
angular2-app | [Mon Aug 29 2016 23:57:43 GMT+0000 (UTC)] "GET /" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36"
angular2-app | [Mon Aug 29 2016 23:57:43 GMT+0000 (UTC)] "GET /assets/css/font-awesome.min.css" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36"
angular2-app | [Mon Aug 29 2016 23:57:43 GMT+0000 (UTC)] "GET /polyfills.535f8fdcc5aaa05a75ac.bundle.js" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36"
angular2-app | [Mon Aug 29 2016 23:57:43 GMT+0000 (UTC)] "GET /main.e046faa95ba926b46b70.bundle.js" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36"
angular2-app | [Mon Aug 29 2016 23:57:43 GMT+0000 (UTC)] "GET /vendor.41b53236352eafe00ae9.bundle.js" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36"
angular2-app | [Mon Aug 29 2016 23:57:44 GMT+0000 (UTC)] "GET /assets/img/angularclass-logo.png" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36"
angular2-app | [Mon Aug 29 2016 23:58:40 GMT+0000 (UTC)] "GET /" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36"
angular2-app | [Mon Aug 29 2016 23:58:40 GMT+0000 (UTC)] "GET /assets/css/font-awesome.min.css" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36"
angular2-app | [Mon Aug 29 2016 23:58:40 GMT+0000 (UTC)] "GET /polyfills.535f8fdcc5aaa05a75ac.bundle.js" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36"
angular2-app | [Mon Aug 29 2016 23:58:40 GMT+0000 (UTC)] "GET /vendor.41b53236352eafe00ae9.bundle.js" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36"
angular2-app | [Mon Aug 29 2016 23:58:40 GMT+0000 (UTC)] "GET /main.e046faa95ba926b46b70.bundle.js" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36"
angular2-app | [Mon Aug 29 2016 23:58:41 GMT+0000 (UTC)] "GET /assets/img/angularclass-logo.png" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36"
I still get the error "wrong password entered"
from angular2-flask.
$docker logs server, I don't see any logs
from angular2-flask.
Yes, actually I am not redirecting the logs to stdout.
Another thing you can try is to check if both frontend+backend dockers are running
docker ps
And lastly you can check if none of the ports are conflicting, i.e. 8080, 8081 is exposed on the host machine.
from angular2-flask.
fixed in 25fdc9c
from angular2-flask.
Related Issues (20)
- error HOT 4
- Cannot find module 'assets-webpack-plugin' HOT 6
- got some issue running the backend that is a bit cryptic to me HOT 1
- not quite what I want HOT 1
- No module named pylogging HOT 2
- Integrate ansrivas/pylogging
- Default setting for `allow_file_logging` in `backend/run.py` should be False
- In the frontend, where is it specifying the backend's URL? HOT 1
- Containers on AWS - Elastic Beanstalk - Dockerrun.aws.json HOT 9
- I had to add 'http://localhost:800' to your calls at authentication.service.ts to get it to work HOT 1
- route respond with XML
- Trying to decode jwt token HOT 3
- Cannot run on production mode HOT 5
- Dependabot couldn't authenticate with https://pypi.python.org/simple/
- Reset Token Expire time HOT 1
- with virtualenv test getting below error HOT 6
- Does this support RC5 version HOT 2
- angular2-jwt HOT 7
- Just a question HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from angular2-flask.