- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
We have 2 setups, one is with only basic EIS and another has CSL system with server + 2 worker nodes.
For UI development we want to have a local database(MongodB).
On first setup, we could do that, but on CSL machine when we are adding "Flask-PyMongo==2.3.0" in requirement.txt of webvisulaizer it is giving error as attached.
Also attached the requirement.txt.
Request your earliest help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, that is correct because when the requirements.txt file has been reverted to original without the "Flask-PyMongo==2.3.0" package, it mean there is no chance to the image earlier being built. So, docker will rebuilt the image using docker's cache and you can see it can be built successfully. In another words, if rebuilding the image with new changes that require internet connectivity, the internet connection need to be established for the docker environment. This is why the earlier screenshot is showing no connection to the proxy in the docker environment. Please also ensure the proxy is being set for docker in ~/.docker/config.json file, and then you may need to further verify the network and proxy environment is working fine as well. Hope this explained to the scenario you are seeing now.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
From the screenshot you shared, it is showing network connection to IP 10.192.45.148 timeout. This error should not be related to the additional "Flask-PyMongo==2.3.0" added in the requirement.txt file. As you can see, not even the first package "opencv=python==3.4.1.15" can be installed due to the internet network connectivity issue. Therefore, you have to first ensure the internet connectivity is available. If the IP 10.192.45.148 is the proxy server in your network environment, you have to configure the system to use the proxy in order to establish the connection to internet first before proceed further. Hope this info help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If Flask-PyMongo==2.3.0 line is not there, it gets build without error.
Also 10.192.45.148 is part of proxy , but still giving the same error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, that is correct because when the requirements.txt file has been reverted to original without the "Flask-PyMongo==2.3.0" package, it mean there is no chance to the image earlier being built. So, docker will rebuilt the image using docker's cache and you can see it can be built successfully. In another words, if rebuilding the image with new changes that require internet connectivity, the internet connection need to be established for the docker environment. This is why the earlier screenshot is showing no connection to the proxy in the docker environment. Please also ensure the proxy is being set for docker in ~/.docker/config.json file, and then you may need to further verify the network and proxy environment is working fine as well. Hope this explained to the scenario you are seeing now.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you need any additional information, please submit a new question as this thread will no longer be monitored.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page