简体   繁体   English

致命错误</ b>:未捕获的异常“异常”,消息“无法连接到api.twitter.com端口443:连接超时”

[英]<b>Fatal error</b>: Uncaught exception 'Exception' with message 'Failed to connect to api.twitter.com port 443: Connection timed out'

I am working on a Codeigniter project where I used twitter api library to fetch twitter data. 我正在开发Codeigniter项目,我使用twitter api库来获取twitter数据。 It was worked perfectly before I changed the server, but after changed server it produced bellow error. 在我更改服务器之前它完美地运行,但是在更改服务器之后它产生了波纹错误。 I don't know the problem. 我不知道这个问题。

<b>Fatal error</b>:  Uncaught exception 'Exception' with message 'Failed to connect to api.twitter.com port 443: Connection timed out' in /my/project/path/myProject/application/ws/libraries/TwitterAPIExchange.php:297
Stack trace:
#0 /my/project/path/myProject/application/ws/controllers/alldata.php(247): TwitterAPIExchange-&gt;performRequest()
#1 /my/project/path/myProject/application/ws/controllers/alldata.php(40): Alldata-&gt;fetch_tweets('1', Array)
#2 [internal function]: Alldata-&gt;index()
#3 /my/project/path/myProject/system/core/CodeIgniter.php(359): call_user_func_array(Array, Array)
#4 /my/project/path/myProject/index.php(188): require_once('/home/develnik/...')
#5 {main}
thrown in <b>/my/project/path/myProject/application/ws/libraries/TwitterAPIExchange.php</b> on line <b>297</b><br />

Please check your cPanel if port is opened or not, some times it shows opened but actually not. 如果端口被打开,请检查您的cPanel,有时它显示已打开但实际上没有。 You can check it in your cPanel under health check and monitoring section for port details. 您可以在运行状况检查和监视部分的cPanel中查看端口详细信息。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Zend_Http_Client_Adapter_Exception&#39;并显示消息“无法连接到ssl://api.twitter.com:443” - Zend_Http_Client_Adapter_Exception' with message 'Unable to Connect to ssl://api.twitter.com:443 PHP中的Facebook Graph API出现不一致的错误-无法连接到graph.facebook.com端口443:连接超时 - Inconsistent error with Facebook Graph API in PHP - Failed to connect to graph.facebook.com port 443: Connection timed out 未捕获的异常“ com_exception”,消息为“ 来源: </ b> Microsoft Word 说明: </ b> 命令失败” - Uncaught exception 'com_exception' with message '<b> Source: </ b> Microsoft Word <b> Description: </ b> Command failed' 无法连接到us15.api.mailchimp.com端口443:超时 - Failed to connect to us15.api.mailchimp.com port 443: Timed out 消息:HTTP错误:(0)无法连接到accounts.google.com端口80:连接超时 - Message: HTTP Error: (0) Failed to connect to accounts.google.com port 80: Connection timed out “致命错误:未捕获的异常&#39;MongoConnectionException&#39;,消息为&#39;无法连接至:/tmp/mongodb-27017.sock:0:连接被拒绝&#39;” - “Fatal error: Uncaught exception 'MongoConnectionException' with message 'Failed to connect to: /tmp/mongodb-27017.sock:0: Connection refused''” 致命错误:消息为“无法设置COM端口,请检查它是否正确”的未捕获异常“ Exception” - Fatal error: Uncaught exception 'Exception' with message 'Unable to setup COM port, check it is correct' 错误:无法连接到api.quickblox.com端口443 - Error : Failed to connect to api.quickblox.com port 443 无法连接到account.google.com端口443:操作超时 - Failed to connect to accounts.google.com port 443: Operation timed out 未捕获的异常“Swift_TransportException”带有消息“无法与主机 smtp.gmail.com 建立连接 [连接超时 #110]” - Uncaught exception 'Swift_TransportException' with message 'Connection could not be established with host smtp.gmail.com [Connection timed out #110]'
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM