Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to establish a new connection: [Errno -3] Temporary failure in name resolution') #112

Open
v-yunbin opened this issue May 25, 2023 · 0 comments

Comments

@v-yunbin
Copy link

when run docker-compose -f docker-compose.dev.yml up, I get follow error:

/usr/lib/python2.7/site-packages/paramiko/transport.py:33: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in the next release.
  from cryptography.hazmat.backends import default_backend
Starting audino_mysql_1 ... done
Starting audino_redis_1 ... done
Starting audino_backend_1 ... done
Starting audino_frontend_1 ... done
Attaching to audino_redis_1, audino_mysql_1, audino_backend_1, audino_frontend_1
mysql_1     | 2023-05-25 05:46:49+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 5.7.36-1debian10 started.
mysql_1     | 2023-05-25 05:46:49+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
mysql_1     | 2023-05-25 05:46:49+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 5.7.36-1debian10 started.
mysql_1     | 2023-05-25T05:46:49.950882Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
mysql_1     | 2023-05-25T05:46:49.953466Z 0 [Note] mysqld (mysqld 5.7.36) starting as process 1 ...
mysql_1     | 2023-05-25T05:46:49.962552Z 0 [Note] InnoDB: PUNCH HOLE support available
mysql_1     | 2023-05-25T05:46:49.962589Z 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
mysql_1     | 2023-05-25T05:46:49.962593Z 0 [Note] InnoDB: Uses event mutexes
mysql_1     | 2023-05-25T05:46:49.962596Z 0 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
mysql_1     | 2023-05-25T05:46:49.962600Z 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
mysql_1     | 2023-05-25T05:46:49.962609Z 0 [Note] InnoDB: Using Linux native AIO
mysql_1     | 2023-05-25T05:46:49.963601Z 0 [Note] InnoDB: Number of pools: 1
mysql_1     | 2023-05-25T05:46:49.963968Z 0 [Note] InnoDB: Using CPU crc32 instructions
mysql_1     | 2023-05-25T05:46:49.966656Z 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M
mysql_1     | 2023-05-25T05:46:49.980324Z 0 [Note] InnoDB: Completed initialization of buffer pool
mysql_1     | 2023-05-25T05:46:49.983714Z 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
mysql_1     | 2023-05-25T05:46:50.017720Z 0 [Note] InnoDB: Highest supported file format is Barracuda.
mysql_1     | 2023-05-25T05:46:50.070728Z 0 [Note] InnoDB: Creating shared tablespace for temporary tables
mysql_1     | 2023-05-25T05:46:50.070828Z 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
mysql_1     | 2023-05-25T05:46:50.117963Z 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
mysql_1     | 2023-05-25T05:46:50.118870Z 0 [Note] InnoDB: 96 redo rollback segment(s) found. 96 redo rollback segment(s) are active.
mysql_1     | 2023-05-25T05:46:50.118887Z 0 [Note] InnoDB: 32 non-redo rollback segment(s) are active.
mysql_1     | 2023-05-25T05:46:50.119775Z 0 [Note] InnoDB: Waiting for purge to start
mysql_1     | 2023-05-25T05:46:50.170289Z 0 [Note] InnoDB: 5.7.36 started; log sequence number 12659754
mysql_1     | 2023-05-25T05:46:50.170726Z 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
mysql_1     | 2023-05-25T05:46:50.171612Z 0 [Note] Plugin 'FEDERATED' is disabled.
mysql_1     | 2023-05-25T05:46:50.197593Z 0 [Note] InnoDB: Buffer pool(s) load completed at 230525  5:46:50
mysql_1     | 2023-05-25T05:46:50.210731Z 0 [Note] Found ca.pem, server-cert.pem and server-key.pem in data directory. Trying to enable SSL support using them.
mysql_1     | 2023-05-25T05:46:50.210909Z 0 [Note] Skipping generation of SSL certificates as certificate files are present in data directory.
mysql_1     | 2023-05-25T05:46:50.210915Z 0 [Warning] A deprecated TLS version TLSv1 is enabled. Please use TLSv1.2 or higher.
mysql_1     | 2023-05-25T05:46:50.210920Z 0 [Warning] A deprecated TLS version TLSv1.1 is enabled. Please use TLSv1.2 or higher.
mysql_1     | 2023-05-25T05:46:50.214311Z 0 [Warning] CA certificate ca.pem is self signed.
mysql_1     | 2023-05-25T05:46:50.214368Z 0 [Note] Skipping generation of RSA key pair as key files are present in data directory.
mysql_1     | 2023-05-25T05:46:50.215478Z 0 [Note] Server hostname (bind-address): '*'; port: 3306
mysql_1     | 2023-05-25T05:46:50.215654Z 0 [Note] IPv6 is available.
mysql_1     | 2023-05-25T05:46:50.215675Z 0 [Note]   - '::' resolves to '::';
mysql_1     | 2023-05-25T05:46:50.215702Z 0 [Note] Server socket created on IP: '::'.
mysql_1     | 2023-05-25T05:46:50.217535Z 0 [Warning] Insecure configuration for --pid-file: Location '/var/run/mysqld' in the path is accessible to all OS users. Consider choosing a different directory.
mysql_1     | 2023-05-25T05:46:50.250927Z 0 [Note] Event Scheduler: Loaded 0 events
mysql_1     | 2023-05-25T05:46:50.251120Z 0 [Note] Execution of init_file '/mysql/create_database.sql' started.
mysql_1     | 2023-05-25T05:46:50.254389Z 0 [Note] Execution of init_file '/mysql/create_database.sql' ended.
mysql_1     | 2023-05-25T05:46:50.254460Z 0 [Note] mysqld: ready for connections.
mysql_1     | Version: '5.7.36'  socket: '/var/run/mysqld/mysqld.sock'  port: 3306  MySQL Community Server (GPL)
backend_1   | Activating environment
backend_1   | Installing dependencies
redis_1     | 1:C 25 May 2023 05:46:49.222 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
redis_1     | 1:C 25 May 2023 05:46:49.222 # Redis version=5.0.8, bits=64, commit=00000000, modified=0, pid=1, just started
redis_1     | 1:C 25 May 2023 05:46:49.222 # Configuration loaded
redis_1     | 1:M 25 May 2023 05:46:49.233 * Running mode=standalone, port=6379.
redis_1     | 1:M 25 May 2023 05:46:49.233 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128.
redis_1     | 1:M 25 May 2023 05:46:49.233 # Server initialized
redis_1     | 1:M 25 May 2023 05:46:49.233 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
redis_1     | 1:M 25 May 2023 05:46:49.233 # WARNING you have Transparent Huge Pages (THP) support enabled in your kernel. This will create latency and memory usage issues with Redis. To fix this issue run the command 'echo never > /sys/kernel/mm/transparent_hugepage/enabled' as root, and add it to your /etc/rc.local in order to retain the setting after a reboot. Redis must be restarted after THP is disabled.
redis_1     | 1:M 25 May 2023 05:46:49.237 * Ready to accept connections
backend_1   | WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7fa8e562a8d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/alembic/
backend_1   | WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7fa8e562e210>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/alembic/
backend_1   | WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7fa8e562e410>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/alembic/
backend_1   | WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7fa8e562e9d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/alembic/
backend_1   | WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7fa8e56132d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/alembic/
backend_1   | ERROR: Could not find a version that satisfies the requirement alembic==1.2.1 (from -r /app/backend/requirements.txt (line 1)) (from versions: none)
backend_1   | ERROR: No matching distribution found for alembic==1.2.1 (from -r /app/backend/requirements.txt (line 1))
audino_backend_1 exited with code 1


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant