Missing Python package "requests" in dns container
Closed this issue · 5 comments
Hi there,
I'm trying to setup Wilson, and just noticed that when running docker-compose
(without de daemon option):
Attaching to wilson-cloud-respwnder_php_1, wilson-cloud-respwnder_dns_1, wilson-cloud-respwnder_mitmdump_1, wilson-cloud-respwnder_server_1
dns_1 | Traceback (most recent call last):
dns_1 | File "/monitor.py", line 2, in <module>
dns_1 | import time, requests, os
dns_1 | ModuleNotFoundError: No module named 'requests'
It looks like the Python "requests" module is missing in the container.
Cheers,
A.
Thanks @aroly - I'm looking into this. Should be a straightforward fix but I'm running into other issues when reproducing locally.
Can you pull the latest changes and try again? :)
Sure:
root@aro-wilson:~/wilson-cloud-respwnder# docker-compose up
ERROR: yaml.scanner.ScannerError: while scanning for the next token
found character '\t' that cannot start any token
in "./docker-compose.yaml", line 67, column 202
Ugh - there was a random tab character a the end of the line. Should be fixed now?
Hi @honoki ,
As a quick and dirty workaround, I just overwrite the resolv.conf
file with a file containing:
nameserver 8.8.8.8
nameserver 1.1.1.1
I had to do this for the dns container and, no clue why, for the mitmdump container. The pip install requests
for this one was also failing with some DNS related error so I tried that.
It seems to work now.
Cheers,
A.