NexvisionLab / Darkweb-search-engine

Dark Web & Deep Web Search Engine. Data Crawler and indexer for Darkweb , OSINT Tools for the Dark Web
GNU Affero General Public License v3.0
66 stars 14 forks source link

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

Open Fouty7 opened 1 year ago

Fouty7 commented 1 year ago

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+maria~bionic) 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