-
Notifications
You must be signed in to change notification settings - Fork 404
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
Local copy of JS and CSS #68
Comments
As per the error message shared, Network is Unreachable. Please check if the box has connectivity to http://pypi.python.org (pip internally uses this domain for downloading modules/libraries) |
Thank you for your reply. The country has been resolved, but a new problem has been encountered. When executing the command Python api. py, Failed to connect to MongoDB. MongoDB is running |
@zhuzhibin123 You need to run mongo container as well.
|
The input command shows that it is already running, but the running Python api.py command indicates that the connection failed. $ docker run --name astra-mongo -d mongo |
@zhuzhibin123 is it working now? |
It has not been solved yet. |
@zhuzhibin123 docker ps -a please use below command to start it manually. docker start 64befbf1d377 Once it is started, please follow the instructions mentioned in readme file to start Astra docker either in cli or gui mode. |
When I executed the order, there was another problem. |
When I click on Submit to display the status, is there a problem {status":"a2598d4610331c8187b73b76e411dc8"}? |
When I submitted, there was a hint in the window. Is there any problem?{status“:”a2598d4610331c8187b73b76e411dc8“} |
@zhuzhibin123 That means scan has started and worked fine. |
Hi, |
@zhuzhibin123 It will only show "in progress" or "completed" and it takes 5 minutes max to complete single API scan. |
Hi, |
@zhuzhibin123 Yes that's standard behavior. The scan has been started already. |
Hi,@sagarpo |
@zhuzhibin123 Can you share the screenshot? |
Hi,@sagarpo |
@zhuzhibin123 Do you have internet connection on the box where you hosted the Astra? Astra requires external JS and CSS to load from the internet. |
Hi,@sagarpo |
@zhuzhibin123 it loads from bootstrapcdn.com. |
Hi, |
Hi, |
@zhuzhibin123 I will do required changes and will push it in a couple of days. |
@sagarpo OK, we are looking forward to it. |
@zhuzhibin123 This is fixed. You can clone again and try the same. |
okay |
Step 6/10 : RUN pip install -r requirements.txt
---> Running in 52fe9a9b747f
Collecting requests (from -r requirements.txt (line 1))
Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f5a45703350>: Failed to establish a new connection: [Errno 101] Network unreachable',)': /simple/requests/
Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f5a45703650>: Failed to establish a new connection: [Errno 101] Network unreachable',)': /simple/requests/
Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f5a45703810>: Failed to establish a new connection: [Errno 101] Network unreachable',)': /simple/requests/
Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f5a45703950>: Failed to establish a new connection: [Errno 101] Network unreachable',)': /simple/requests/
Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f5a45703a90>: Failed to establish a new connection: [Errno 101] Network unreachable',)': /simple/requests/
Could not find a version that satisfies the requirement requests (from -r requirements.txt (line 1)) (from versions: )
No matching distribution found for requests (from -r requirements.txt (line 1))
The command '/bin/sh -c pip install -r requirements.txt' returned a non-zero code: 1
The text was updated successfully, but these errors were encountered: