Firebase Websocket例外:创建安全套接字时出错

时间:2015-12-01 08:23:38

标签: java android firebase nest-api

在使用“Firebase.authWithCustomToken()”进行firebase身份验证期间,它提供了以下错误

  

“WebSocket:ws_9 - 出错了:   com.firebase.tubesock.WebSocketException:创建安全时出错   插座到   ?WSS://firebase-apiserver02-tah01-i​​ad01.dapi.production.nest.com:9553 / .WS NS =显影剂-API&安培; V = 5"

json回复是:

  

{d = {r = 0,b = {s =未经授权,   d = { “错误”: “未授权”, “类型”: “https://developer.nest.com/documentation/cloud/error-messages#auth-error”, “消息”: “未授权”, “实例”: “2de0e6ce-5368-4160-b40c-d2131f2c0d65”}}},   t = d} Tue Dec 01 11:25:55 IST 2015 [DEBUG]连接:conn_0 -   收到的数据信息:{r = 0,b = {s =未授权,   d = { “错误”: “未授权”, “类型”: “https://developer.nest.com/documentation/cloud/error-messages#auth-error”, “消息”: “未授权”, “实例”: “2de0e6ce-5368-4160-b40c-d2131f2c0d65”}}} < / p>

虽然我在Firebase.authWithCustomToken()方法调用期间提供了正确的accessToken。

似乎firebase api无法与嵌套云建立联系。请帮助同样的

0 个答案:

没有答案