有 Java 编程相关的问题?

你可以在下面搜索框中键入要查询的问题!

java领域响应状态=400

我正在尝试在Android上为一个概念验证的消息传递应用程序在用户之间共享一个领域

我有一个访问url为:realm://192.168.1.90:9080/lynxenger/contacts的域,该域存在并有一个寄存器,但当我尝试使用创建该域的管理员用户更改其权限时,我在日志中看到以下内容:

E/REALM_SYNC: Connection[2]: HTTP: Failed to switch protocols (response status = 400)

Here's a Gist with the code我用于更改权限和更新某些数据

编辑:

服务器端似乎发生了错误,以下是发生错误时的日志文件:

[proxy] internal error. Code undefined, status: undefined, message: SyntaxError: Unexpected token j in JSON at position 0
    at Object.parse (native)
    at ProxyService.webSocketUpgradeHandler (/usr/lib/nodejs/realm-object-server-developer/.build/src/node/services/proxy.js:104:30)
    at ProxyService.safeUpgrade (/usr/lib/nodejs/realm-object-server-developer/.build/src/node/services/proxy.js:78:12)
    at emitThree (events.js:116:13)
    at Server.emit (events.js:194:7)
    at onParserExecuteCommon (_http_server.js:411:14)
    at HTTPParser.onParserExecute (_http_server.js:379:5)

编辑2:

Here's a pastebin使用安卓日志


共 (0) 个答案