The Following 2 Users Say Thank You to abranson For This Useful Post: | ||
|
2016-04-07
, 05:09
|
Posts: 207 |
Thanked: 482 times |
Joined on Mar 2016
|
#202
|
This, and the subsequent AMSetUTCOffset messages both return NACK from the watch and no message comes back, so the settings page is never enabled. I assume there's something wrong with the messages being sent out, but I don't know what yet.
The Following 2 Users Say Thank You to ruff For This Useful Post: | ||
|
2016-04-07
, 06:33
|
Posts: 287 |
Thanked: 862 times |
Joined on Dec 2015
|
#203
|
The only thing which comes to my mind is improper serialisation of the data which leads to big packet and consequent inbox overflow.
What's the app is it? Can try to debug dumping wireformat packets.
The Following 2 Users Say Thank You to abranson For This Useful Post: | ||
|
2016-04-07
, 11:26
|
Posts: 207 |
Thanked: 482 times |
Joined on Mar 2016
|
#204
|
It's this one:
https://apps-prod.getpebble.com/en_U...tion=watchapps
|
2016-04-07
, 11:35
|
Posts: 287 |
Thanked: 862 times |
Joined on Dec 2015
|
#205
|
|
2016-04-07
, 11:49
|
Posts: 207 |
Thanked: 482 times |
Joined on Mar 2016
|
#206
|
[D] JSKitManager::startJsApp:216 - starting JS app "Authenticator" [D] JSKitManager::loadJsFile:187 - evaluating js file ":/jskitsetup.js" [D] JSKitManager::loadJsFile:195 - JS script evaluated [D] JSKitManager::loadJsFile:187 - evaluating js file ":/typedarray.js" [D] JSKitManager::loadJsFile:195 - JS script evaluated [D] JSKitManager::startJsApp:250 - loaded script "undefined" [D] JSKitPebble::invokeCallbacks:357 - invoking callback "ready" "function() { \[code\] }" [D] JSKitPebble::sendAppMessage:55 - sendAppMessage QMap(("AMReadTokenList", QVariant(int, 1) ) ) [D] AppMsgManager::mapAppKeys:168 - Have appkeys: ("AMReadTokenList_Result", "AMSetTokenListOrder", "AMSetUTCOffset", "AMClearTokens", "AMReadTokenList_Finished", "AMReadTokenList", "AMDeleteToken", "AMCreateToken_Name", "AMUpdateToken", "AMCreateToken", "AMCreateToken_ID") [D] AppMsgManager::send:88 - Queueing appmsg 4 to QUuid("{da96ea4e-7793-4301-9d9a-68714a902730}") with dict QMap((6, QVariant(int, 1) ) ) [D] JSKitManager::loadJsFile:187 - evaluating js file ":/cacheLocalStorage.js" [D] JSKitManager::loadJsFile:195 - JS script evaluated [D] JSKitManager::startJsApp:274 - going to launch config for QUuid("{da96ea4e-7793-4301-9d9a-68714a902730}") [D] JSKitManager::showConfiguration:50 - requesting configuration [D] JSKitPebble::invokeCallbacks:357 - invoking callback "showConfiguration" "function() { \[code\] }" [D] AppMsgManager::handlePushMessage:358 - Received appmsg PUSH from QUuid("{da96ea4e-7793-4301-9d9a-68714a902730}") with QMap((8, QVariant(int, 1) ) ) [D] AppMsgManager::mapAppKeys:199 - checking app key 8 "AMReadTokenList_Finished" [D] AppMsgManager::handlePushMessage:361 - Mapped dict QMap(("AMReadTokenList_Finished", QVariant(int, 1) ) ) [D] AppMsgManager::handlePushMessage:374 - ACKing transaction 1 [D] JSKitManager::handleAppMessage:109 - handling app message QUuid("{da96ea4e-7793-4301-9d9a-68714a902730}") QMap(("AMReadTokenList_Finished", QVariant(int, 1) ) ) [D] JSKitPebble::invokeCallbacks:357 - invoking callback "appmessage" "function() { \[code\] }" [D] JSKitManager::loadJsFile:187 - evaluating js file ":/cacheLocalStorage.js" [D] JSKitManager::loadJsFile:195 - JS script evaluated [D] AppMsgManager::handleAckMessage:404 - Got ACK to transaction 4 [D] JSKitPebble::sendAppMessage:55 - sendAppMessage QMap(("AMSetUTCOffset", QVariant(double, 7200) ) ) [D] AppMsgManager::mapAppKeys:168 - Have appkeys: ("AMReadTokenList_Result", "AMSetTokenListOrder", "AMSetUTCOffset", "AMClearTokens", "AMReadTokenList_Finished", "AMReadTokenList", "AMDeleteToken", "AMCreateToken_Name", "AMUpdateToken", "AMCreateToken", "AMCreateToken_ID") [D] AppMsgManager::send:88 - Queueing appmsg 5 to QUuid("{da96ea4e-7793-4301-9d9a-68714a902730}") with dict QMap((0, QVariant(double, 7200) ) ) [D] AppMsgManager::handleAckMessage:404 - Got ACK to transaction 5
[D] JSKitManager::showConfiguration:50 - requesting configuration [D] JSKitPebble::invokeCallbacks:357 - invoking callback "showConfiguration" "function() { \[code\] }"
|
2016-04-07
, 13:23
|
Posts: 287 |
Thanked: 862 times |
Joined on Dec 2015
|
#207
|
here it failed to open proper page, and then next attempt
worked ok.Code:[D] JSKitManager::showConfiguration:50 - requesting configuration [D] JSKitPebble::invokeCallbacks:357 - invoking callback "showConfiguration" "function() { \[code\] }"
[D] JSKitManager::startJsApp:216 - starting JS app "Authenticator" [D] JSKitManager::loadJsFile:187 - evaluating js file ":/jskitsetup.js" [D] JSKitManager::loadJsFile:195 - JS script evaluated [D] JSKitManager::loadJsFile:187 - evaluating js file ":/typedarray.js" [D] JSKitManager::loadJsFile:195 - JS script evaluated [D] JSKitManager::startJsApp:250 - loaded script "undefined" [D] JSKitPebble::invokeCallbacks:357 - invoking callback "ready" "function() { \[code\] }" [D] JSKitPebble::sendAppMessage:55 - sendAppMessage QMap(("AMReadTokenList", QVariant(int, 1) ) ) [D] AppMsgManager::mapAppKeys:168 - Have appkeys: ("AMReadTokenList", "AMClearTokens", "AMReadTokenList_Finished", "AMCreateToken_ID", "AMReadTokenList_Result", "AMSetUTCOffset", "AMDeleteToken", "AMUpdateToken", "AMCreateToken", "AMCreateToken_Name", "AMSetTokenListOrder") [D] AppMsgManager::mapAppKeys:172 - "AMReadTokenList" found as 6 for value QVariant(int, 1) [D] AppMsgManager::send:88 - Queueing appmsg 4 to QUuid("{da96ea4e-7793-4301-9d9a-68714a902730}") with dict QMap((6, QVariant(int, 1) ) ) [D] JSKitManager::loadJsFile:187 - evaluating js file ":/cacheLocalStorage.js" [D] JSKitManager::loadJsFile:195 - JS script evaluated [D] AppMsgManager::handleAckMessage:405 - Got NACK to transaction 4 [D] JSKitConsole::log:61 - "AM transmit failed: NACK from watch, continuing" [D] JSKitPebble::sendAppMessage:55 - sendAppMessage QMap(("AMSetUTCOffset", QVariant(double, 7200) ) ) [D] AppMsgManager::mapAppKeys:168 - Have appkeys: ("AMReadTokenList", "AMClearTokens", "AMReadTokenList_Finished", "AMCreateToken_ID", "AMReadTokenList_Result", "AMSetUTCOffset", "AMDeleteToken", "AMUpdateToken", "AMCreateToken", "AMCreateToken_Name", "AMSetTokenListOrder") [D] AppMsgManager::mapAppKeys:172 - "AMSetUTCOffset" found as 0 for value QVariant(double, 7200) [D] AppMsgManager::send:88 - Queueing appmsg 5 to QUuid("{da96ea4e-7793-4301-9d9a-68714a902730}") with dict QMap((0, QVariant(double, 7200) ) ) [D] AppMsgManager::handleAckMessage:405 - Got NACK to transaction 5 [D] JSKitConsole::log:61 - "AM transmit failed: NACK from watch, continuing"
The Following 2 Users Say Thank You to abranson For This Useful Post: | ||
|
2016-04-07
, 16:33
|
Posts: 207 |
Thanked: 482 times |
Joined on Mar 2016
|
#208
|
The Following 2 Users Say Thank You to ruff For This Useful Post: | ||
|
2016-04-07
, 16:36
|
Posts: 287 |
Thanked: 862 times |
Joined on Dec 2015
|
#209
|
The Following 2 Users Say Thank You to abranson For This Useful Post: | ||
|
2016-04-07
, 16:46
|
Posts: 207 |
Thanked: 482 times |
Joined on Mar 2016
|
#210
|
The Following User Says Thank You to ruff For This Useful Post: | ||
Progress on this: the authenticator app won't show the proper config page until it's finished loading its tokens from the watch, which it tries to trigger by sending an AppMessage: AMReadTokenList. This, and the subsequent AMSetUTCOffset messages both return NACK from the watch and no message comes back, so the settings page is never enabled. I assume there's something wrong with the messages being sent out, but I don't know what yet.
Last edited by abranson; 2016-04-06 at 23:10.