Git Product home page Git Product logo

nexvisionlab / darkweb-search-engine Goto Github PK

View Code? Open in Web Editor NEW
51.0 5.0 10.0 4 MB

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

Shell 25.47% Dockerfile 1.25% Go 0.06% Python 35.67% JavaScript 9.27% CSS 10.79% SCSS 4.36% HTML 13.13%
darkweb crwaler search-engine tor deepweb osint osint-tool darknet

darkweb-search-engine's Issues

[Warning] Aborted connection 29 to db: 'tor' user: 'toruser' host: '172.16.57.13' (Got an error reading communication packets)

Hi @NexvisionLab

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 ...
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
bionic' socket: '/var/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution
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

issue during docker-compose build

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

Module not found error

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'

Problem in initializing the indexes on Elasticsearch

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?

Web search

Hi @NexvisionLab
What is the final web output?
And how could it crawl a .onion link in localhost:7000?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.