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

Fatal error: Uncaught Error: Call to undefined method GuzzleHttp\Exception\ConnectException::hasResponse() #5

Closed
zhmm opened this issue Dec 15, 2020 · 1 comment

Comments

@zhmm
Copy link

zhmm commented Dec 15, 2020

[2020-12-15 03:52:07 *26589.0] ERROR php_swoole_server_rshutdown (ERRNO 503): Fatal error: Uncaught Error: Call to undefined method GuzzleHttp\Exception\ConnectException::hasResponse() in /data/wwwroot/xxx-core/vendor/aliyunmq/mq-http-sdk/MQ/Responses/MQPromise.php:45
Stack trace:
#0 /data/wwwroot/xxx-core/vendor/aliyunmq/mq-http-sdk/MQ/Http/HttpClient.php(94): MQ\Responses\MQPromise->wait()
#1 /data/wwwroot/binlog-es-core/vendor/aliyunmq/mq-http-sdk/MQ/MQConsumer.php(84): MQ\Http\HttpClient->sendRequest(Object(MQ\Requests\ConsumeMessageRequest), Object(MQ\Responses\ConsumeMessageResponse))
#2 /data/wwwroot/xxx-core/Task/Binlog.php(20): MQ\MQConsumer->consumeMessage(16, 1)
#3 /data/wwwroot/xxx-core/sw.php(94): xx\Task\Binlog::getData(16, Array, true)
#4 /data/wwwroot/xxx-core/sw.php(76): Server->getBinlogData(0)
#5 {main}
thrown in /data/wwwroot/xxx-core/vendor/aliyunmq/mq-http-sdk/MQ/Responses/MQPromise.php on line 45

@tianc0209
Copy link

注释掉就那三行能解决

[2020-12-15 03:52:07 *26589.0] ERROR php_swoole_server_rshutdown (ERRNO 503): Fatal error: Uncaught Error: Call to undefined method GuzzleHttp\Exception\ConnectException::hasResponse() in /data/wwwroot/xxx-core/vendor/aliyunmq/mq-http-sdk/MQ/Responses/MQPromise.php:45
Stack trace:
#0 /data/wwwroot/xxx-core/vendor/aliyunmq/mq-http-sdk/MQ/Http/HttpClient.php(94): MQ\Responses\MQPromise->wait()
#1 /data/wwwroot/binlog-es-core/vendor/aliyunmq/mq-http-sdk/MQ/MQConsumer.php(84): MQ\Http\HttpClient->sendRequest(Object(MQ\Requests\ConsumeMessageRequest), Object(MQ\Responses\ConsumeMessageResponse))
#2 /data/wwwroot/xxx-core/Task/Binlog.php(20): MQ\MQConsumer->consumeMessage(16, 1)
#3 /data/wwwroot/xxx-core/sw.php(94): xx\Task\Binlog::getData(16, Array, true)
#4 /data/wwwroot/xxx-core/sw.php(76): Server->getBinlogData(0)
#5 {main}
thrown in /data/wwwroot/xxx-core/vendor/aliyunmq/mq-http-sdk/MQ/Responses/MQPromise.php on line 45

注释掉就那三行能解决

@zhmm zhmm closed this as completed May 5, 2023
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

2 participants