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

信道服务测试失败——签名校验失败 #4

Open
sela0629 opened this issue Apr 16, 2017 · 2 comments
Open

信道服务测试失败——签名校验失败 #4

sela0629 opened this issue Apr 16, 2017 · 2 comments

Comments

@sela0629
Copy link

sela0629 commented Apr 16, 2017

index.js [sm]:155 信道发生错误: Object {code: 1001, message: "连接信道服务失败,网络错误或者信道服务没有正确响应", detail: Object}code: 1001detail: Objectmessage: "连接信道服务失败,网络错误或者信道服务没有正确响应"proto: Object(anonymous function) @ index.js [sm]:155(anonymous function) @ tunnel.js [sm]:119dispatchEvent @ tunnel.js [sm]:112dispatchConnectServiceError @ tunnel.js [sm]:170success @ tunnel.js [sm]:159callSuccess @ request.js [sm]:50success @ request.js [sm]:110(anonymous function) @ WAService.js:3(anonymous function) @ WAService.js:4(anonymous function) @ asdebug.js:1(anonymous function) @ WAService.js:3

按配置流程其他的都测试ok,但是websocket信道服务测试失败,报签名校验失败

{"error":"签名校验失败"}","statusCode":200}}

@stev-gd
Copy link

stev-gd commented Apr 18, 2017

{"code":1001,"message":"连接信道服务失败,网络错误或者信道服务没有正确响应","detail":{"errMsg":"request:ok","data":"\n<div style="border:1px solid #990000;padding-left:20px;margin:0 0 10px 0;">\n\n

A PHP Error was encountered

\n\n

Severity: Notice

\n

Message: Undefined index: signature

\n

Filename: Tunnel/TunnelService.php

\n

Line Number: 94

\n\n\n\t

Backtrace:

\n\t\n\t\t\n\t\n\t\t\n\t\n\t\t\n\t\t\t<p style="margin-left:10px">\n\t\t\tFile: /data/release/php-weapp-demo/vendor/qcloud/weapp-sdk/lib/Tunnel/TunnelService.php
\n\t\t\tLine: 94
\n\t\t\tFunction: _error_handler\t\t\t

\n\n\t\t\n\t\n\t\t\n\t\t\t<p style="margin-left:10px">\n\t\t\tFile: /data/release/php-weapp-demo/vendor/qcloud/weapp-sdk/lib/Tunnel/TunnelService.php
\n\t\t\tLine: 17
\n\t\t\tFunction: handleGet\t\t\t

\n\n\t\t\n\t\n\t\t\n\t\t\t<p style="margin-left:10px">\n\t\t\tFile: /data/release/php-weapp-demo/application/controllers/Tunnel.php
\n\t\t\tLine: 11
\n\t\t\tFunction: handle\t\t\t

\n\n\t\t\n\t\n\t\t\n\t\n\t\t\n\t\n\t\t\n\t\t\t<p style="margin-left:10px">\n\t\t\tFile: /data/release/php-weapp-demo/index.php
\n\t\t\tLine: 328
\n\t\t\tFunction: require_once\t\t\t

\n\n\t\t\n\t\n\n\n<div style="border:1px solid #990000;padding-left:20px;margin:0 0 10px 0;">\n\n

A PHP Error was encountered

\n\n

Severity: Notice

\n

Message: Array to string conversion

\n

Filename: Tunnel/Signature.php

\n

Line Number: 11

\n\n\n\t

Backtrace:

\n\t\n\t\t\n\t\n\t\t\n\t\n\t\t\n\t\t\t<p style="margin-left:10px">\n\t\t\tFile: /data/release/php-weapp-demo/vendor/qcloud/weapp-sdk/lib/Tunnel/Signature.php
\n\t\t\tLine: 11
\n\t\t\tFunction: _error_handler\t\t\t

\n\n\t\t\n\t\n\t\t\n\t\t\t<p style="margin-left:10px">\n\t\t\tFile: /data/release/php-weapp-demo/vendor/qcloud/weapp-sdk/lib/Tunnel/Signature.php
\n\t\t\tLine: 23
\n\t\t\tFunction: compute\t\t\t

\n\n\t\t\n\t\n\t\t\n\t\t\t<p style="margin-left:10px">\n\t\t\tFile: /data/release/php-weapp-demo/vendor/qcloud/weapp-sdk/lib/Tunnel/TunnelService.php
\n\t\t\tLine: 97
\n\t\t\tFunction: check\t\t\t

\n\n\t\t\n\t\n\t\t\n\t\t\t<p style="margin-left:10px">\n\t\t\tFile: /data/release/php-weapp-demo/vendor/qcloud/weapp-sdk/lib/Tunnel/TunnelService.php
\n\t\t\tLine: 17
\n\t\t\tFunction: handleGet\t\t\t

\n\n\t\t\n\t\n\t\t\n\t\t\t<p style="margin-left:10px">\n\t\t\tFile: /data/release/php-weapp-demo/application/controllers/Tunnel.php
\n\t\t\tLine: 11
\n\t\t\tFunction: handle\t\t\t

\n\n\t\t\n\t\n\t\t\n\t\n\t\t\n\t\n\t\t\n\t\t\t<p style="margin-left:10px">\n\t\t\tFile: /data/release/php-weapp-demo/index.php
\n\t\t\tLine: 328
\n\t\t\tFunction: require_once\t\t\t

\n\n\t\t\n\t\n\n{"error":"签名校验失败"}","statusCode":200}}

@samuala
Copy link

samuala commented Feb 23, 2018

我也出现类似错误

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

3 participants