PHP addActivity上的GetStream.io连接超时

PHP addActivity上的GetStream.io连接超时,php,getstream-io,Php,Getstream Io,我不断收到一个错误cURL error 28:当对GetStream.io中的提要进行某些更新时(xx=不同的毫秒值),解析在35xx毫秒后超时。看起来这一定是由于GetStream方面的错误导致的,该错误可能没有正确报告。有人知道GetStream addActivity调用是否超过3.5秒吗 由于这是间歇性的,我唯一能想到的是,关于外部\u id,可能存在GetStream错误,因为它可能正在复制现有的外部\u id。但是,关于GetStream使用外部\u id的信息有限 下面是我的Get

我不断收到一个错误cURL error 28:当对GetStream.io中的提要进行某些更新时(xx=不同的毫秒值),解析在35xx毫秒后超时。看起来这一定是由于GetStream方面的错误导致的,该错误可能没有正确报告。有人知道GetStream addActivity调用是否超过3.5秒吗

由于这是间歇性的,我唯一能想到的是,关于外部\u id,可能存在GetStream错误,因为它可能正在复制现有的外部\u id。但是,关于GetStream使用外部\u id的信息有限

下面是我的GetStream调用的简化代码:

//Add Activity to Feeds

    $ccFeeds = ["Event:1", "Game:2", "Character:5", "Region:6"];

    $client = new Client(env('GETSTREAM_API_KEY'), env('GETSTREAM_API_SECRET'));
    $feed = $client->feed('User', 3);

    $sendData = [
        'actor'      => 'User:3',
        'verb'       => 'update',
        'object'     => 'Image:4',
        'target'     => 'Character:5',
        'foreign_id' => 'Image:4',
        'to'         => $ccFeeds
    ];
    $feed->addActivity($sendData);


更新日期:2016年4月8日-有关错误的更多信息
以下是有关我们收到的错误的更多信息:

CurlFactory.php第186行中的ConnectException: 卷曲错误28:解析在3512毫秒后超时(请参阅)

在CurlFactory.php第186行中

在CurlFactory::createRejection(对象(EasyHandle),数组('errno'=>'28','error'=>'解析在3512毫秒后超时','url'=>'null','http\u code'=>'0','header\u size'=>'0','request\u size'=>'0','filetime'=>'1','ssl\u-verify\u-result'=>'0','redirect\u-count'=>'0','total\u-time'=>'3.512752','namelookup\u-time'=>'0','0','connect connect\u-time'=>'0','0','0','0','pretransfer\u-time'=>'0',size\u-upload'=>'0','size\u download'=>'0','speed\u download'=>'0','speed\u upload'=>'0','download\u content\u length'=>'1','upload\u content\u length'=>'1','starttransfer\u time'=>'0','redirect\u time'=>'0','redirect\u url'=>'','primary\u ip'=>'','certinfo=>array(),'primary\u port'=>'0','local ip'=>'0'))在CurlFactory.php第150行中

在CurlFactory.php第103行中的CurlFactory::finishError(对象(CurlHandler)、对象(EasyHandle)、对象(CurlFactory))

在CurlHandler.php第43行中的CurlFactory::finish(对象(CurlHandler)、对象(EasyHandle)、对象(CurlFactory))

在CurlHandler->调用(对象(请求)、数组('synchronous'=>true、'base'=>uri'=>object(uri),'timeout'=>3','handler'=>object(HandlerStack),'allow_redirects'=>array('max'=>5','protocols'=>array('http','https'),'strict'=>false,'referer'=>false,'track\u redirects'=>false),Proxy.php第28行中的'http_errors'=>true',decode_content'=>true',verify'=>true',cookies'=>false 在Proxy::GuzzleHttp\Handler{closure}(对象(请求),数组('synchronous'=>true,'base'=>uri'=>object(uri),'timeout'=>3','HandlerStack'=>object(HandlerStack),'allow_redirects'=>array('max'=>5','protocols'=>array('http','https'),'strict'=>false,'referer'=>false,'track\u redirects'=>false),Proxy.php第51行中的'http_errors'=>true',decode_content'=>true',verify'=>true',cookies'=>false

在Proxy::GuzzleHttp\Handler{closure}(对象(请求),数组('synchronous'=>true,'base'=>uri'=>object(uri),'timeout'=>3','HandlerStack'=>object(HandlerStack),'allow_redirects'=>array('max'=>5','protocols'=>array('http','https'),'strict'=>false,'referer'=>false,'track\u redirects'=>false),在PrepareBodyMiddleware.php第72行中的“http\u errors'=>true”,“decode\u content'=>true”,“verify'=>true”,“cookies'=>false”)

在PrepareBodyMiddleware->uuu invoke(对象(请求)、array('synchronous'=>true、'base'=>uri'=>object(uri),'timeout'=>3','HandlerStack'=>object(HandlerStack),'allow\u redirects'=>array('max'=>5','protocols'=>array('http','https')、'strict'=>false,'referer'=>false,'track\u redirects'=>false),Middleware.php第30行中的“http\u errors'=>true”,“decode\u content'=>true”,“verify'=>true”,“cookies'=>false”)

在中间件::GuzzleHttp{closure}(对象(请求)、数组('synchronous'=>true,'base'=>uri'=>object(uri),'timeout'=>3','HandlerStack'=>object(HandlerStack),'allow'=>redirects'=>array('max'=>5','protocols'=>array('http','https')、'strict'=>false,'referer'=>false,'track\u redirects'=>false),RedirectMiddleware.php第68行中的“http\u errors'=>true”,“decode\u content'=>true”,“verify'=>true”,“cookies'=>false”)

在重定向中间件->\u调用(对象(请求)、数组('synchronous'=>true,'base\u uri'=>object(uri),'timeout'=>3','HandlerStack'=>object(HandlerStack),'allow\u redirects'=>array('max'=>5','protocols'=>array('http','https'),'strict'=>false,'referer'=>false,'track\u redirects'=>false),Middleware.php第59行中的“http\u errors'=>true”,“decode\u content'=>true”,“verify'=>true”,“cookies'=>false”)

在中间件::GuzzleHttp{closure}(对象(请求)、数组('synchronous'=>true,'base'=>uri'=>object(uri),'timeout'=>3','HandlerStack'=>object(HandlerStack),'allow'=>redirects'=>array('max'=>5','protocols'=>array('http','https')、'strict'=>false,'referer'=>false,'track\u redirects'=>false),HandlerStack.php第67行中的'http_errors'=>true','decode_content'=>true',verify'=>true',cookies'=>false

在HandlerStack->调用(对象(请求)、数组('synchronous'=>true,'base'=>uri'=>object(uri),'timeout'=>3','HandlerStack'=>object(HandlerStack),'allow'=>redirects'=>array('max'=>5','protocols'=>array('http','https'),'strict'=>false,'referer'=>false,'track\u redirects'=>false),Client.php第268行中的'http_errors'=>true',decode_content'=>true',verify'=>true',cookies'=>false

在客户端->传输(对象(请求),数组('synchronous'=>true,'base'=>object(uri),'timeout'=>3','HandlerStack'=>object(HandlerStack),'allow'=>redirects'=>array('max'=>5','protocols'=>array('http','https'),'strict'=>false,'referer'=>false,'track\u redirects'=>false)客户端中的“http\u errors'=>true”、“decode\u content'=>true”、“verify'=>true”、“cookies'=>false”、“u conditional'=>array('User-Agent'=>'GuzzleHttp/6.1.1 curl/7.35.0 PHP/5.5.9-1ubuntu4.13'))。
use GetStream\Stream\Client;
'Client' => 'GetStream\Stream\Client'