flipkart-incubator / Astra

Automated Security Testing For REST API's
Apache License 2.0
2.49k stars 394 forks source link

Docker Image Issues #137

Open gray-area opened 1 year ago

gray-area commented 1 year ago

I am trying to run the Docker image file and not finding any success. I tried to run it as a standalone, then moved on to trying it as a Docker image.

I followed the installation steps and had a couple issues.

1.) The requirements.txt had versions that could not be found. The installer kept returning a "code other than 0". I edited the requirements.txt file and removed all specified versions. This allowed the pip install to run without errors.

  1. Now I am running sudo docker run --rm -it --link astra-mongo:mongo -p 8094:8094 astra and I am getting the following error:

Traceback (most recent call last): File "./api.py", line 10, in <module> import requests File "/usr/local/lib/python2.7/site-packages/requests/__init__.py", line 48, in <module> from charset_normalizer import __version__ as charset_normalizer_version File "/usr/local/lib/python2.7/site-packages/charset_normalizer/__init__.py", line 24, in <module> from .api import from_bytes, from_fp, from_path File "/usr/local/lib/python2.7/site-packages/charset_normalizer/api.py", line 34 sequences: bytes, ^

Can anyone point me in the right direction? Thanks in advance!