Closed AlvinQinwen closed 3 years ago
Runtime environment
一直用的好好的 就docker restart swoft 后就不行了。 深夜抢救中 请教一下这种情况应该在哪里找错误。 Fatal error: Uncaught Swoft\Connection\Pool\Exception\ConnectionPoolException: Create connection error(Connect failed host=172.17.0.6 port=18307) file(/var/www/swoft/vendor/swoft/rpc-client/src/Connection.php) line (74) in /var/www/swoft/vendor/swoft/connection-pool/src/AbstractPool.php:255
Fatal error: Uncaught Swoft\Connection\Pool\Exception\ConnectionPoolException: Create connection error(Connect failed host=172.17.0.6 port=18307) file(/var/www/swoft/vendor/swoft/rpc-client/src/Connection.php) line (74) in /var/www/swoft/vendor/swoft/connection-pool/src/AbstractPool.php:255
找到问题了,容器集体重启后ip变动
Runtime environment
一直用的好好的 就docker restart swoft 后就不行了。 深夜抢救中 请教一下这种情况应该在哪里找错误。
Fatal error: Uncaught Swoft\Connection\Pool\Exception\ConnectionPoolException: Create connection error(Connect failed host=172.17.0.6 port=18307) file(/var/www/swoft/vendor/swoft/rpc-client/src/Connection.php) line (74) in /var/www/swoft/vendor/swoft/connection-pool/src/AbstractPool.php:255