未解决

iOS demo 推送失败 #17461个回答

push_server_sdk_for_php 3.0.1 189*****191 2016-03-16

问:
将 ios demo 修改 apikey 后安装到设备上,然后用 php 服务端进行推送,推送失败 php hello_for_ios.php [INFO][1458108000][PUSH_SDK] PushSimpleLog: ready to work!; [INFO][1458108000][PUSH_SDK] HttpRequest: ready to work...; [INFO][1458108000][PUSH_SDK] SDK: initializing...; [INFO][1458108000][PUSH_SDK] SDK ready to work !!; [INFO][1458108001][PUSH_SDK] HttpRequest: 500 POST http://api.tuisong.baidu.com/rest/3.0/push/single_device; [INFO][1458108001][PUSH_SDK] Parse Response: 500, Internal Server Error, {"request_id":696571501,"error_code":30600,"error_msg":"Internal Server Error"}; [FAULT][1458108001][PUSH_SDK] exception 'ServerException' with message '[30600] Internal Server Error' in /Baidu-Push-Server-SDK-Php-3.0.1/lib/BaseSDK.php:408 Stack trace: #0 /Baidu-Push-Server-SDK-Php-3.0.1/lib/BaseSDK.php(564): BaseSDK->onError(696571501, 30600, 'Internal Server...') #1 /Baidu-Push-Server-SDK-Php-3.0.1/lib/BaseSDK.php(622): BaseSDK->parse(Array) #2 /Baidu-Push-Server-SDK-Php-3.0.1/sdk.php(481): BaseSDK->sendRequest('/push/single_de...', Array) #3 /Baidu-Push-Server-SDK-Php-3.0.1/demo/hello_for_ios.php(41): PushSDK->__call('pushMsgToSingle...', Array) #4 /Baidu-Push-Server-SDK-Php-3.0.1/demo/hello_for_ios.php(41): PushSDK->pushMsgToSingleDevice('482855283171910...', Array, Array) #5 {main};
确认 取消
答:
Parse Response: 500, Internal Server Error, {"request_id":696571501,"error_code":30600,"error_msg":"Internal Server Error"}; 您的推送失败了,肯定不会收到推送的,30600一般是您的key 或者 状态状态设置的有问题,请仔细检查下。

云平台_李克 2016-03-17