nexvisionlab / darkweb-search-engine Goto Github PK
View Code? Open in Web Editor NEWDark Web & Deep Web Search Engine. Data Crawler and indexer for Darkweb , OSINT Tools for the Dark Web
License: GNU Affero General Public License v3.0
Dark Web & Deep Web Search Engine. Data Crawler and indexer for Darkweb , OSINT Tools for the Dark Web
License: GNU Affero General Public License v3.0
Hi,
[Warning] Aborted connection 4607 to db: 'tor' user: 'toruser' host: '172.16.57.18' (Got an error reading communication packets)
I got this message from 'docker logs nexvisions-torscraper-db' command and the web doesn't work.
How can I resolve this?
I have other question:
In db directory, it should be a schema.sql file and there is not a file with that name.
And another question:
When ./web.sh run, I got some errors like this messages although python packages in .DockerFile installed. And if I want to install the package, it's not found.
Traceback (most recent call last):
File "/opt/torscraper/web-general/app.py", line 11, in
from urlparse import urlparse
ModuleNotFoundError: No module named 'urlparse'
Hello,
I hope this message finds you well. My name is Jakub, and I am a recruiter for Hakin9 Magazine. We are currently seeking experienced professionals to join our team of instructors and contribute to our courses and content.
Given your expertise and contributions to the field, we believe you would be a perfect fit. Could you please provide your contact information so we can discuss potential collaboration opportunities?
You can also connect with me on LinkedIn: https://www.linkedin.com/in/jakub-kapu%C5%9Bci%C5%84ski/.
For more information about Hakin9, please visit https://hakin9.org/.
Looking forward to hearing from you.
Best regards,
Jakub Kapuściński
Hi @NexvisionLab
What is the final web output?
And how could it crawl a .onion link in localhost:7000?
Hi, tried to build your intresting app for docker, but the docker build failed, i dnd't touch any of the dockerfiles of the project, just run the build and, got erros. OS: Debian 12, newest Docker
46.82 Downloading Twisted-20.3.0.tar.bz2 (3.1 MB)
47.88 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.1/3.1 MB 3.1 MB/s eta 0:00:00
49.75 Preparing metadata (setup.py): started
82.32 Preparing metadata (setup.py): finished with status 'error'
82.33 error: subprocess-exited-with-error
82.33
82.33 × python setup.py egg_info did not run successfully.
82.33 │ exit code: 1
82.33 ╰─> [34 lines of output]
82.33 Traceback (most recent call last):
82.33 File "<string>", line 2, in <module>
82.33 File "<pip-setuptools-caller>", line 34, in <module>
82.33 File "/tmp/pip-install-ahbvlhey/twisted_032a14b845ac45f8a4d14cff892f8761/setup.py", line 20, in <module>
82.33 setuptools.setup(**_setup["getSetupArgs"]())
82.33 File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 144, in setup
82.33 return distutils.core.setup(**attrs)
82.33 File "/usr/lib/python3.8/distutils/core.py", line 108, in setup
82.33 _setup_distribution = dist = klass(attrs)
82.33 File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 447, in __init__
82.33 _Distribution.__init__(self, {
82.33 File "/usr/lib/python3.8/distutils/dist.py", line 292, in __init__
82.33 self.finalize_options()
82.33 File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 740, in finalize_options
82.33 ep.load()(self)
82.33 File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 747, in _finalize_setup_keywords
82.33 ep.load()(self, ep.name, value)
82.33 File "/tmp/pip-install-ahbvlhey/twisted_032a14b845ac45f8a4d14cff892f8761/.eggs/incremental-24.7.1-py3.8.egg/incremental/__init__.py", line 423, in _get_distutils_version
82.33 sp_command.finalize_options()
82.33 File "/usr/lib/python3/dist-packages/setuptools/command/build_py.py", line 34, in finalize_options
82.33 orig.build_py.finalize_options(self)
82.33 File "/usr/lib/python3.8/distutils/command/build_py.py", line 43, in finalize_options
82.33 self.set_undefined_options('build',
82.33 File "/usr/lib/python3.8/distutils/cmd.py", line 286, in set_undefined_options
82.33 src_cmd_obj = self.distribution.get_command_obj(src_cmd)
82.33 File "/usr/lib/python3.8/distutils/dist.py", line 857, in get_command_obj
82.33 klass = self.get_command_class(command)
82.33 File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 834, in get_command_class
82.33 self.cmdclass[command] = cmdclass = ep.load()
82.33 File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2445, in load
82.33 return self.resolve()
82.33 File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2451, in resolve
82.33 module = __import__(self.module_name, fromlist=['__name__'], level=0)
82.33 ModuleNotFoundError: No module named 'setuptools.command.build'
82.33 [end of output]
82.33
82.33 note: This error originates from a subprocess, and is likely not a problem with pip.
82.33 error: metadata-generation-failed
82.33
82.33 × Encountered error while generating package metadata.
82.33 ╰─> See above for output.
82.33
82.33 note: This is an issue with the package mentioned above, not pip.
82.33 hint: See above for details.
------
Dockerfile:40
--------------------
38 | COPY requirements.txt /opt/torscraper
39 | RUN python -m pip install --upgrade pip
40 | >>> RUN pip install --no-cache-dir -r requirements.txt
41 | RUN pip install --upgrade requests
42 |
--------------------
I am having issues with running the search engine on docker as I run into this error. My db logs and web-general logs are below.
Please kindly assist with this as I am in a pinch.
db logs:
2023-06-13 13:08:54 2023-06-13 12:08:54 140443127027392 [Note] mysqld (mysqld 10.2.44-MariaDB-1:10.2.44+mariabionic) starting as process 1 ...bionic' socket: '/var/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution
2023-06-13 13:08:55 2023-06-13 12:08:55 140443127027392 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2023-06-13 13:08:55 2023-06-13 12:08:55 140443127027392 [Note] InnoDB: Uses event mutexes
2023-06-13 13:08:55 2023-06-13 12:08:55 140443127027392 [Note] InnoDB: Compressed tables use zlib 1.2.11
2023-06-13 13:08:55 2023-06-13 12:08:55 140443127027392 [Note] InnoDB: Using Linux native AIO
2023-06-13 13:08:55 2023-06-13 12:08:55 140443127027392 [Note] InnoDB: Number of pools: 1
2023-06-13 13:08:55 2023-06-13 12:08:55 140443127027392 [Note] InnoDB: Using SSE2 crc32 instructions
2023-06-13 13:08:55 2023-06-13 12:08:55 140443127027392 [Note] InnoDB: Initializing buffer pool, total size = 256M, instances = 1, chunk size = 128M
2023-06-13 13:08:55 2023-06-13 12:08:55 140443127027392 [Note] InnoDB: Completed initialization of buffer pool
2023-06-13 13:08:55 2023-06-13 12:08:55 140442404615936 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
2023-06-13 13:08:55 2023-06-13 12:08:55 140443127027392 [Note] InnoDB: Highest supported file format is Barracuda.
2023-06-13 13:08:57 2023-06-13 12:08:57 140443127027392 [Note] InnoDB: 128 out of 128 rollback segments are active.
2023-06-13 13:08:57 2023-06-13 12:08:57 140443127027392 [Note] InnoDB: Creating shared tablespace for temporary tables
2023-06-13 13:08:57 2023-06-13 12:08:57 140443127027392 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2023-06-13 13:08:57 2023-06-13 12:08:57 140443127027392 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
2023-06-13 13:08:57 2023-06-13 12:08:57 140443127027392 [Note] InnoDB: 5.7.38 started; log sequence number 5381054
2023-06-13 13:08:57 2023-06-13 12:08:57 140442234496768 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
2023-06-13 13:08:58 2023-06-13 12:08:58 140443127027392 [Note] Plugin 'FEEDBACK' is disabled.
2023-06-13 13:08:59 2023-06-13 12:08:59 140443127027392 [Note] Server socket created on IP: '::'.
2023-06-13 13:09:01 2023-06-13 12:09:01 140443127027392 [Note] Reading of all Master_info entries succeeded
2023-06-13 13:09:01 2023-06-13 12:09:01 140443127027392 [Note] Added new Master_info '' to hash table
2023-06-13 13:09:01 2023-06-13 12:09:01 140443127027392 [Note] mysqld: ready for connections.
2023-06-13 13:09:01 Version: '10.2.44-MariaDB-1:10.2.44+maria
2023-06-13 13:09:04 2023-06-13 12:09:04 140442234496768 [Note] InnoDB: Buffer pool(s) load completed at 230613 12:09:04
2023-06-13 13:10:52 2023-06-13 12:10:52 140442833467136 [Warning] Aborted connection 10 to db: 'tor' user: 'toruser' host: '172.16.57.15' (Got an error reading communication packets)
2023-06-13 13:12:25 2023-06-13 12:12:25 140442833467136 [Warning] Aborted connection 12 to db: 'tor' user: 'toruser' host: '172.16.57.15' (Got an error reading communication packets)
2023-06-13 13:13:30 2023-06-13 12:13:30 140442833467136 [Warning] Aborted connection 13 to db: 'tor' user: 'toruser' host: '172.16.57.13' (Got an error reading communication packets)
2023-06-13 13:17:28 2023-06-13 12:17:28 140442814318336 [Warning] Aborted connection 17 to db: 'tor' user: 'toruser' host: '172.16.57.13' (Got an error reading communication packets)
2023-06-13 13:17:38 2023-06-13 12:17:38 140442814318336 [Warning] Aborted connection 18 to db: 'tor' user: 'toruser' host: '172.16.57.13' (Got an error reading communication packets)
2023-06-13 13:17:38 2023-06-13 12:17:38 140442814318336 [Warning] Aborted connection 19 to db: 'tor' user: 'toruser' host: '172.16.57.13' (Got an error reading communication packets)
2023-06-13 13:17:38 2023-06-13 12:17:38 140442814011136 [Warning] Aborted connection 20 to db: 'tor' user: 'toruser' host: '172.16.57.13' (Got an error reading communication packets)
2023-06-13 13:08:49 2023-06-13 12:08:49+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.2.44+maria~bionic started.
2023-06-13 13:08:54 2023-06-13 12:08:54+00:00 [Note] [Entrypoint]: MariaDB upgrade not required
2023-06-13 13:17:39 2023-06-13 12:17:39 140442217096960 [Warning] Aborted connection 24 to db: 'tor' user: 'toruser' host: '172.16.57.13' (Got an error reading communication packets)
2023-06-13 13:17:39 2023-06-13 12:17:39 140442217404160 [Warning] Aborted connection 23 to db: 'tor' user: 'toruser' host: '172.16.57.13' (Got an error reading communication packets)
2023-06-13 13:17:39 2023-06-13 12:17:39 140442217711360 [Warning] Aborted connection 22 to db: 'tor' user: 'toruser' host: '172.16.57.13' (Got an error reading communication packets)
2023-06-13 13:17:39 2023-06-13 12:17:39 140442813703936 [Warning] Aborted connection 21 to db: 'tor' user: 'toruser' host: '172.16.57.13' (Got an error reading communication packets)
2023-06-13 13:17:40 2023-06-13 12:17:40 140442217404160 [Warning] Aborted connection 28 to db: 'tor' user: 'toruser' host: '172.16.57.13' (Got an error reading communication packets)
2023-06-13 13:17:40 2023-06-13 12:17:40 140442814011136 [Warning] Aborted connection 26 to db: 'tor' user: 'toruser' host: '172.16.57.13' (Got an error reading communication packets)
2023-06-13 13:17:40 2023-06-13 12:17:40 140442217096960 [Warning] Aborted connection 27 to db: 'tor' user: 'toruser' host: '172.16.57.13' (Got an error reading communication packets)
2023-06-13 13:17:40 2023-06-13 12:17:40 140442217711360 [Warning] Aborted connection 29 to db: 'tor' user: 'toruser' host: '172.16.57.13' (Got an error reading communication packets)
2023-06-13 13:17:40 2023-06-13 12:17:40 140442814318336 [Warning] Aborted connection 25 to db: 'tor' user: 'toruser' host: '172.16.57.13' (Got an error reading communication packets)
2023-06-13 13:17:40 2023-06-13 12:17:40 140442813703936 [Warning] Aborted connection 30 to db: 'tor' user: 'toruser' host: '172.16.57.13' (Got an error reading communication packets)
2023-06-13 13:17:41 2023-06-13 12:17:41 140442217404160 [Warning] Aborted connection 31 to db: 'tor' user: 'toruser' host: '172.16.57.13' (Got an error reading communication packets)
2023-06-13 13:17:42 2023-06-13 12:17:42 140442814011136 [Warning] Aborted connection 32 to db: 'tor' user: 'toruser' host: '172.16.57.13' (Got an error reading communication packets)
2023-06-13 13:17:42 2023-06-13 12:17:42 140442217096960 [Warning] Aborted connection 33 to db: 'tor' user: 'toruser' host: '172.16.57.13' (Got an error reading communication packets)
2023-06-13 13:17:43 2023-06-13 12:17:43 140442217711360 [Warning] Aborted connection 34 to db: 'tor' user: 'toruser' host: '172.16.57.13' (Got an error reading communication packets)
Web-general logs:
2023-06-13 13:06:03 Traceback (most recent call last):
2023-06-13 13:06:03 File "/usr/local/lib/python3.8/site-packages/pymysql/connections.py", line 569, in connect
2023-06-13 13:06:03 sock = socket.create_connection(
2023-06-13 13:06:03 File "/usr/local/lib/python3.8/socket.py", line 787, in create_connection
2023-06-13 13:06:03 for res in getaddrinfo(host, port, 0, SOCK_STREAM):
2023-06-13 13:06:03 File "/usr/local/lib/python3.8/socket.py", line 918, in getaddrinfo
2023-06-13 13:06:03 for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
2023-06-13 13:06:03 socket.gaierror: [Errno -2] Name or service not known
2023-06-13 13:06:03
2023-06-13 13:06:03 During handling of the above exception, another exception occurred:
2023-06-13 13:06:03
2023-06-13 13:06:03 Traceback (most recent call last):
2023-06-13 10:05:47 * Environment: production
2023-06-13 10:05:47 WARNING: This is a development server. Do not use it in a production deployment.
2023-06-13 10:05:47 Use a production WSGI server instead.
2023-06-13 10:05:47 * Debug mode: off
2023-06-13 13:06:03 Cannot import language library.
2023-06-13 13:06:18 Cannot import language library.
2023-06-13 13:06:03 File "/usr/local/lib/python3.8/site-packages/pony/orm/dbapiprovider.py", line 52, in wrap_dbapi_exceptions
2023-06-13 13:06:03 return func(provider, *args, **kwargs)
2023-06-13 13:06:03 File "/usr/local/lib/python3.8/site-packages/pony/orm/dbapiprovider.py", line 230, in connect
2023-06-13 13:06:03 return provider.pool.connect()
2023-06-13 13:06:03 File "/usr/local/lib/python3.8/site-packages/pony/orm/dbapiprovider.py", line 351, in connect
2023-06-13 13:06:03 pool._connect()
2023-06-13 13:06:03 File "/usr/local/lib/python3.8/site-packages/pony/orm/dbapiprovider.py", line 357, in _connect
2023-06-13 13:06:03 pool.con = pool.dbapi_module.connect(*pool.args, **pool.kwargs)
2023-06-13 13:06:03 File "/usr/local/lib/python3.8/site-packages/pymysql/init.py", line 94, in Connect
2023-06-13 13:06:03 return Connection(*args, **kwargs)
2023-06-13 13:06:03 File "/usr/local/lib/python3.8/site-packages/pymysql/connections.py", line 327, in init
2023-06-13 13:06:03 self.connect()
2023-06-13 13:06:03 File "/usr/local/lib/python3.8/site-packages/pymysql/connections.py", line 619, in connect
2023-06-13 13:06:03 raise exc
2023-06-13 13:06:03 pymysql.err.OperationalError: (2003, "Can't connect to MySQL server on 'nexvisions-torscraper-db' ([Errno -2] Name or service not known)")
2023-06-13 13:06:03
2023-06-13 13:06:03 During handling of the above exception, another exception occurred:
2023-06-13 13:06:03
2023-06-13 13:06:03 Traceback (most recent call last):
2023-06-13 13:06:03 File "/opt/torscraper/web/app.py", line 13, in
2023-06-13 13:06:03 from tor_db import *
2023-06-13 13:06:03 File "/opt/torscraper/lib/tor_db/init.py", line 13, in
2023-06-13 13:06:03 from tor_db.db import db
2023-06-13 13:06:03 File "/opt/torscraper/lib/tor_db/db.py", line 4, in
2023-06-13 13:06:03 db.bind('mysql', host=os.environ['DB_HOST'], user=os.environ['DB_USER'], passwd=os.environ['DB_PASS'], db=os.environ['DB_BASE'])
2023-06-13 13:06:03 File "/usr/local/lib/python3.8/site-packages/pony/orm/core.py", line 774, in bind
2023-06-13 13:06:03 self._bind(*args, **kwargs)
2023-06-13 13:06:03 File "/usr/local/lib/python3.8/site-packages/pony/orm/core.py", line 796, in _bind
2023-06-13 13:06:03 self.provider = provider_cls(*args, **kwargs)
2023-06-13 13:06:03 File "/usr/local/lib/python3.8/site-packages/pony/orm/dbapiprovider.py", line 130, in init
2023-06-13 13:06:03 connection, is_new_connection = provider.connect()
2023-06-13 13:06:03 File "", line 2, in connect
2023-06-13 13:06:03 File "/usr/local/lib/python3.8/site-packages/pony/orm/dbapiprovider.py", line 72, in wrap_dbapi_exceptions
2023-06-13 13:06:03 raise OperationalError(e)
2023-06-13 13:06:03 pony.orm.dbapiprovider.OperationalError: (2003, "Can't connect to MySQL server on 'nexvisions-torscraper-db' ([Errno -2] Name or service not known)")
2023-06-13 13:06:19 Traceback (most recent call last):
2023-06-13 13:06:19 File "/usr/local/lib/python3.8/site-packages/pymysql/connections.py", line 569, in connect
2023-06-13 13:06:19 sock = socket.create_connection(
2023-06-13 13:06:19 File "/usr/local/lib/python3.8/socket.py", line 787, in create_connection
2023-06-13 13:06:19 for res in getaddrinfo(host, port, 0, SOCK_STREAM):
2023-06-13 13:06:19 File "/usr/local/lib/python3.8/socket.py", line 918, in getaddrinfo
2023-06-13 13:06:19 for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
2023-06-13 13:06:19 socket.gaierror: [Errno -2] Name or service not known
2023-06-13 13:06:19
2023-06-13 13:06:19 During handling of the above exception, another exception occurred:
2023-06-13 13:06:19
2023-06-13 13:06:19 Traceback (most recent call last):
2023-06-13 13:06:19 File "/usr/local/lib/python3.8/site-packages/pony/orm/dbapiprovider.py", line 52, in wrap_dbapi_exceptions
2023-06-13 13:06:19 return func(provider, *args, **kwargs)
2023-06-13 13:06:19 File "/usr/local/lib/python3.8/site-packages/pony/orm/dbapiprovider.py", line 230, in connect
2023-06-13 13:06:19 return provider.pool.connect()
2023-06-13 13:06:19 File "/usr/local/lib/python3.8/site-packages/pony/orm/dbapiprovider.py", line 351, in connect
2023-06-13 13:06:19 pool._connect()
2023-06-13 13:06:19 File "/usr/local/lib/python3.8/site-packages/pony/orm/dbapiprovider.py", line 357, in _connect
2023-06-13 13:06:19 pool.con = pool.dbapi_module.connect(*pool.args, **pool.kwargs)
2023-06-13 13:06:19 File "/usr/local/lib/python3.8/site-packages/pymysql/init.py", line 94, in Connect
2023-06-13 13:06:19 return Connection(*args, **kwargs)
2023-06-13 13:06:19 File "/usr/local/lib/python3.8/site-packages/pymysql/connections.py", line 327, in init
2023-06-13 13:06:19 self.connect()
2023-06-13 13:06:19 File "/usr/local/lib/python3.8/site-packages/pymysql/connections.py", line 619, in connect
2023-06-13 13:06:19 raise exc
2023-06-13 13:06:19 pymysql.err.OperationalError: (2003, "Can't connect to MySQL server on 'nexvisions-torscraper-db' ([Errno -2] Name or service not known)")
2023-06-13 13:06:19
2023-06-13 13:06:19 During handling of the above exception, another exception occurred:
2023-06-13 13:06:19
2023-06-13 13:06:19 Traceback (most recent call last):
2023-06-13 13:06:19 File "/opt/torscraper/web/app.py", line 13, in
2023-06-13 13:06:35 Cannot import language library.
2023-06-13 13:06:44 Cannot import language library.
2023-06-13 13:06:19 from tor_db import *
2023-06-13 13:06:19 File "/opt/torscraper/lib/tor_db/init.py", line 13, in
2023-06-13 13:06:19 from tor_db.db import db
2023-06-13 13:06:19 File "/opt/torscraper/lib/tor_db/db.py", line 4, in
2023-06-13 13:06:19 db.bind('mysql', host=os.environ['DB_HOST'], user=os.environ['DB_USER'], passwd=os.environ['DB_PASS'], db=os.environ['DB_BASE'])
2023-06-13 13:06:19 File "/usr/local/lib/python3.8/site-packages/pony/orm/core.py", line 774, in bind
2023-06-13 13:06:19 self._bind(*args, **kwargs)
2023-06-13 13:06:19 File "/usr/local/lib/python3.8/site-packages/pony/orm/core.py", line 796, in _bind
2023-06-13 13:06:19 self.provider = provider_cls(*args, **kwargs)
2023-06-13 13:06:19 File "/usr/local/lib/python3.8/site-packages/pony/orm/dbapiprovider.py", line 130, in init
2023-06-13 13:06:19 connection, is_new_connection = provider.connect()
2023-06-13 13:06:19 File "", line 2, in connect
2023-06-13 13:06:19 File "/usr/local/lib/python3.8/site-packages/pony/orm/dbapiprovider.py", line 72, in wrap_dbapi_exceptions
2023-06-13 13:06:19 raise OperationalError(e)
2023-06-13 13:06:19 pony.orm.dbapiprovider.OperationalError: (2003, "Can't connect to MySQL server on 'nexvisions-torscraper-db' ([Errno -2] Name or service not known)")
2023-06-13 13:06:35 Traceback (most recent call last):
2023-06-13 13:06:35 File "/usr/local/lib/python3.8/site-packages/pymysql/connections.py", line 569, in connect
2023-06-13 13:06:35 sock = socket.create_connection(
2023-06-13 13:06:35 File "/usr/local/lib/python3.8/socket.py", line 787, in create_connection
2023-06-13 13:06:35 for res in getaddrinfo(host, port, 0, SOCK_STREAM):
2023-06-13 13:06:35 File "/usr/local/lib/python3.8/socket.py", line 918, in getaddrinfo
2023-06-13 13:06:35 for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
2023-06-13 13:06:35 socket.gaierror: [Errno -2] Name or service not known
2023-06-13 13:06:35
2023-06-13 13:06:35 During handling of the above exception, another exception occurred:
2023-06-13 13:06:35
2023-06-13 13:06:35 Traceback (most recent call last):
2023-06-13 13:06:35 File "/usr/local/lib/python3.8/site-packages/pony/orm/dbapiprovider.py", line 52, in wrap_dbapi_exceptions
2023-06-13 13:06:35 return func(provider, *args, **kwargs)
2023-06-13 13:06:35 File "/usr/local/lib/python3.8/site-packages/pony/orm/dbapiprovider.py", line 230, in connect
2023-06-13 13:06:35 return provider.pool.connect()
2023-06-13 13:06:35 File "/usr/local/lib/python3.8/site-packages/pony/orm/dbapiprovider.py", line 351, in connect
2023-06-13 13:06:35 pool._connect()
2023-06-13 13:06:35 File "/usr/local/lib/python3.8/site-packages/pony/orm/dbapiprovider.py", line 357, in _connect
2023-06-13 13:06:35 pool.con = pool.dbapi_module.connect(*pool.args, **pool.kwargs)
2023-06-13 13:06:35 File "/usr/local/lib/python3.8/site-packages/pymysql/init.py", line 94, in Connect
2023-06-13 13:06:35 return Connection(*args, **kwargs)
2023-06-13 13:06:35 File "/usr/local/lib/python3.8/site-packages/pymysql/connections.py", line 327, in init
2023-06-13 13:06:35 self.connect()
2023-06-13 13:06:35 File "/usr/local/lib/python3.8/site-packages/pymysql/connections.py", line 619, in connect
2023-06-13 13:06:35 raise exc
2023-06-13 13:06:35 pymysql.err.OperationalError: (2003, "Can't connect to MySQL server on 'nexvisions-torscraper-db' ([Errno -2] Name or service not known)")
2023-06-13 13:06:35
2023-06-13 13:06:35 During handling of the above exception, another exception occurred:
2023-06-13 13:06:35
2023-06-13 13:06:35 Traceback (most recent call last):
2023-06-13 13:06:35 File "/opt/torscraper/web/app.py", line 13, in
2023-06-13 13:06:35 from tor_db import *
2023-06-13 13:06:35 File "/opt/torscraper/lib/tor_db/init.py", line 13, in
2023-06-13 13:06:35 from tor_db.db import db
2023-06-13 13:06:35 File "/opt/torscraper/lib/tor_db/db.py", line 4, in
2023-06-13 13:06:35 db.bind('mysql', host=os.environ['DB_HOST'], user=os.environ['DB_USER'], passwd=os.environ['DB_PASS'], db=os.environ['DB_BASE'])
2023-06-13 13:06:35 File "/usr/local/lib/python3.8/site-packages/pony/orm/core.py", line 774, in bind
2023-06-13 13:06:35 self._bind(*args, **kwargs)
2023-06-13 13:06:35 File "/usr/local/lib/python3.8/site-packages/pony/orm/core.py", line 796, in _bind
2023-06-13 13:06:35 self.provider = provider_cls(*args, **kwargs)
2023-06-13 13:06:35 File "/usr/local/lib/python3.8/site-packages/pony/orm/dbapiprovider.py", line 130, in init
2023-06-13 13:06:35 connection, is_new_connection = provider.connect()
2023-06-13 13:06:35 File "", line 2, in connect
2023-06-13 13:06:35 File "/usr/local/lib/python3.8/site-packages/pony/orm/dbapiprovider.py", line 72, in wrap_dbapi_exceptions
2023-06-13 13:06:35 raise OperationalError(e)
2023-06-13 13:06:35 pony.orm.dbapiprovider.OperationalError: (2003, "Can't connect to MySQL server on 'nexvisions-torscraper-db' ([Errno -2] Name or service not known)")
2023-06-13 13:06:44 Traceback (most recent call last):
2023-06-13 13:06:44 File "/usr/local/lib/python3.8/site-packages/pymysql/connections.py", line 569, in connect
2023-06-13 13:06:44 sock = socket.create_connection(
2023-06-13 13:06:44 File "/usr/local/lib/python3.8/socket.py", line 787, in create_connection
2023-06-13 13:06:44 for res in getaddrinfo(host, port, 0, SOCK_STREAM):
2023-06-13 13:06:44 File "/usr/local/lib/python3.8/socket.py", line 918, in getaddrinfo
2023-06-13 13:06:44 for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
2023-06-13 13:06:44 socket.gaierror: [Errno -2] Name or service not known
2023-06-13 13:06:44
2023-06-13 13:06:44 During handling of the above exception, another exception occurred:
2023-06-13 13:06:44
2023-06-13 13:06:44 Traceback (most recent call last):
2023-06-13 13:06:44 File "/usr/local/lib/python3.8/site-packages/pony/orm/dbapiprovider.py", line 52, in wrap_dbapi_exceptions
2023-06-13 13:06:44 return func(provider, *args, **kwargs)
2023-06-13 13:06:44 File "/usr/local/lib/python3.8/site-packages/pony/orm/dbapiprovider.py", line 230, in connect
2023-06-13 13:06:44 return provider.pool.connect()
2023-06-13 13:06:44 File "/usr/local/lib/python3.8/site-packages/pony/orm/dbapiprovider.py", line 351, in connect
2023-06-13 13:06:44 pool._connect()
2023-06-13 13:06:44 File "/usr/local/lib/python3.8/site-packages/pony/orm/dbapiprovider.py", line 357, in _connect
2023-06-13 13:06:44 pool.con = pool.dbapi_module.connect(*pool.args, **pool.kwargs)
2023-06-13 13:06:44 File "/usr/local/lib/python3.8/site-packages/pymysql/init.py", line 94, in Connect
2023-06-13 13:06:44 return Connection(*args, **kwargs)
2023-06-13 13:06:44 File "/usr/local/lib/python3.8/site-packages/pymysql/connections.py", line 327, in init
2023-06-13 13:06:44 self.connect()
2023-06-13 13:06:44 File "/usr/local/lib/python3.8/site-packages/pymysql/connections.py", line 619, in connect
2023-06-13 13:06:44 raise exc
2023-06-13 13:06:44 pymysql.err.OperationalError: (2003, "Can't connect to MySQL server on 'nexvisions-torscraper-db' ([Errno -2] Name or service not known)")
2023-06-13 13:06:44
2023-06-13 13:06:44 During handling of the above exception, another exception occurred:
2023-06-13 13:06:44
2023-06-13 13:06:44 Traceback (most recent call last):
2023-06-13 13:06:44 File "/opt/torscraper/web/app.py", line 13, in
2023-06-13 13:06:44 from tor_db import *
2023-06-13 13:06:44 File "/opt/torscraper/lib/tor_db/init.py", line 13, in
2023-06-13 13:06:44 from tor_db.db import db
2023-06-13 13:06:44 File "/opt/torscraper/lib/tor_db/db.py", line 4, in
2023-06-13 13:06:44 db.bind('mysql', host=os.environ['DB_HOST'], user=os.environ['DB_USER'], passwd=os.environ['DB_PASS'], db=os.environ['DB_BASE'])
2023-06-13 13:06:44 File "/usr/local/lib/python3.8/site-packages/pony/orm/core.py", line 774, in bind
2023-06-13 13:06:44 self._bind(*args, **kwargs)
2023-06-13 13:06:44 File "/usr/local/lib/python3.8/site-packages/pony/orm/core.py", line 796, in _bind
2023-06-13 13:06:44 self.provider = provider_cls(*args, **kwargs)
2023-06-13 13:06:44 File "/usr/local/lib/python3.8/site-packages/pony/orm/dbapiprovider.py", line 130, in init
2023-06-13 13:06:44 connection, is_new_connection = provider.connect()
2023-06-13 13:06:44 File "", line 2, in connect
2023-06-13 13:06:44 File "/usr/local/lib/python3.8/site-packages/pony/orm/dbapiprovider.py", line 72, in wrap_dbapi_exceptions
2023-06-13 13:06:44 raise OperationalError(e)
2023-06-13 13:06:44 pony.orm.dbapiprovider.OperationalError: (2003, "Can't connect to MySQL server on 'nexvisions-torscraper-db' ([Errno -2] Name or service not known)")
2023-06-13 13:06:55 Traceback (most recent call last):
2023-06-13 13:06:55 File "/usr/local/lib/python3.8/site-packages/pymysql/connections.py", line 569, in connect
2023-06-13 13:06:55 sock = socket.create_connection(
2023-06-13 13:06:55 File "/usr/local/lib/python3.8/socket.py", line 787, in create_connection
2023-06-13 13:06:55 for res in getaddrinfo(host, port, 0, SOCK_STREAM):
2023-06-13 13:06:55 File "/usr/local/lib/python3.8/socket.py", line 918, in getaddrinfo
2023-06-13 13:06:55 for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
2023-06-13 13:06:55 socket.gaierror: [Errno -2] Name or service not known
2023-06-13 13:06:55
2023-06-13 13:06:55 During handling of the above exception, another exception occurred:
2023-06-13 13:06:55
2023-06-13 13:06:55 Traceback (most recent call last):
2023-06-13 13:06:55 File "/usr/local/lib/python3.8/site-packages/pony/orm/dbapiprovider.py", line 52, in wrap_dbapi_exceptions
2023-06-13 13:06:55 return func(provider, *args, **kwargs)
2023-06-13 13:06:55 File "/usr/local/lib/python3.8/site-packages/pony/orm/dbapiprovider.py", line 230, in connect
2023-06-13 13:06:55 return provider.pool.connect()
2023-06-13 13:06:55 File "/usr/local/lib/python3.8/site-packages/pony/orm/dbapiprovider.py", line 351, in connect
2023-06-13 13:06:55 pool._connect()
2023-06-13 13:06:55 File "/usr/local/lib/python3.8/site-packages/pony/orm/dbapiprovider.py", line 357, in _connect
2023-06-13 13:06:55 pool.con = pool.dbapi_module.connect(*pool.args, **pool.kwargs)
2023-06-13 13:06:55 File "/usr/local/lib/python3.8/site-packages/pymysql/init.py", line 94, in Connect
2023-06-13 13:06:55 return Connection(*args, **kwargs)
2023-06-13 13:06:55 File "/usr/local/lib/python3.8/site-packages/pymysql/connections.py", line 327, in init
2023-06-13 13:06:55 self.connect()
2023-06-13 13:06:55 File "/usr/local/lib/python3.8/site-packages/pymysql/connections.py", line 619, in connect
2023-06-13 13:06:55 raise exc
2023-06-13 13:06:55 pymysql.err.OperationalError: (2003, "Can't connect to MySQL server on 'nexvisions-torscraper-db' ([Errno -2] Name or service not known)")
2023-06-13 13:06:55
2023-06-13 13:06:55 During handling of the above exception, another exception occurred:
2023-06-13 13:06:55
2023-06-13 13:06:55 Cannot import language library.
2023-06-13 13:07:07 Cannot import language library.
2023-06-13 13:07:21 Cannot import language library.
2023-06-13 13:07:48 Cannot import language library.
2023-06-13 13:06:55 Traceback (most recent call last):
2023-06-13 13:06:55 File "/opt/torscraper/web/app.py", line 13, in
2023-06-13 13:06:55 from tor_db import *
2023-06-13 13:06:55 File "/opt/torscraper/lib/tor_db/init.py", line 13, in
2023-06-13 13:06:55 from tor_db.db import db
2023-06-13 13:06:55 File "/opt/torscraper/lib/tor_db/db.py", line 4, in
2023-06-13 13:06:55 db.bind('mysql', host=os.environ['DB_HOST'], user=os.environ['DB_USER'], passwd=os.environ['DB_PASS'], db=os.environ['DB_BASE'])
2023-06-13 13:06:55 File "/usr/local/lib/python3.8/site-packages/pony/orm/core.py", line 774, in bind
2023-06-13 13:06:55 self._bind(*args, **kwargs)
2023-06-13 13:06:55 File "/usr/local/lib/python3.8/site-packages/pony/orm/core.py", line 796, in _bind
2023-06-13 13:06:55 self.provider = provider_cls(*args, **kwargs)
2023-06-13 13:06:55 File "/usr/local/lib/python3.8/site-packages/pony/orm/dbapiprovider.py", line 130, in init
2023-06-13 13:06:55 connection, is_new_connection = provider.connect()
2023-06-13 13:06:55 File "", line 2, in connect
2023-06-13 13:06:55 File "/usr/local/lib/python3.8/site-packages/pony/orm/dbapiprovider.py", line 72, in wrap_dbapi_exceptions
2023-06-13 13:06:55 raise OperationalError(e)
2023-06-13 13:06:55 pony.orm.dbapiprovider.OperationalError: (2003, "Can't connect to MySQL server on 'nexvisions-torscraper-db' ([Errno -2] Name or service not known)")
2023-06-13 13:07:07 Traceback (most recent call last):
2023-06-13 13:07:07 File "/usr/local/lib/python3.8/site-packages/pymysql/connections.py", line 569, in connect
2023-06-13 13:07:07 sock = socket.create_connection(
2023-06-13 13:07:07 File "/usr/local/lib/python3.8/socket.py", line 787, in create_connection
2023-06-13 13:07:07 for res in getaddrinfo(host, port, 0, SOCK_STREAM):
2023-06-13 13:07:07 File "/usr/local/lib/python3.8/socket.py", line 918, in getaddrinfo
2023-06-13 13:07:07 for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
2023-06-13 13:07:07 socket.gaierror: [Errno -2] Name or service not known
2023-06-13 13:07:07
2023-06-13 13:07:07 During handling of the above exception, another exception occurred:
2023-06-13 13:07:07
2023-06-13 13:07:07 Traceback (most recent call last):
2023-06-13 13:07:07 File "/usr/local/lib/python3.8/site-packages/pony/orm/dbapiprovider.py", line 52, in wrap_dbapi_exceptions
2023-06-13 13:07:07 return func(provider, *args, **kwargs)
2023-06-13 13:07:07 File "/usr/local/lib/python3.8/site-packages/pony/orm/dbapiprovider.py", line 230, in connect
2023-06-13 13:07:07 return provider.pool.connect()
2023-06-13 13:07:07 File "/usr/local/lib/python3.8/site-packages/pony/orm/dbapiprovider.py", line 351, in connect
2023-06-13 13:07:07 pool._connect()
2023-06-13 13:07:07 File "/usr/local/lib/python3.8/site-packages/pony/orm/dbapiprovider.py", line 357, in _connect
2023-06-13 13:07:07 pool.con = pool.dbapi_module.connect(*pool.args, **pool.kwargs)
2023-06-13 13:07:07 File "/usr/local/lib/python3.8/site-packages/pymysql/init.py", line 94, in Connect
2023-06-13 13:07:07 return Connection(*args, **kwargs)
2023-06-13 13:07:07 File "/usr/local/lib/python3.8/site-packages/pymysql/connections.py", line 327, in init
2023-06-13 13:07:07 self.connect()
2023-06-13 13:07:07 File "/usr/local/lib/python3.8/site-packages/pymysql/connections.py", line 619, in connect
2023-06-13 13:07:07 raise exc
2023-06-13 13:07:07 pymysql.err.OperationalError: (2003, "Can't connect to MySQL server on 'nexvisions-torscraper-db' ([Errno -2] Name or service not known)")
2023-06-13 13:07:07
2023-06-13 13:07:07 During handling of the above exception, another exception occurred:
2023-06-13 13:07:07
2023-06-13 13:07:07 Traceback (most recent call last):
2023-06-13 13:07:07 File "/opt/torscraper/web/app.py", line 13, in
2023-06-13 13:07:07 from tor_db import *
2023-06-13 13:07:07 File "/opt/torscraper/lib/tor_db/init.py", line 13, in
2023-06-13 13:07:07 from tor_db.db import db
2023-06-13 13:07:07 File "/opt/torscraper/lib/tor_db/db.py", line 4, in
2023-06-13 13:07:07 db.bind('mysql', host=os.environ['DB_HOST'], user=os.environ['DB_USER'], passwd=os.environ['DB_PASS'], db=os.environ['DB_BASE'])
2023-06-13 13:07:07 File "/usr/local/lib/python3.8/site-packages/pony/orm/core.py", line 774, in bind
2023-06-13 13:07:07 self._bind(*args, **kwargs)
2023-06-13 13:07:07 File "/usr/local/lib/python3.8/site-packages/pony/orm/core.py", line 796, in _bind
2023-06-13 13:07:07 self.provider = provider_cls(*args, **kwargs)
2023-06-13 13:07:07 File "/usr/local/lib/python3.8/site-packages/pony/orm/dbapiprovider.py", line 130, in init
2023-06-13 13:07:07 connection, is_new_connection = provider.connect()
2023-06-13 13:07:07 File "", line 2, in connect
2023-06-13 13:07:07 File "/usr/local/lib/python3.8/site-packages/pony/orm/dbapiprovider.py", line 72, in wrap_dbapi_exceptions
2023-06-13 13:07:07 raise OperationalError(e)
2023-06-13 13:07:07 pony.orm.dbapiprovider.OperationalError: (2003, "Can't connect to MySQL server on 'nexvisions-torscraper-db' ([Errno -2] Name or service not known)")
2023-06-13 13:07:21 Traceback (most recent call last):
2023-06-13 13:07:21 File "/usr/local/lib/python3.8/site-packages/pymysql/connections.py", line 569, in connect
2023-06-13 13:07:21 sock = socket.create_connection(
2023-06-13 13:07:21 File "/usr/local/lib/python3.8/socket.py", line 787, in create_connection
2023-06-13 13:07:21 for res in getaddrinfo(host, port, 0, SOCK_STREAM):
2023-06-13 13:07:21 File "/usr/local/lib/python3.8/socket.py", line 918, in getaddrinfo
2023-06-13 13:07:21 for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
2023-06-13 13:07:21 socket.gaierror: [Errno -2] Name or service not known
2023-06-13 13:07:21
2023-06-13 13:07:21 During handling of the above exception, another exception occurred:
2023-06-13 13:07:21
2023-06-13 13:07:21 Traceback (most recent call last):
2023-06-13 13:07:21 File "/usr/local/lib/python3.8/site-packages/pony/orm/dbapiprovider.py", line 52, in wrap_dbapi_exceptions
2023-06-13 13:07:21 return func(provider, *args, **kwargs)
2023-06-13 13:07:21 File "/usr/local/lib/python3.8/site-packages/pony/orm/dbapiprovider.py", line 230, in connect
2023-06-13 13:07:21 return provider.pool.connect()
2023-06-13 13:07:21 File "/usr/local/lib/python3.8/site-packages/pony/orm/dbapiprovider.py", line 351, in connect
2023-06-13 13:07:21 pool._connect()
2023-06-13 13:07:21 File "/usr/local/lib/python3.8/site-packages/pony/orm/dbapiprovider.py", line 357, in _connect
2023-06-13 13:07:21 pool.con = pool.dbapi_module.connect(*pool.args, **pool.kwargs)
2023-06-13 13:07:21 File "/usr/local/lib/python3.8/site-packages/pymysql/init.py", line 94, in Connect
2023-06-13 13:07:21 return Connection(*args, **kwargs)
2023-06-13 13:07:21 File "/usr/local/lib/python3.8/site-packages/pymysql/connections.py", line 327, in init
2023-06-13 13:07:21 self.connect()
2023-06-13 13:07:21 File "/usr/local/lib/python3.8/site-packages/pymysql/connections.py", line 619, in connect
2023-06-13 13:07:21 raise exc
2023-06-13 13:07:21 pymysql.err.OperationalError: (2003, "Can't connect to MySQL server on 'nexvisions-torscraper-db' ([Errno -2] Name or service not known)")
2023-06-13 13:07:21
2023-06-13 13:07:21 During handling of the above exception, another exception occurred:
2023-06-13 13:07:21
2023-06-13 13:07:21 Traceback (most recent call last):
2023-06-13 13:07:21 File "/opt/torscraper/web/app.py", line 13, in
2023-06-13 13:07:21 from tor_db import *
2023-06-13 13:07:21 File "/opt/torscraper/lib/tor_db/init.py", line 13, in
2023-06-13 13:07:21 from tor_db.db import db
2023-06-13 13:07:21 File "/opt/torscraper/lib/tor_db/db.py", line 4, in
2023-06-13 13:07:21 db.bind('mysql', host=os.environ['DB_HOST'], user=os.environ['DB_USER'], passwd=os.environ['DB_PASS'], db=os.environ['DB_BASE'])
2023-06-13 13:07:21 File "/usr/local/lib/python3.8/site-packages/pony/orm/core.py", line 774, in bind
2023-06-13 13:07:21 self._bind(*args, **kwargs)
2023-06-13 13:07:21 File "/usr/local/lib/python3.8/site-packages/pony/orm/core.py", line 796, in _bind
2023-06-13 13:07:21 self.provider = provider_cls(*args, **kwargs)
2023-06-13 13:07:21 File "/usr/local/lib/python3.8/site-packages/pony/orm/dbapiprovider.py", line 130, in init
2023-06-13 13:07:21 connection, is_new_connection = provider.connect()
2023-06-13 13:07:21 File "", line 2, in connect
2023-06-13 13:07:21 File "/usr/local/lib/python3.8/site-packages/pony/orm/dbapiprovider.py", line 72, in wrap_dbapi_exceptions
2023-06-13 13:07:21 raise OperationalError(e)
2023-06-13 13:07:21 pony.orm.dbapiprovider.OperationalError: (2003, "Can't connect to MySQL server on 'nexvisions-torscraper-db' ([Errno -2] Name or service not known)")
2023-06-13 13:07:48 Traceback (most recent call last):
2023-06-13 13:07:48 File "/usr/local/lib/python3.8/site-packages/pymysql/connections.py", line 569, in connect
2023-06-13 13:07:48 sock = socket.create_connection(
2023-06-13 13:07:48 File "/usr/local/lib/python3.8/socket.py", line 787, in create_connection
2023-06-13 13:07:48 for res in getaddrinfo(host, port, 0, SOCK_STREAM):
2023-06-13 13:07:48 File "/usr/local/lib/python3.8/socket.py", line 918, in getaddrinfo
2023-06-13 13:07:48 for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
2023-06-13 13:07:48 socket.gaierror: [Errno -2] Name or service not known
2023-06-13 13:07:48
2023-06-13 13:07:48 During handling of the above exception, another exception occurred:
2023-06-13 13:07:48
2023-06-13 13:07:48 Traceback (most recent call last):
2023-06-13 13:07:48 File "/usr/local/lib/python3.8/site-packages/pony/orm/dbapiprovider.py", line 52, in wrap_dbapi_exceptions
2023-06-13 13:07:48 return func(provider, *args, **kwargs)
2023-06-13 13:07:48 File "/usr/local/lib/python3.8/site-packages/pony/orm/dbapiprovider.py", line 230, in connect
2023-06-13 13:07:48 return provider.pool.connect()
2023-06-13 13:07:48 File "/usr/local/lib/python3.8/site-packages/pony/orm/dbapiprovider.py", line 351, in connect
2023-06-13 13:07:48 pool._connect()
2023-06-13 13:07:48 File "/usr/local/lib/python3.8/site-packages/pony/orm/dbapiprovider.py", line 357, in _connect
2023-06-13 13:07:48 pool.con = pool.dbapi_module.connect(*pool.args, **pool.kwargs)
2023-06-13 13:07:48 File "/usr/local/lib/python3.8/site-packages/pymysql/init.py", line 94, in Connect
2023-06-13 13:07:48 return Connection(*args, **kwargs)
2023-06-13 13:07:48 File "/usr/local/lib/python3.8/site-packages/pymysql/connections.py", line 327, in init
2023-06-13 13:07:48 self.connect()
2023-06-13 13:07:48 File "/usr/local/lib/python3.8/site-packages/pymysql/connections.py", line 619, in connect
2023-06-13 13:07:48 raise exc
2023-06-13 13:07:48 pymysql.err.OperationalError: (2003, "Can't connect to MySQL server on 'nexvisions-torscraper-db' ([Errno -2] Name or service not known)")
2023-06-13 13:07:48
2023-06-13 13:07:48 During handling of the above exception, another exception occurred:
2023-06-13 13:07:48
2023-06-13 13:07:48 Traceback (most recent call last):
2023-06-13 13:07:48 File "/opt/torscraper/web/app.py", line 13, in
2023-06-13 13:07:48 from tor_db import *
2023-06-13 13:07:48 File "/opt/torscraper/lib/tor_db/init.py", line 13, in
2023-06-13 13:07:48 from tor_db.db import db
2023-06-13 13:07:48 File "/opt/torscraper/lib/tor_db/db.py", line 4, in
2023-06-13 13:07:48 db.bind('mysql', host=os.environ['DB_HOST'], user=os.environ['DB_USER'], passwd=os.environ['DB_PASS'], db=os.environ['DB_BASE'])
2023-06-13 13:07:48 File "/usr/local/lib/python3.8/site-packages/pony/orm/core.py", line 774, in bind
2023-06-13 13:07:48 self._bind(*args, **kwargs)
2023-06-13 13:07:48 File "/usr/local/lib/python3.8/site-packages/pony/orm/core.py", line 796, in _bind
2023-06-13 13:07:48 self.provider = provider_cls(*args, **kwargs)
2023-06-13 13:07:48 File "/usr/local/lib/python3.8/site-packages/pony/orm/dbapiprovider.py", line 130, in init
2023-06-13 13:07:48 connection, is_new_connection = provider.connect()
2023-06-13 13:07:48 File "", line 2, in connect
2023-06-13 13:07:48 File "/usr/local/lib/python3.8/site-packages/pony/orm/dbapiprovider.py", line 72, in wrap_dbapi_exceptions
2023-06-13 13:07:48 raise OperationalError(e)
2023-06-13 13:07:48 pony.orm.dbapiprovider.OperationalError: (2003, "Can't connect to MySQL server on 'nexvisions-torscraper-db' ([Errno -2] Name or service not known)")
2023-06-13 13:08:04 Traceback (most recent call last):
2023-06-13 13:08:04 File "/usr/local/lib/python3.8/site-packages/pymysql/connections.py", line 569, in connect
2023-06-13 13:08:04 sock = socket.create_connection(
2023-06-13 13:08:04 File "/usr/local/lib/python3.8/socket.py", line 787, in create_connection
2023-06-13 13:08:04 for res in getaddrinfo(host, port, 0, SOCK_STREAM):
2023-06-13 13:08:04 File "/usr/local/lib/python3.8/socket.py", line 918, in getaddrinfo
2023-06-13 13:08:04 for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
2023-06-13 13:08:04 socket.gaierror: [Errno -2] Name or service not known
2023-06-13 13:08:04
2023-06-13 13:08:04 During handling of the above exception, another exception occurred:
2023-06-13 13:08:04
2023-06-13 13:08:04 Traceback (most recent call last):
2023-06-13 13:08:04 File "/usr/local/lib/python3.8/site-packages/pony/orm/dbapiprovider.py", line 52, in wrap_dbapi_exceptions
2023-06-13 13:08:04 return func(provider, *args, **kwargs)
2023-06-13 13:08:04 File "/usr/local/lib/python3.8/site-packages/pony/orm/dbapiprovider.py", line 230, in connect
2023-06-13 13:08:04 return provider.pool.connect()
2023-06-13 13:08:04 File "/usr/local/lib/python3.8/site-packages/pony/orm/dbapiprovider.py", line 351, in connect
2023-06-13 13:08:04 pool._connect()
2023-06-13 13:08:04 File "/usr/local/lib/python3.8/site-packages/pony/orm/dbapiprovider.py", line 357, in _connect
2023-06-13 13:08:04 pool.con = pool.dbapi_module.connect(*pool.args, **pool.kwargs)
2023-06-13 13:08:04 File "/usr/local/lib/python3.8/site-packages/pymysql/init.py", line 94, in Connect
2023-06-13 13:08:04 return Connection(*args, **kwargs)
2023-06-13 13:08:04 File "/usr/local/lib/python3.8/site-packages/pymysql/connections.py", line 327, in init
2023-06-13 13:08:04 self.connect()
2023-06-13 13:08:04 File "/usr/local/lib/python3.8/site-packages/pymysql/connections.py", line 619, in connect
2023-06-13 13:08:04 raise exc
2023-06-13 13:08:04 pymysql.err.OperationalError: (2003, "Can't connect to MySQL server on 'nexvisions-torscraper-db' ([Errno -2] Name or service not known)")
2023-06-13 13:08:04
2023-06-13 13:08:04 During handling of the above exception, another exception occurred:
2023-06-13 13:08:04
2023-06-13 13:08:04 Traceback (most recent call last):
2023-06-13 13:08:04 File "/opt/torscraper/web/app.py", line 13, in
2023-06-13 13:08:04 from tor_db import *
2023-06-13 13:08:04 File "/opt/torscraper/lib/tor_db/init.py", line 13, in
2023-06-13 13:08:04 from tor_db.db import db
2023-06-13 13:08:04 File "/opt/torscraper/lib/tor_db/db.py", line 4, in
2023-06-13 13:08:04 db.bind('mysql', host=os.environ['DB_HOST'], user=os.environ['DB_USER'], passwd=os.environ['DB_PASS'], db=os.environ['DB_BASE'])
2023-06-13 13:08:04 File "/usr/local/lib/python3.8/site-packages/pony/orm/core.py", line 774, in bind
2023-06-13 13:08:04 Cannot import language library.
2023-06-13 13:08:19 Cannot import language library.
2023-06-13 13:08:32 Cannot import language library.
2023-06-13 13:08:58 Cannot import language library.
2023-06-13 13:09:32 Cannot import language library.
2023-06-13 13:09:32 * Serving Flask app "app" (lazy loading)
2023-06-13 13:09:32 * Environment: production
2023-06-13 13:09:32 WARNING: This is a development server. Do not use it in a production deployment.
2023-06-13 13:09:32 Use a production WSGI server instead.
2023-06-13 13:09:32 * Debug mode: off
2023-06-13 13:17:24 Cannot import language library.
2023-06-13 13:17:24 * Serving Flask app "app" (lazy loading)
2023-06-13 13:17:24 * Environment: production
2023-06-13 13:17:24 WARNING: This is a development server. Do not use it in a production deployment.
2023-06-13 13:17:24 Use a production WSGI server instead.
2023-06-13 13:17:24 * Debug mode: off
2023-06-13 13:08:04 self._bind(*args, **kwargs)
2023-06-13 13:08:04 File "/usr/local/lib/python3.8/site-packages/pony/orm/core.py", line 796, in _bind
2023-06-13 13:08:04 self.provider = provider_cls(*args, **kwargs)
2023-06-13 13:08:04 File "/usr/local/lib/python3.8/site-packages/pony/orm/dbapiprovider.py", line 130, in init
2023-06-13 13:08:04 connection, is_new_connection = provider.connect()
2023-06-13 13:08:04 File "", line 2, in connect
2023-06-13 13:08:04 File "/usr/local/lib/python3.8/site-packages/pony/orm/dbapiprovider.py", line 72, in wrap_dbapi_exceptions
2023-06-13 13:08:04 raise OperationalError(e)
2023-06-13 13:08:04 pony.orm.dbapiprovider.OperationalError: (2003, "Can't connect to MySQL server on 'nexvisions-torscraper-db' ([Errno -2] Name or service not known)")
2023-06-13 13:08:19 Traceback (most recent call last):
2023-06-13 13:08:19 File "/usr/local/lib/python3.8/site-packages/pymysql/connections.py", line 569, in connect
2023-06-13 13:08:19 sock = socket.create_connection(
2023-06-13 13:08:19 File "/usr/local/lib/python3.8/socket.py", line 787, in create_connection
2023-06-13 13:08:19 for res in getaddrinfo(host, port, 0, SOCK_STREAM):
2023-06-13 13:08:19 File "/usr/local/lib/python3.8/socket.py", line 918, in getaddrinfo
2023-06-13 13:08:19 for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
2023-06-13 13:08:19 socket.gaierror: [Errno -2] Name or service not known
2023-06-13 13:08:19
2023-06-13 13:08:19 During handling of the above exception, another exception occurred:
2023-06-13 13:08:19
2023-06-13 13:08:19 Traceback (most recent call last):
2023-06-13 13:08:19 File "/usr/local/lib/python3.8/site-packages/pony/orm/dbapiprovider.py", line 52, in wrap_dbapi_exceptions
2023-06-13 13:08:19 return func(provider, *args, **kwargs)
2023-06-13 13:08:19 File "/usr/local/lib/python3.8/site-packages/pony/orm/dbapiprovider.py", line 230, in connect
2023-06-13 13:08:19 return provider.pool.connect()
2023-06-13 13:08:19 File "/usr/local/lib/python3.8/site-packages/pony/orm/dbapiprovider.py", line 351, in connect
2023-06-13 13:08:19 pool._connect()
2023-06-13 13:08:19 File "/usr/local/lib/python3.8/site-packages/pony/orm/dbapiprovider.py", line 357, in _connect
2023-06-13 13:08:19 pool.con = pool.dbapi_module.connect(*pool.args, **pool.kwargs)
2023-06-13 13:08:19 File "/usr/local/lib/python3.8/site-packages/pymysql/init.py", line 94, in Connect
2023-06-13 13:08:19 return Connection(*args, **kwargs)
2023-06-13 13:08:19 File "/usr/local/lib/python3.8/site-packages/pymysql/connections.py", line 327, in init
2023-06-13 13:08:19 self.connect()
2023-06-13 13:08:19 File "/usr/local/lib/python3.8/site-packages/pymysql/connections.py", line 619, in connect
2023-06-13 13:08:19 raise exc
2023-06-13 13:08:19 pymysql.err.OperationalError: (2003, "Can't connect to MySQL server on 'nexvisions-torscraper-db' ([Errno -2] Name or service not known)")
2023-06-13 13:08:19
2023-06-13 13:08:19 During handling of the above exception, another exception occurred:
2023-06-13 13:08:19
2023-06-13 13:08:19 Traceback (most recent call last):
2023-06-13 13:08:19 File "/opt/torscraper/web/app.py", line 13, in
2023-06-13 13:08:19 from tor_db import *
2023-06-13 13:08:19 File "/opt/torscraper/lib/tor_db/init.py", line 13, in
2023-06-13 13:08:19 from tor_db.db import db
2023-06-13 13:08:19 File "/opt/torscraper/lib/tor_db/db.py", line 4, in
2023-06-13 13:08:19 db.bind('mysql', host=os.environ['DB_HOST'], user=os.environ['DB_USER'], passwd=os.environ['DB_PASS'], db=os.environ['DB_BASE'])
2023-06-13 13:08:19 File "/usr/local/lib/python3.8/site-packages/pony/orm/core.py", line 774, in bind
2023-06-13 13:08:19 self._bind(*args, **kwargs)
2023-06-13 13:08:19 File "/usr/local/lib/python3.8/site-packages/pony/orm/core.py", line 796, in _bind
2023-06-13 13:08:19 self.provider = provider_cls(*args, **kwargs)
2023-06-13 13:08:19 File "/usr/local/lib/python3.8/site-packages/pony/orm/dbapiprovider.py", line 130, in init
2023-06-13 13:08:19 connection, is_new_connection = provider.connect()
2023-06-13 13:08:19 File "", line 2, in connect
2023-06-13 13:08:19 File "/usr/local/lib/python3.8/site-packages/pony/orm/dbapiprovider.py", line 72, in wrap_dbapi_exceptions
2023-06-13 13:08:19 raise OperationalError(e)
2023-06-13 13:08:19 pony.orm.dbapiprovider.OperationalError: (2003, "Can't connect to MySQL server on 'nexvisions-torscraper-db' ([Errno -2] Name or service not known)")
2023-06-13 13:08:32 Traceback (most recent call last):
2023-06-13 13:08:32 File "/usr/local/lib/python3.8/site-packages/pymysql/connections.py", line 569, in connect
2023-06-13 13:08:32 sock = socket.create_connection(
2023-06-13 13:08:32 File "/usr/local/lib/python3.8/socket.py", line 787, in create_connection
2023-06-13 13:08:32 for res in getaddrinfo(host, port, 0, SOCK_STREAM):
2023-06-13 13:08:32 File "/usr/local/lib/python3.8/socket.py", line 918, in getaddrinfo
2023-06-13 13:08:32 for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
2023-06-13 13:08:32 socket.gaierror: [Errno -2] Name or service not known
2023-06-13 13:08:32
2023-06-13 13:08:32 During handling of the above exception, another exception occurred:
2023-06-13 13:08:32
2023-06-13 13:08:32 Traceback (most recent call last):
2023-06-13 13:08:32 File "/usr/local/lib/python3.8/site-packages/pony/orm/dbapiprovider.py", line 52, in wrap_dbapi_exceptions
2023-06-13 13:08:32 return func(provider, *args, **kwargs)
2023-06-13 13:08:32 File "/usr/local/lib/python3.8/site-packages/pony/orm/dbapiprovider.py", line 230, in connect
2023-06-13 13:08:32 return provider.pool.connect()
2023-06-13 13:08:32 File "/usr/local/lib/python3.8/site-packages/pony/orm/dbapiprovider.py", line 351, in connect
2023-06-13 13:08:32 pool._connect()
2023-06-13 13:08:32 File "/usr/local/lib/python3.8/site-packages/pony/orm/dbapiprovider.py", line 357, in _connect
2023-06-13 13:08:32 pool.con = pool.dbapi_module.connect(*pool.args, **pool.kwargs)
2023-06-13 13:08:32 File "/usr/local/lib/python3.8/site-packages/pymysql/init.py", line 94, in Connect
2023-06-13 13:08:32 return Connection(*args, **kwargs)
2023-06-13 13:08:32 File "/usr/local/lib/python3.8/site-packages/pymysql/connections.py", line 327, in init
2023-06-13 13:08:32 self.connect()
2023-06-13 13:08:32 File "/usr/local/lib/python3.8/site-packages/pymysql/connections.py", line 619, in connect
2023-06-13 13:08:32 raise exc
2023-06-13 13:08:32 pymysql.err.OperationalError: (2003, "Can't connect to MySQL server on 'nexvisions-torscraper-db' ([Errno -2] Name or service not known)")
2023-06-13 13:08:32
2023-06-13 13:08:32 During handling of the above exception, another exception occurred:
2023-06-13 13:08:32
2023-06-13 13:08:32 Traceback (most recent call last):
2023-06-13 13:08:32 File "/opt/torscraper/web/app.py", line 13, in
2023-06-13 13:08:32 from tor_db import *
2023-06-13 13:08:32 File "/opt/torscraper/lib/tor_db/init.py", line 13, in
2023-06-13 13:08:32 from tor_db.db import db
2023-06-13 13:08:32 File "/opt/torscraper/lib/tor_db/db.py", line 4, in
2023-06-13 13:08:32 db.bind('mysql', host=os.environ['DB_HOST'], user=os.environ['DB_USER'], passwd=os.environ['DB_PASS'], db=os.environ['DB_BASE'])
2023-06-13 13:08:32 File "/usr/local/lib/python3.8/site-packages/pony/orm/core.py", line 774, in bind
2023-06-13 13:08:32 self._bind(*args, **kwargs)
2023-06-13 13:08:32 File "/usr/local/lib/python3.8/site-packages/pony/orm/core.py", line 796, in _bind
2023-06-13 13:08:32 self.provider = provider_cls(*args, **kwargs)
2023-06-13 13:08:32 File "/usr/local/lib/python3.8/site-packages/pony/orm/dbapiprovider.py", line 130, in init
2023-06-13 13:08:32 connection, is_new_connection = provider.connect()
2023-06-13 13:08:32 File "", line 2, in connect
2023-06-13 13:08:32 File "/usr/local/lib/python3.8/site-packages/pony/orm/dbapiprovider.py", line 72, in wrap_dbapi_exceptions
2023-06-13 13:08:32 raise OperationalError(e)
2023-06-13 13:08:32 pony.orm.dbapiprovider.OperationalError: (2003, "Can't connect to MySQL server on 'nexvisions-torscraper-db' ([Errno -2] Name or service not known)")
2023-06-13 13:08:58 Traceback (most recent call last):
2023-06-13 13:08:58 File "/usr/local/lib/python3.8/site-packages/pymysql/connections.py", line 569, in connect
2023-06-13 13:08:58 sock = socket.create_connection(
2023-06-13 13:08:58 File "/usr/local/lib/python3.8/socket.py", line 808, in create_connection
2023-06-13 13:08:58 raise err
2023-06-13 13:08:58 File "/usr/local/lib/python3.8/socket.py", line 796, in create_connection
2023-06-13 13:08:58 sock.connect(sa)
2023-06-13 13:08:58 ConnectionRefusedError: [Errno 111] Connection refused
2023-06-13 13:08:58
2023-06-13 13:08:58 During handling of the above exception, another exception occurred:
2023-06-13 13:08:58
2023-06-13 13:08:58 Traceback (most recent call last):
2023-06-13 13:08:58 File "/usr/local/lib/python3.8/site-packages/pony/orm/dbapiprovider.py", line 52, in wrap_dbapi_exceptions
2023-06-13 13:08:58 return func(provider, *args, **kwargs)
2023-06-13 13:08:58 File "/usr/local/lib/python3.8/site-packages/pony/orm/dbapiprovider.py", line 230, in connect
2023-06-13 13:08:58 return provider.pool.connect()
2023-06-13 13:08:58 File "/usr/local/lib/python3.8/site-packages/pony/orm/dbapiprovider.py", line 351, in connect
2023-06-13 13:08:58 pool._connect()
2023-06-13 13:08:58 File "/usr/local/lib/python3.8/site-packages/pony/orm/dbapiprovider.py", line 357, in _connect
2023-06-13 13:08:58 pool.con = pool.dbapi_module.connect(*pool.args, **pool.kwargs)
2023-06-13 13:08:58 File "/usr/local/lib/python3.8/site-packages/pymysql/init.py", line 94, in Connect
2023-06-13 13:08:58 return Connection(*args, **kwargs)
2023-06-13 13:08:58 File "/usr/local/lib/python3.8/site-packages/pymysql/connections.py", line 327, in init
2023-06-13 13:08:58 self.connect()
2023-06-13 13:08:58 File "/usr/local/lib/python3.8/site-packages/pymysql/connections.py", line 619, in connect
2023-06-13 13:08:58 raise exc
2023-06-13 13:08:58 pymysql.err.OperationalError: (2003, "Can't connect to MySQL server on 'nexvisions-torscraper-db' ([Errno 111] Connection refused)")
2023-06-13 13:08:58
2023-06-13 13:08:58 During handling of the above exception, another exception occurred:
2023-06-13 13:08:58
2023-06-13 13:08:58 Traceback (most recent call last):
2023-06-13 13:08:58 File "/opt/torscraper/web/app.py", line 13, in
2023-06-13 13:08:58 from tor_db import *
2023-06-13 13:08:58 File "/opt/torscraper/lib/tor_db/init.py", line 13, in
2023-06-13 13:08:58 from tor_db.db import db
2023-06-13 13:08:58 File "/opt/torscraper/lib/tor_db/db.py", line 4, in
2023-06-13 13:08:58 db.bind('mysql', host=os.environ['DB_HOST'], user=os.environ['DB_USER'], passwd=os.environ['DB_PASS'], db=os.environ['DB_BASE'])
2023-06-13 13:08:58 File "/usr/local/lib/python3.8/site-packages/pony/orm/core.py", line 774, in bind
2023-06-13 13:08:58 self._bind(*args, **kwargs)
2023-06-13 13:08:58 File "/usr/local/lib/python3.8/site-packages/pony/orm/core.py", line 796, in _bind
2023-06-13 13:08:58 self.provider = provider_cls(*args, **kwargs)
2023-06-13 13:08:58 File "/usr/local/lib/python3.8/site-packages/pony/orm/dbapiprovider.py", line 130, in init
2023-06-13 13:08:58 connection, is_new_connection = provider.connect()
2023-06-13 13:08:58 File "", line 2, in connect
2023-06-13 13:08:58 File "/usr/local/lib/python3.8/site-packages/pony/orm/dbapiprovider.py", line 72, in wrap_dbapi_exceptions
2023-06-13 13:08:58 raise OperationalError(e)
2023-06-13 13:08:58 pony.orm.dbapiprovider.OperationalError: (2003, "Can't connect to MySQL server on 'nexvisions-torscraper-db' ([Errno 111] Connection refused)")
2023-06-13 13:09:32 * Running on http://0.0.0.0:5000/ (Press CTRL+C to quit)
2023-06-13 13:17:24 * Running on http://0.0.0.0:5000/ (Press CTRL+C to quit)
2023-06-13 13:17:28 172.16.57.1 - - [13/Jun/2023 12:17:28] "GET / HTTP/1.1" 200 -
2023-06-13 13:17:38 172.16.57.1 - - [13/Jun/2023 12:17:38] "GET / HTTP/1.1" 200 -
2023-06-13 13:17:38 172.16.57.1 - - [13/Jun/2023 12:17:38] "GET /static/css/bootstrap.min.css HTTP/1.1" 200 -
2023-06-13 13:17:38 172.16.57.1 - - [13/Jun/2023 12:17:38] "GET /static/css/simple-line-icons.css HTTP/1.1" 200 -
2023-06-13 13:17:39 172.16.57.1 - - [13/Jun/2023 12:17:39] "GET /static/css/font-awesome.min.css HTTP/1.1" 200 -
2023-06-13 13:17:39 172.16.57.1 - - [13/Jun/2023 12:17:39] "GET /static/css/themify-icons.css HTTP/1.1" 200 -
2023-06-13 13:17:39 172.16.57.1 - - [13/Jun/2023 12:17:39] "GET /static/css/style.css HTTP/1.1" 200 -
2023-06-13 13:17:39 172.16.57.1 - - [13/Jun/2023 12:17:39] "GET /static/css/set1.css HTTP/1.1" 200 -
2023-06-13 13:17:40 172.16.57.1 - - [13/Jun/2023 12:17:40] "GET /static/js/popper.min.js HTTP/1.1" 200 -
2023-06-13 13:17:40 172.16.57.1 - - [13/Jun/2023 12:17:40] "GET /static/js/datatables.min.js HTTP/1.1" 200 -
2023-06-13 13:17:40 172.16.57.1 - - [13/Jun/2023 12:17:40] "GET /static/js/bootstrap.min.js HTTP/1.1" 200 -
2023-06-13 13:17:40 172.16.57.1 - - [13/Jun/2023 12:17:40] "GET /static/js/jquery-3.2.1.min.js HTTP/1.1" 200 -
2023-06-13 13:17:40 172.16.57.1 - - [13/Jun/2023 12:17:40] "GET /static/css/datatables.min.css HTTP/1.1" 200 -
2023-06-13 13:17:40 172.16.57.1 - - [13/Jun/2023 12:17:40] "GET /static/fonts/Simple-Line-Icons.woff2?v=2.4.0 HTTP/1.1" 200 -
2023-06-13 13:17:41 172.16.57.1 - - [13/Jun/2023 12:17:41] "GET /static/images/slider.jpg HTTP/1.1" 200 -
2023-06-13 13:17:42 172.16.57.1 - - [13/Jun/2023 12:17:42] "GET /static/images/logo.png HTTP/1.1" 200 -
2023-06-13 13:17:42 172.16.57.1 - - [13/Jun/2023 12:17:42] "GET /static/js/allinone.js HTTP/1.1" 200 -
2023-06-13 13:17:43 172.16.57.1 - - [13/Jun/2023 12:17:43] "GET /static/images/favicon.ico HTTP/1.1" 200
However the following packages replace it:
python-dev-is-python3
E: Package 'python-dev' has no installation candidate
The command '/bin/sh -c apt-get update && apt-get -y install python3-lxml build-essential libssl-dev libffi-dev python-dev libxml2-dev libxslt1-dev && rm -rf /var/lib/apt/lists/*' returned a non-zero code: 100
ERROR: Service 'web-general' failed to build : Build failed
To get the docker compose build
to complete successfully, I had to remove version numbers for the following packages:
attrs
pydantic
Twisted
zope.interface
Additionally, after running docker compose up
, the darkweb-search-engine-web-general
container enters a crash loop.
Cannot import language library.
Traceback (most recent call last):
File "/opt/torscraper/web/app.py", line 13, in <module>
from tor_db import *
File "/opt/torscraper/lib/tor_db/__init__.py", line 15, in <module>
from tor_db.models import *
File "/opt/torscraper/lib/tor_db/models/__init__.py", line 1, in <module>
from tor_db.models.domain import *
File "/opt/torscraper/lib/tor_db/models/domain.py", line 10, in <module>
import bitcoin
File "/opt/torscraper/lib/bitcoin.py", line 9, in <module>
import coinaddr
File "/usr/local/lib/python3.8/site-packages/coinaddr/__init__.py", line 21, in <module>
from . import interfaces, currency, validation
File "/usr/local/lib/python3.8/site-packages/coinaddr/validation.py", line 44, in <module>
class ValidatorBase(metaclass=ValidatorMeta):
File "/usr/local/lib/python3.8/site-packages/coinaddr/validation.py", line 53, in ValidatorBase
attr.validators.provides(IValidationRequest)
AttributeError: module 'attr.validators' has no attribute 'provides'
EDIT: Removed duplicate crash log messages.
Hi,
I have worked on launching this search engine, but I have some questions.
First: When the last command (docker exec nexvisions-torscraper-onion-crawler /opt/torscraper/scripts/elasticsearch_migrate.sh) run I got this error:
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/urllib3/connection.py", line 169, in _new_conn
conn = connection.create_connection(
File "/usr/local/lib/python3.8/site-packages/urllib3/util/connection.py", line 73, in create_connection
for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
File "/usr/local/lib/python3.8/socket.py", line 918, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -3] Temporary failure in name resolution
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/elasticsearch/connection/http_urllib3.py", line 241, in perform_request
response = self.pool.urlopen(
File "/usr/local/lib/python3.8/site-packages/urllib3/connectionpool.py", line 755, in urlopen
retries = retries.increment(
File "/usr/local/lib/python3.8/site-packages/urllib3/util/retry.py", line 506, in increment
raise six.reraise(type(error), error, _stacktrace)
File "/usr/local/lib/python3.8/site-packages/urllib3/packages/six.py", line 735, in reraise
raise value
File "/usr/local/lib/python3.8/site-packages/urllib3/connectionpool.py", line 699, in urlopen
httplib_response = self._make_request(
File "/usr/local/lib/python3.8/site-packages/urllib3/connectionpool.py", line 394, in _make_request
conn.request(method, url, **httplib_request_kw)
File "/usr/local/lib/python3.8/site-packages/urllib3/connection.py", line 234, in request
super(HTTPConnection, self).request(method, url, body=body, headers=headers)
File "/usr/local/lib/python3.8/http/client.py", line 1256, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/usr/local/lib/python3.8/http/client.py", line 1302, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/usr/local/lib/python3.8/http/client.py", line 1251, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/usr/local/lib/python3.8/http/client.py", line 1011, in _send_output
self.send(msg)
File "/usr/local/lib/python3.8/http/client.py", line 951, in send
self.connect()
File "/usr/local/lib/python3.8/site-packages/urllib3/connection.py", line 200, in connect
conn = self._new_conn()
File "/usr/local/lib/python3.8/site-packages/urllib3/connection.py", line 181, in _new_conn
raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f5dc663f4c0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/torscraper/scripts/elasticsearch_migrate.py", line 3, in
tor_elasticsearch.migrate()
File "/opt/torscraper/lib/tor_elasticsearch.py", line 463, in migrate
entity_store.delete(ignore=404)
File "/usr/local/lib/python3.8/site-packages/elasticsearch_dsl/index.py", line 376, in delete
return self._get_connection(using).indices.delete(index=self._name, **kwargs)
File "/usr/local/lib/python3.8/site-packages/elasticsearch/client/utils.py", line 84, in _wrapped
return func(*args, params=params, **kwargs)
File "/usr/local/lib/python3.8/site-packages/elasticsearch/client/indices.py", line 259, in delete
return self.transport.perform_request(
File "/usr/local/lib/python3.8/site-packages/elasticsearch/transport.py", line 351, in perform_request
status, headers_response, data = connection.perform_request(
File "/usr/local/lib/python3.8/site-packages/elasticsearch/connection/http_urllib3.py", line 254, in perform_request
raise ConnectionError("N/A", str(e), e)
elasticsearch.exceptions.ConnectionError: ConnectionError(<urllib3.connection.HTTPConnection object at 0x7f5dc663f4c0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution) caused by: NewConnectionError(<urllib3.connection.HTTPConnection object at 0x7f5dc663f4c0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution)
What can I do to resolve this error?
Hello @NexvisionLab ,
I tested the system, in a .onion page, the torscraper cannot find bitcoin address's that are hyperlinked to another URL.
What is the problem? How can I fix it?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.