-
Notifications
You must be signed in to change notification settings - Fork 4
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
Downloading MIBs from ftp.cisco.com/pub/mibs/v2 error #66
Comments
Hi @britonb - are you operating behind a proxy? Might need to set the |
@britonb Are other external DNS hostnames able to resolve in the container? You might need to debug from within the container - there's a lot that could be wrong, but I can confirm that |
Hi |
Hello
It seems that ftp.cisco.com/pub/mibs/v2 is no longer available.
Do you know any workaround to download MIBs to /data/extract/mib/ ?
Logs below.
Regards
Nuno
docker logs -f tdm_etl_1
Warning: Your Pipfile requires python_version 3.6, but you are using 3.8.1 (/root/.local/share/v/d/bin/python).
$ pipenv --rm and rebuilding the virtual environment may resolve the issue.
$ pipenv check will surely fail.
INFO:root:Loading configuration.
INFO:root:Awaiting DBMS availability.
INFO:root:Awaiting DBMS connectivity.
INFO:root:Creating database.
INFO:root:Creating database schema.
INFO:root:Populating static data.
INFO:root:Populating MIB data.
INFO:root:Downloading MIBs from ftp.cisco.com/pub/mibs/v2 to /data/extract/mib/
Traceback (most recent call last):
File "main.py", line 118, in
main()
File "main.py", line 96, in main
populate_snmp(db)
File "/data/snmp.py", line 296, in populate_snmp
snmppop.download_mibs()
File "/data/snmp.py", line 70, in download_mibs
ftp.retrlines(
File "/usr/local/lib/python3.8/ftplib.py", line 451, in retrlines
with self.transfercmd(cmd) as conn,
File "/usr/local/lib/python3.8/ftplib.py", line 382, in transfercmd
return self.ntransfercmd(cmd, rest)[0]
File "/usr/local/lib/python3.8/ftplib.py", line 343, in ntransfercmd
conn = socket.create_connection((host, port), self.timeout,
File "/usr/local/lib/python3.8/socket.py", line 808, in create_connection
raise err
File "/usr/local/lib/python3.8/socket.py", line 796, in create_connection
sock.connect(sa)
TimeoutError: [Errno 110] Operation timed out
The text was updated successfully, but these errors were encountered: