Skip to content
This repository has been archived by the owner on Dec 18, 2018. It is now read-only.

Uncaught Error: unable to find ext type 255 #2228

Closed
guylando opened this issue May 8, 2018 · 22 comments
Closed

Uncaught Error: unable to find ext type 255 #2228

guylando opened this issue May 8, 2018 · 22 comments
Labels
cost: M Will take 3 - 5 days to complete type: Bug
Milestone

Comments

@guylando
Copy link

guylando commented May 8, 2018

Using server and client version rtm-30733
when using message pack our qa reported sometimes getting this error in chrome console:

Uncaught Error: unable to find ext type 255 at decoder.js:427
at h (decoder.js:427)
at l (decoder.js:263)
at d (decoder.js:358)
at l (decoder.js:243)
at u (decoder.js:335)
at l (decoder.js:285)
at u (decoder.js:335)
at l (decoder.js:285)
at u (decoder.js:335)
at l (decoder.js:285)

decoder.js:101
  | n.parseMessage signalr-protocol-msgpack.min.js:12
  | (anonymous) signalr-protocol-msgpack.min.js:12
  | n.parseMessages signalr-protocol-msgpack.min.js:12
  | e.processIncomingData signalr.min.js:13
  | connection.onreceive signalr.min.js:13
  | i.onmessage signalr.min.js:13

@davidfowl
Copy link
Member

We’re going to need the actual payload. The message pack libraries are much stricter than JSON.NET.

@analogrelay
Copy link
Contributor

Can you also provide the specific version of the msgpack5 library you are using?

@guylando
Copy link
Author

guylando commented May 8, 2018

client 1.0.0-rtm-30733
server Microsoft.AspNetCore.SignalR.Protocols.MessagePack 1.0.0-rtm-30733

msgpack5 4.0.2

@guylando
Copy link
Author

guylando commented May 8, 2018

since msgpack5 is not in the nightly npm feed, there was an error installing the client side signalr messagepack library and to solve it I first installed msgpack5 4.0.2 and then installed signalr messagepack

@guylando
Copy link
Author

guylando commented May 8, 2018

by the way seems msgpack5 is mostly unmaintained because I see open issues from more than a year ago which are not solved
see:
mcollina/msgpack5#54
mcollina/msgpack5#42
mcollina/msgpack5#57

@guylando
Copy link
Author

guylando commented May 8, 2018

@davidfowl @anurse

HERE IS EVERYTHING:

function decodeExt (buf, offset, type, size, headerSize)
line 404 in msgpack5 decoder.js
got input:
headerSize = 3
size = 12
type = 255
offset = 347
buf = length 1461 buffer with the following content written in bottom

got there from tryDecode function
line 110 in msgpack5 decoder.js
offset = 344
buf = length 1461 buffer with the following content written in bottom

originally called by
signalr-protocol-msgpack parseMessage function
msgpack.decode(new buffer.Buffer(input))
on input:

{"0":149,"1":1,"2":128,"3":192,"4":171,"5":117,"6":112,"7":100,"8":97,"9":116,"10":101,"11":76,"12":111,"13":98,"14":98,"15":121,"16":145,"17":147,"18":222,"19":0,"20":23,"21":166,"22":65,"23":99,"24":116,"25":105,"26":111,"27":110,"28":166,"29":82,"30":69,"31":77,"32":79,"33":86,"34":69,"35":164,"36":71,"37":117,"38":105,"39":100,"40":167,"41":57,"42":53,"43":48,"44":53,"45":55,"46":53,"47":55,"48":164,"49":78,"50":97,"51":109,"52":101,"53":160,"54":167,"55":67,"56":111,"57":117,"58":110,"59":116,"60":114,"61":121,"62":160,"63":181,"64":84,"65":114,"66":97,"67":100,"68":105,"69":110,"70":103,"71":76,"72":111,"73":99,"74":97,"75":116,"76":105,"77":111,"78":110,"79":115,"80":71,"81":117,"82":105,"83":100,"84":115,"85":144,"86":177,"87":65,"88":115,"89":115,"90":101,"91":116,"92":115,"93":73,"94":110,"95":80,"96":111,"97":114,"98":116,"99":102,"100":111,"101":108,"102":105,"103":111,"104":161,"105":48,"106":187,"107":65,"108":115,"109":115,"110":101,"111":116,"112":115,"113":80,"114":101,"115":114,"116":83,"117":101,"118":99,"119":116,"120":105,"121":111,"122":110,"123":73,"124":110,"125":80,"126":111,"127":114,"128":116,"129":102,"130":111,"131":108,"132":105,"133":111,"134":160,"135":183,"136":86,"137":105,"138":114,"139":116,"140":117,"141":97,"142":108,"143":77,"144":111,"145":110,"146":101,"147":121,"148":69,"149":110,"150":116,"151":114,"152":97,"153":110,"154":99,"155":101,"156":70,"157":101,"158":101,"159":161,"160":48,"161":180,"162":82,"163":101,"164":97,"165":108,"166":77,"167":111,"168":110,"169":101,"170":121,"171":69,"172":110,"173":116,"174":114,"175":97,"176":110,"177":99,"178":101,"179":70,"180":101,"181":101,"182":161,"183":48,"184":176,"185":80,"186":114,"187":105,"188":122,"189":101,"190":115,"191":80,"192":101,"193":114,"194":99,"195":101,"196":110,"197":116,"198":97,"199":103,"200":101,"201":161,"202":48,"203":172,"204":67,"205":117,"206":114,"207":114,"208":101,"209":110,"210":116,"211":80,"212":114,"213":105,"214":122,"215":101,"216":162,"217":45,"218":49,"219":164,"220":84,"221":121,"222":112,"223":101,"224":168,"225":73,"226":110,"227":116,"228":114,"229":97,"230":100,"231":97,"232":121,"233":168,"234":67,"235":97,"236":116,"237":101,"238":103,"239":111,"240":114,"241":121,"242":173,"243":85,"244":110,"245":105,"246":110,"247":105,"248":116,"249":105,"250":97,"251":108,"252":105,"253":122,"254":101,"255":100,"256":179,"257":77,"258":97,"259":120,"260":105,"261":109,"262":117,"263":109,"264":80,"265":97,"266":114,"267":116,"268":105,"269":99,"270":105,"271":112,"272":97,"273":110,"274":116,"275":115,"276":255,"277":179,"278":77,"279":105,"280":110,"281":105,"282":109,"283":117,"284":109,"285":80,"286":97,"287":114,"288":116,"289":105,"290":99,"291":105,"292":112,"293":97,"294":110,"295":116,"296":115,"297":255,"298":179,"299":67,"300":117,"301":114,"302":114,"303":101,"304":110,"305":116,"306":80,"307":97,"308":114,"309":116,"310":105,"311":99,"312":105,"313":112,"314":97,"315":110,"316":116,"317":115,"318":255,"319":184,"320":82,"321":101,"322":103,"323":105,"324":115,"325":116,"326":114,"327":97,"328":116,"329":105,"330":111,"331":110,"332":83,"333":116,"334":97,"335":114,"336":116,"337":105,"338":110,"339":103,"340":84,"341":105,"342":109,"343":101,"344":199,"345":12,"346":255,"347":0,"348":0,"349":0,"350":0,"351":255,"352":255,"353":255,"354":241,"355":136,"356":110,"357":9,"358":0,"359":172,"360":83,"361":116,"362":97,"363":114,"364":116,"365":105,"366":110,"367":103,"368":84,"369":105,"370":109,"371":101,"372":199,"373":12,"374":255,"375":0,"376":0,"377":0,"378":0,"379":255,"380":255,"381":255,"382":241,"383":136,"384":110,"385":9,"386":0,"387":175,"388":73,"389":115,"390":83,"391":116,"392":97,"393":114,"394":116,"395":87,"396":104,"397":101,"398":110,"399":70,"400":117,"401":108,"402":108,"403":194,"404":166,"405":73,"406":115,"407":70,"408":114,"409":101,"410":101,"411":194,"412":217,"413":33,"414":73,"415":115,"416":67,"417":111,"418":110,"419":115,"420":116,"421":97,"422":110,"423":116,"424":84,"425":111,"426":116,"427":97,"428":108,"429":80,"430":114,"431":105,"432":122,"433":101,"434":115,"435":80,"436":97,"437":114,"438":116,"439":105,"440":99,"441":105,"442":112,"443":97,"444":110,"445":116,"446":115,"447":194,"448":170,"449":69,"450":110,"451":100,"452":105,"453":110,"454":103,"455":84,"456":105,"457":109,"458":101,"459":199,"460":12,"461":255,"462":0,"463":0,"464":0,"465":0,"466":255,"467":255,"468":255,"469":241,"470":136,"471":110,"472":9,"473":0,"474":183,"475":73,"476":115,"477":67,"478":117,"479":114,"480":114,"481":101,"482":110,"483":116,"484":85,"485":115,"486":101,"487":114,"488":82,"489":101,"490":103,"491":105,"492":115,"493":116,"494":101,"495":114,"496":101,"497":100,"498":194,"499":222,"500":0,"501":23,"502":166,"503":65,"504":99,"505":116,"506":105,"507":111,"508":110,"509":166,"510":82,"511":69,"512":77,"513":79,"514":86,"515":69,"516":164,"517":71,"518":117,"519":105,"520":100,"521":167,"522":53,"523":48,"524":51,"525":52,"526":54,"527":52,"528":56,"529":164,"530":78,"531":97,"532":109,"533":101,"534":160,"535":167,"536":67,"537":111,"538":117,"539":110,"540":116,"541":114,"542":121,"543":160,"544":181,"545":84,"546":114,"547":97,"548":100,"549":105,"550":110,"551":103,"552":76,"553":111,"554":99,"555":97,"556":116,"557":105,"558":111,"559":110,"560":115,"561":71,"562":117,"563":105,"564":100,"565":115,"566":144,"567":177,"568":65,"569":115,"570":115,"571":101,"572":116,"573":115,"574":73,"575":110,"576":80,"577":111,"578":114,"579":116,"580":102,"581":111,"582":108,"583":105,"584":111,"585":161,"586":48,"587":187,"588":65,"589":115,"590":115,"591":101,"592":116,"593":115,"594":80,"595":101,"596":114,"597":83,"598":101,"599":99,"600":116,"601":105,"602":111,"603":110,"604":73,"605":110,"606":80,"607":111,"608":114,"609":116,"610":102,"611":111,"612":108,"613":105,"614":111,"615":160,"616":183,"617":86,"618":105,"619":114,"620":116,"621":117,"622":97,"623":108,"624":77,"625":111,"626":110,"627":101,"628":121,"629":69,"630":110,"631":116,"632":114,"633":97,"634":110,"635":99,"636":101,"637":70,"638":101,"639":101,"640":161,"641":48,"642":180,"643":82,"644":101,"645":97,"646":108,"647":77,"648":111,"649":110,"650":101,"651":121,"652":69,"653":110,"654":116,"655":114,"656":97,"657":110,"658":99,"659":101,"660":70,"661":101,"662":101,"663":161,"664":48,"665":176,"666":80,"667":114,"668":105,"669":122,"670":101,"671":115,"672":80,"673":101,"674":114,"675":99,"676":101,"677":110,"678":116,"679":97,"680":103,"681":101,"682":161,"683":48,"684":172,"685":67,"686":117,"687":114,"688":114,"689":101,"690":110,"691":116,"692":80,"693":114,"694":105,"695":122,"696":101,"697":162,"698":45,"699":49,"700":164,"701":84,"702":121,"703":112,"704":101,"705":168,"706":73,"707":110,"708":116,"709":114,"710":97,"711":100,"712":97,"713":121,"714":168,"715":67,"716":97,"717":116,"718":101,"719":103,"720":111,"721":114,"722":121,"723":173,"724":85,"725":110,"726":105,"727":110,"728":105,"729":116,"730":105,"731":97,"732":108,"733":105,"734":122,"735":101,"736":100,"737":179,"738":77,"739":97,"740":120,"741":105,"742":109,"743":117,"744":109,"745":80,"746":97,"747":114,"748":116,"749":105,"750":99,"751":105,"752":112,"753":97,"754":110,"755":116,"756":115,"757":255,"758":179,"759":77,"760":105,"761":110,"762":105,"763":109,"764":117,"765":109,"766":80,"767":97,"768":114,"769":116,"770":105,"771":99,"772":105,"773":112,"774":97,"775":110,"776":116,"777":115,"778":255,"779":179,"780":67,"781":117,"782":114,"783":114,"784":101,"785":110,"786":116,"787":80,"788":97,"789":114,"790":116,"791":105,"792":99,"793":105,"794":112,"795":97,"796":110,"797":116,"798":115,"799":255,"800":184,"801":82,"802":101,"803":103,"804":105,"805":115,"806":116,"807":114,"808":97,"809":116,"810":105,"811":111,"812":110,"813":83,"814":116,"815":97,"816":114,"817":116,"818":105,"819":110,"820":103,"821":84,"822":105,"823":109,"824":101,"825":199,"826":12,"827":255,"828":0,"829":0,"830":0,"831":0,"832":255,"833":255,"834":255,"835":241,"836":136,"837":110,"838":9,"839":0,"840":172,"841":83,"842":116,"843":97,"844":114,"845":116,"846":105,"847":110,"848":103,"849":84,"850":105,"851":109,"852":101,"853":199,"854":12,"855":255,"856":0,"857":0,"858":0,"859":0,"860":255,"861":255,"862":255,"863":241,"864":136,"865":110,"866":9,"867":0,"868":175,"869":73,"870":115,"871":83,"872":116,"873":97,"874":114,"875":116,"876":87,"877":104,"878":101,"879":110,"880":70,"881":117,"882":108,"883":108,"884":194,"885":166,"886":73,"887":115,"888":70,"889":114,"890":101,"891":101,"892":194,"893":217,"894":33,"895":73,"896":115,"897":67,"898":111,"899":110,"900":115,"901":116,"902":97,"903":110,"904":116,"905":84,"906":111,"907":116,"908":97,"909":108,"910":80,"911":114,"912":105,"913":122,"914":101,"915":115,"916":80,"917":97,"918":114,"919":116,"920":105,"921":99,"922":105,"923":112,"924":97,"925":110,"926":116,"927":115,"928":194,"929":170,"930":69,"931":110,"932":100,"933":105,"934":110,"935":103,"936":84,"937":105,"938":109,"939":101,"940":199,"941":12,"942":255,"943":0,"944":0,"945":0,"946":0,"947":255,"948":255,"949":255,"950":241,"951":136,"952":110,"953":9,"954":0,"955":183,"956":73,"957":115,"958":67,"959":117,"960":114,"961":114,"962":101,"963":110,"964":116,"965":85,"966":115,"967":101,"968":114,"969":82,"970":101,"971":103,"972":105,"973":115,"974":116,"975":101,"976":114,"977":101,"978":100,"979":194,"980":222,"981":0,"982":23,"983":166,"984":65,"985":99,"986":116,"987":105,"988":111,"989":110,"990":166,"991":82,"992":69,"993":77,"994":79,"995":86,"996":69,"997":164,"998":71,"999":117,"1000":105,"1001":100,"1002":167,"1003":49,"1004":54,"1005":50,"1006":54,"1007":48,"1008":54,"1009":57,"1010":164,"1011":78,"1012":97,"1013":109,"1014":101,"1015":160,"1016":167,"1017":67,"1018":111,"1019":117,"1020":110,"1021":116,"1022":114,"1023":121,"1024":160,"1025":181,"1026":84,"1027":114,"1028":97,"1029":100,"1030":105,"1031":110,"1032":103,"1033":76,"1034":111,"1035":99,"1036":97,"1037":116,"1038":105,"1039":111,"1040":110,"1041":115,"1042":71,"1043":117,"1044":105,"1045":100,"1046":115,"1047":144,"1048":177,"1049":65,"1050":115,"1051":115,"1052":101,"1053":116,"1054":115,"1055":73,"1056":110,"1057":80,"1058":111,"1059":114,"1060":116,"1061":102,"1062":111,"1063":108,"1064":105,"1065":111,"1066":161,"1067":48,"1068":187,"1069":65,"1070":115,"1071":115,"1072":101,"1073":116,"1074":115,"1075":80,"1076":101,"1077":114,"1078":83,"1079":101,"1080":99,"1081":116,"1082":105,"1083":111,"1084":110,"1085":73,"1086":110,"1087":80,"1088":111,"1089":114,"1090":116,"1091":102,"1092":111,"1093":108,"1094":105,"1095":111,"1096":160,"1097":183,"1098":86,"1099":105,"1100":114,"1101":116,"1102":117,"1103":97,"1104":108,"1105":77,"1106":111,"1107":110,"1108":101,"1109":121,"1110":69,"1111":110,"1112":116,"1113":114,"1114":97,"1115":110,"1116":99,"1117":101,"1118":70,"1119":101,"1120":101,"1121":161,"1122":48,"1123":180,"1124":82,"1125":101,"1126":97,"1127":108,"1128":77,"1129":111,"1130":110,"1131":101,"1132":121,"1133":69,"1134":110,"1135":116,"1136":114,"1137":97,"1138":110,"1139":99,"1140":101,"1141":70,"1142":101,"1143":101,"1144":161,"1145":48,"1146":176,"1147":80,"1148":114,"1149":105,"1150":122,"1151":101,"1152":115,"1153":80,"1154":101,"1155":114,"1156":99,"1157":101,"1158":110,"1159":116,"1160":97,"1161":103,"1162":101,"1163":161,"1164":48,"1165":172,"1166":67,"1167":117,"1168":114,"1169":114,"1170":101,"1171":110,"1172":116,"1173":80,"1174":114,"1175":105,"1176":122,"1177":101,"1178":162,"1179":45,"1180":49,"1181":164,"1182":84,"1183":121,"1184":112,"1185":101,"1186":168,"1187":73,"1188":110,"1189":116,"1190":114,"1191":97,"1192":100,"1193":97,"1194":121,"1195":168,"1196":67,"1197":97,"1198":116,"1199":101,"1200":103,"1201":111,"1202":114,"1203":121,"1204":173,"1205":85,"1206":110,"1207":105,"1208":110,"1209":105,"1210":116,"1211":105,"1212":97,"1213":108,"1214":105,"1215":122,"1216":101,"1217":100,"1218":179,"1219":77,"1220":97,"1221":120,"1222":105,"1223":109,"1224":117,"1225":109,"1226":80,"1227":97,"1228":114,"1229":116,"1230":105,"1231":99,"1232":105,"1233":112,"1234":97,"1235":110,"1236":116,"1237":115,"1238":255,"1239":179,"1240":77,"1241":105,"1242":110,"1243":105,"1244":109,"1245":117,"1246":109,"1247":80,"1248":97,"1249":114,"1250":116,"1251":105,"1252":99,"1253":105,"1254":112,"1255":97,"1256":110,"1257":116,"1258":115,"1259":255,"1260":179,"1261":67,"1262":117,"1263":114,"1264":114,"1265":101,"1266":110,"1267":116,"1268":80,"1269":97,"1270":114,"1271":116,"1272":105,"1273":99,"1274":105,"1275":112,"1276":97,"1277":110,"1278":116,"1279":115,"1280":255,"1281":184,"1282":82,"1283":101,"1284":103,"1285":105,"1286":115,"1287":116,"1288":114,"1289":97,"1290":116,"1291":105,"1292":111,"1293":110,"1294":83,"1295":116,"1296":97,"1297":114,"1298":116,"1299":105,"1300":110,"1301":103,"1302":84,"1303":105,"1304":109,"1305":101,"1306":199,"1307":12,"1308":255,"1309":0,"1310":0,"1311":0,"1312":0,"1313":255,"1314":255,"1315":255,"1316":241,"1317":136,"1318":110,"1319":9,"1320":0,"1321":172,"1322":83,"1323":116,"1324":97,"1325":114,"1326":116,"1327":105,"1328":110,"1329":103,"1330":84,"1331":105,"1332":109,"1333":101,"1334":199,"1335":12,"1336":255,"1337":0,"1338":0,"1339":0,"1340":0,"1341":255,"1342":255,"1343":255,"1344":241,"1345":136,"1346":110,"1347":9,"1348":0,"1349":175,"1350":73,"1351":115,"1352":83,"1353":116,"1354":97,"1355":114,"1356":116,"1357":87,"1358":104,"1359":101,"1360":110,"1361":70,"1362":117,"1363":108,"1364":108,"1365":194,"1366":166,"1367":73,"1368":115,"1369":70,"1370":114,"1371":101,"1372":101,"1373":194,"1374":217,"1375":33,"1376":73,"1377":115,"1378":67,"1379":111,"1380":110,"1381":115,"1382":116,"1383":97,"1384":110,"1385":116,"1386":84,"1387":111,"1388":116,"1389":97,"1390":108,"1391":80,"1392":114,"1393":105,"1394":122,"1395":101,"1396":115,"1397":80,"1398":97,"1399":114,"1400":116,"1401":105,"1402":99,"1403":105,"1404":112,"1405":97,"1406":110,"1407":116,"1408":115,"1409":194,"1410":170,"1411":69,"1412":110,"1413":100,"1414":105,"1415":110,"1416":103,"1417":84,"1418":105,"1419":109,"1420":101,"1421":199,"1422":12,"1423":255,"1424":0,"1425":0,"1426":0,"1427":0,"1428":255,"1429":255,"1430":255,"1431":241,"1432":136,"1433":110,"1434":9,"1435":0,"1436":183,"1437":73,"1438":115,"1439":67,"1440":117,"1441":114,"1442":114,"1443":101,"1444":110,"1445":116,"1446":85,"1447":115,"1448":101,"1449":114,"1450":82,"1451":101,"1452":103,"1453":105,"1454":115,"1455":116,"1456":101,"1457":114,"1458":101,"1459":100,"1460":194}

called by connection.onreceive and passed through processIncomingData and parseMessages on the following data:
ArrayBuffer(1463)
Int8Array(1463)

{"0":-75,"1":11,"2":-107,"3":1,"4":-128,"5":-64,"6":-85,"7":117,"8":112,"9":100,"10":97,"11":116,"12":101,"13":76,"14":111,"15":98,"16":98,"17":121,"18":-111,"19":-109,"20":-34,"21":0,"22":23,"23":-90,"24":65,"25":99,"26":116,"27":105,"28":111,"29":110,"30":-90,"31":82,"32":69,"33":77,"34":79,"35":86,"36":69,"37":-92,"38":71,"39":117,"40":105,"41":100,"42":-89,"43":57,"44":53,"45":48,"46":53,"47":55,"48":53,"49":55,"50":-92,"51":78,"52":97,"53":109,"54":101,"55":-96,"56":-89,"57":67,"58":111,"59":117,"60":110,"61":116,"62":114,"63":121,"64":-96,"65":-75,"66":84,"67":114,"68":97,"69":100,"70":105,"71":110,"72":103,"73":76,"74":111,"75":99,"76":97,"77":116,"78":105,"79":111,"80":110,"81":115,"82":71,"83":117,"84":105,"85":100,"86":115,"87":-112,"88":-79,"89":65,"90":115,"91":115,"92":101,"93":116,"94":115,"95":73,"96":110,"97":80,"98":111,"99":114,"100":116,"101":102,"102":111,"103":108,"104":105,"105":111,"106":-95,"107":48,"108":-69,"109":65,"110":115,"111":115,"112":101,"113":116,"114":115,"115":80,"116":101,"117":114,"118":83,"119":101,"120":99,"121":116,"122":105,"123":111,"124":110,"125":73,"126":110,"127":80,"128":111,"129":114,"130":116,"131":102,"132":111,"133":108,"134":105,"135":111,"136":-96,"137":-73,"138":86,"139":105,"140":114,"141":116,"142":117,"143":97,"144":108,"145":77,"146":111,"147":110,"148":101,"149":121,"150":69,"151":110,"152":116,"153":114,"154":97,"155":110,"156":99,"157":101,"158":70,"159":101,"160":101,"161":-95,"162":48,"163":-76,"164":82,"165":101,"166":97,"167":108,"168":77,"169":111,"170":110,"171":101,"172":121,"173":69,"174":110,"175":116,"176":114,"177":97,"178":110,"179":99,"180":101,"181":70,"182":101,"183":101,"184":-95,"185":48,"186":-80,"187":80,"188":114,"189":105,"190":122,"191":101,"192":115,"193":80,"194":101,"195":114,"196":99,"197":101,"198":110,"199":116,"200":97,"201":103,"202":101,"203":-95,"204":48,"205":-84,"206":67,"207":117,"208":114,"209":114,"210":101,"211":110,"212":116,"213":80,"214":114,"215":105,"216":122,"217":101,"218":-94,"219":45,"220":49,"221":-92,"222":84,"223":121,"224":112,"225":101,"226":-88,"227":73,"228":110,"229":116,"230":114,"231":97,"232":100,"233":97,"234":121,"235":-88,"236":67,"237":97,"238":116,"239":101,"240":103,"241":111,"242":114,"243":121,"244":-83,"245":85,"246":110,"247":105,"248":110,"249":105,"250":116,"251":105,"252":97,"253":108,"254":105,"255":122,"256":101,"257":100,"258":-77,"259":77,"260":97,"261":120,"262":105,"263":109,"264":117,"265":109,"266":80,"267":97,"268":114,"269":116,"270":105,"271":99,"272":105,"273":112,"274":97,"275":110,"276":116,"277":115,"278":-1,"279":-77,"280":77,"281":105,"282":110,"283":105,"284":109,"285":117,"286":109,"287":80,"288":97,"289":114,"290":116,"291":105,"292":99,"293":105,"294":112,"295":97,"296":110,"297":116,"298":115,"299":-1,"300":-77,"301":67,"302":117,"303":114,"304":114,"305":101,"306":110,"307":116,"308":80,"309":97,"310":114,"311":116,"312":105,"313":99,"314":105,"315":112,"316":97,"317":110,"318":116,"319":115,"320":-1,"321":-72,"322":82,"323":101,"324":103,"325":105,"326":115,"327":116,"328":114,"329":97,"330":116,"331":105,"332":111,"333":110,"334":83,"335":116,"336":97,"337":114,"338":116,"339":105,"340":110,"341":103,"342":84,"343":105,"344":109,"345":101,"346":-57,"347":12,"348":-1,"349":0,"350":0,"351":0,"352":0,"353":-1,"354":-1,"355":-1,"356":-15,"357":-120,"358":110,"359":9,"360":0,"361":-84,"362":83,"363":116,"364":97,"365":114,"366":116,"367":105,"368":110,"369":103,"370":84,"371":105,"372":109,"373":101,"374":-57,"375":12,"376":-1,"377":0,"378":0,"379":0,"380":0,"381":-1,"382":-1,"383":-1,"384":-15,"385":-120,"386":110,"387":9,"388":0,"389":-81,"390":73,"391":115,"392":83,"393":116,"394":97,"395":114,"396":116,"397":87,"398":104,"399":101,"400":110,"401":70,"402":117,"403":108,"404":108,"405":-62,"406":-90,"407":73,"408":115,"409":70,"410":114,"411":101,"412":101,"413":-62,"414":-39,"415":33,"416":73,"417":115,"418":67,"419":111,"420":110,"421":115,"422":116,"423":97,"424":110,"425":116,"426":84,"427":111,"428":116,"429":97,"430":108,"431":80,"432":114,"433":105,"434":122,"435":101,"436":115,"437":80,"438":97,"439":114,"440":116,"441":105,"442":99,"443":105,"444":112,"445":97,"446":110,"447":116,"448":115,"449":-62,"450":-86,"451":69,"452":110,"453":100,"454":105,"455":110,"456":103,"457":84,"458":105,"459":109,"460":101,"461":-57,"462":12,"463":-1,"464":0,"465":0,"466":0,"467":0,"468":-1,"469":-1,"470":-1,"471":-15,"472":-120,"473":110,"474":9,"475":0,"476":-73,"477":73,"478":115,"479":67,"480":117,"481":114,"482":114,"483":101,"484":110,"485":116,"486":85,"487":115,"488":101,"489":114,"490":82,"491":101,"492":103,"493":105,"494":115,"495":116,"496":101,"497":114,"498":101,"499":100,"500":-62,"501":-34,"502":0,"503":23,"504":-90,"505":65,"506":99,"507":116,"508":105,"509":111,"510":110,"511":-90,"512":82,"513":69,"514":77,"515":79,"516":86,"517":69,"518":-92,"519":71,"520":117,"521":105,"522":100,"523":-89,"524":53,"525":48,"526":51,"527":52,"528":54,"529":52,"530":56,"531":-92,"532":78,"533":97,"534":109,"535":101,"536":-96,"537":-89,"538":67,"539":111,"540":117,"541":110,"542":116,"543":114,"544":121,"545":-96,"546":-75,"547":84,"548":114,"549":97,"550":100,"551":105,"552":110,"553":103,"554":76,"555":111,"556":99,"557":97,"558":116,"559":105,"560":111,"561":110,"562":115,"563":71,"564":117,"565":105,"566":100,"567":115,"568":-112,"569":-79,"570":65,"571":115,"572":115,"573":101,"574":116,"575":115,"576":73,"577":110,"578":80,"579":111,"580":114,"581":116,"582":102,"583":111,"584":108,"585":105,"586":111,"587":-95,"588":48,"589":-69,"590":65,"591":115,"592":115,"593":101,"594":116,"595":115,"596":80,"597":101,"598":114,"599":83,"600":101,"601":99,"602":116,"603":105,"604":111,"605":110,"606":73,"607":110,"608":80,"609":111,"610":114,"611":116,"612":102,"613":111,"614":108,"615":105,"616":111,"617":-96,"618":-73,"619":86,"620":105,"621":114,"622":116,"623":117,"624":97,"625":108,"626":77,"627":111,"628":110,"629":101,"630":121,"631":69,"632":110,"633":116,"634":114,"635":97,"636":110,"637":99,"638":101,"639":70,"640":101,"641":101,"642":-95,"643":48,"644":-76,"645":82,"646":101,"647":97,"648":108,"649":77,"650":111,"651":110,"652":101,"653":121,"654":69,"655":110,"656":116,"657":114,"658":97,"659":110,"660":99,"661":101,"662":70,"663":101,"664":101,"665":-95,"666":48,"667":-80,"668":80,"669":114,"670":105,"671":122,"672":101,"673":115,"674":80,"675":101,"676":114,"677":99,"678":101,"679":110,"680":116,"681":97,"682":103,"683":101,"684":-95,"685":48,"686":-84,"687":67,"688":117,"689":114,"690":114,"691":101,"692":110,"693":116,"694":80,"695":114,"696":105,"697":122,"698":101,"699":-94,"700":45,"701":49,"702":-92,"703":84,"704":121,"705":112,"706":101,"707":-88,"708":73,"709":110,"710":116,"711":114,"712":97,"713":100,"714":97,"715":121,"716":-88,"717":67,"718":97,"719":116,"720":101,"721":103,"722":111,"723":114,"724":121,"725":-83,"726":85,"727":110,"728":105,"729":110,"730":105,"731":116,"732":105,"733":97,"734":108,"735":105,"736":122,"737":101,"738":100,"739":-77,"740":77,"741":97,"742":120,"743":105,"744":109,"745":117,"746":109,"747":80,"748":97,"749":114,"750":116,"751":105,"752":99,"753":105,"754":112,"755":97,"756":110,"757":116,"758":115,"759":-1,"760":-77,"761":77,"762":105,"763":110,"764":105,"765":109,"766":117,"767":109,"768":80,"769":97,"770":114,"771":116,"772":105,"773":99,"774":105,"775":112,"776":97,"777":110,"778":116,"779":115,"780":-1,"781":-77,"782":67,"783":117,"784":114,"785":114,"786":101,"787":110,"788":116,"789":80,"790":97,"791":114,"792":116,"793":105,"794":99,"795":105,"796":112,"797":97,"798":110,"799":116,"800":115,"801":-1,"802":-72,"803":82,"804":101,"805":103,"806":105,"807":115,"808":116,"809":114,"810":97,"811":116,"812":105,"813":111,"814":110,"815":83,"816":116,"817":97,"818":114,"819":116,"820":105,"821":110,"822":103,"823":84,"824":105,"825":109,"826":101,"827":-57,"828":12,"829":-1,"830":0,"831":0,"832":0,"833":0,"834":-1,"835":-1,"836":-1,"837":-15,"838":-120,"839":110,"840":9,"841":0,"842":-84,"843":83,"844":116,"845":97,"846":114,"847":116,"848":105,"849":110,"850":103,"851":84,"852":105,"853":109,"854":101,"855":-57,"856":12,"857":-1,"858":0,"859":0,"860":0,"861":0,"862":-1,"863":-1,"864":-1,"865":-15,"866":-120,"867":110,"868":9,"869":0,"870":-81,"871":73,"872":115,"873":83,"874":116,"875":97,"876":114,"877":116,"878":87,"879":104,"880":101,"881":110,"882":70,"883":117,"884":108,"885":108,"886":-62,"887":-90,"888":73,"889":115,"890":70,"891":114,"892":101,"893":101,"894":-62,"895":-39,"896":33,"897":73,"898":115,"899":67,"900":111,"901":110,"902":115,"903":116,"904":97,"905":110,"906":116,"907":84,"908":111,"909":116,"910":97,"911":108,"912":80,"913":114,"914":105,"915":122,"916":101,"917":115,"918":80,"919":97,"920":114,"921":116,"922":105,"923":99,"924":105,"925":112,"926":97,"927":110,"928":116,"929":115,"930":-62,"931":-86,"932":69,"933":110,"934":100,"935":105,"936":110,"937":103,"938":84,"939":105,"940":109,"941":101,"942":-57,"943":12,"944":-1,"945":0,"946":0,"947":0,"948":0,"949":-1,"950":-1,"951":-1,"952":-15,"953":-120,"954":110,"955":9,"956":0,"957":-73,"958":73,"959":115,"960":67,"961":117,"962":114,"963":114,"964":101,"965":110,"966":116,"967":85,"968":115,"969":101,"970":114,"971":82,"972":101,"973":103,"974":105,"975":115,"976":116,"977":101,"978":114,"979":101,"980":100,"981":-62,"982":-34,"983":0,"984":23,"985":-90,"986":65,"987":99,"988":116,"989":105,"990":111,"991":110,"992":-90,"993":82,"994":69,"995":77,"996":79,"997":86,"998":69,"999":-92,"1000":71,"1001":117,"1002":105,"1003":100,"1004":-89,"1005":49,"1006":54,"1007":50,"1008":54,"1009":48,"1010":54,"1011":57,"1012":-92,"1013":78,"1014":97,"1015":109,"1016":101,"1017":-96,"1018":-89,"1019":67,"1020":111,"1021":117,"1022":110,"1023":116,"1024":114,"1025":121,"1026":-96,"1027":-75,"1028":84,"1029":114,"1030":97,"1031":100,"1032":105,"1033":110,"1034":103,"1035":76,"1036":111,"1037":99,"1038":97,"1039":116,"1040":105,"1041":111,"1042":110,"1043":115,"1044":71,"1045":117,"1046":105,"1047":100,"1048":115,"1049":-112,"1050":-79,"1051":65,"1052":115,"1053":115,"1054":101,"1055":116,"1056":115,"1057":73,"1058":110,"1059":80,"1060":111,"1061":114,"1062":116,"1063":102,"1064":111,"1065":108,"1066":105,"1067":111,"1068":-95,"1069":48,"1070":-69,"1071":65,"1072":115,"1073":115,"1074":101,"1075":116,"1076":115,"1077":80,"1078":101,"1079":114,"1080":83,"1081":101,"1082":99,"1083":116,"1084":105,"1085":111,"1086":110,"1087":73,"1088":110,"1089":80,"1090":111,"1091":114,"1092":116,"1093":102,"1094":111,"1095":108,"1096":105,"1097":111,"1098":-96,"1099":-73,"1100":86,"1101":105,"1102":114,"1103":116,"1104":117,"1105":97,"1106":108,"1107":77,"1108":111,"1109":110,"1110":101,"1111":121,"1112":69,"1113":110,"1114":116,"1115":114,"1116":97,"1117":110,"1118":99,"1119":101,"1120":70,"1121":101,"1122":101,"1123":-95,"1124":48,"1125":-76,"1126":82,"1127":101,"1128":97,"1129":108,"1130":77,"1131":111,"1132":110,"1133":101,"1134":121,"1135":69,"1136":110,"1137":116,"1138":114,"1139":97,"1140":110,"1141":99,"1142":101,"1143":70,"1144":101,"1145":101,"1146":-95,"1147":48,"1148":-80,"1149":80,"1150":114,"1151":105,"1152":122,"1153":101,"1154":115,"1155":80,"1156":101,"1157":114,"1158":99,"1159":101,"1160":110,"1161":116,"1162":97,"1163":103,"1164":101,"1165":-95,"1166":48,"1167":-84,"1168":67,"1169":117,"1170":114,"1171":114,"1172":101,"1173":110,"1174":116,"1175":80,"1176":114,"1177":105,"1178":122,"1179":101,"1180":-94,"1181":45,"1182":49,"1183":-92,"1184":84,"1185":121,"1186":112,"1187":101,"1188":-88,"1189":73,"1190":110,"1191":116,"1192":114,"1193":97,"1194":100,"1195":97,"1196":121,"1197":-88,"1198":67,"1199":97,"1200":116,"1201":101,"1202":103,"1203":111,"1204":114,"1205":121,"1206":-83,"1207":85,"1208":110,"1209":105,"1210":110,"1211":105,"1212":116,"1213":105,"1214":97,"1215":108,"1216":105,"1217":122,"1218":101,"1219":100,"1220":-77,"1221":77,"1222":97,"1223":120,"1224":105,"1225":109,"1226":117,"1227":109,"1228":80,"1229":97,"1230":114,"1231":116,"1232":105,"1233":99,"1234":105,"1235":112,"1236":97,"1237":110,"1238":116,"1239":115,"1240":-1,"1241":-77,"1242":77,"1243":105,"1244":110,"1245":105,"1246":109,"1247":117,"1248":109,"1249":80,"1250":97,"1251":114,"1252":116,"1253":105,"1254":99,"1255":105,"1256":112,"1257":97,"1258":110,"1259":116,"1260":115,"1261":-1,"1262":-77,"1263":67,"1264":117,"1265":114,"1266":114,"1267":101,"1268":110,"1269":116,"1270":80,"1271":97,"1272":114,"1273":116,"1274":105,"1275":99,"1276":105,"1277":112,"1278":97,"1279":110,"1280":116,"1281":115,"1282":-1,"1283":-72,"1284":82,"1285":101,"1286":103,"1287":105,"1288":115,"1289":116,"1290":114,"1291":97,"1292":116,"1293":105,"1294":111,"1295":110,"1296":83,"1297":116,"1298":97,"1299":114,"1300":116,"1301":105,"1302":110,"1303":103,"1304":84,"1305":105,"1306":109,"1307":101,"1308":-57,"1309":12,"1310":-1,"1311":0,"1312":0,"1313":0,"1314":0,"1315":-1,"1316":-1,"1317":-1,"1318":-15,"1319":-120,"1320":110,"1321":9,"1322":0,"1323":-84,"1324":83,"1325":116,"1326":97,"1327":114,"1328":116,"1329":105,"1330":110,"1331":103,"1332":84,"1333":105,"1334":109,"1335":101,"1336":-57,"1337":12,"1338":-1,"1339":0,"1340":0,"1341":0,"1342":0,"1343":-1,"1344":-1,"1345":-1,"1346":-15,"1347":-120,"1348":110,"1349":9,"1350":0,"1351":-81,"1352":73,"1353":115,"1354":83,"1355":116,"1356":97,"1357":114,"1358":116,"1359":87,"1360":104,"1361":101,"1362":110,"1363":70,"1364":117,"1365":108,"1366":108,"1367":-62,"1368":-90,"1369":73,"1370":115,"1371":70,"1372":114,"1373":101,"1374":101,"1375":-62,"1376":-39,"1377":33,"1378":73,"1379":115,"1380":67,"1381":111,"1382":110,"1383":115,"1384":116,"1385":97,"1386":110,"1387":116,"1388":84,"1389":111,"1390":116,"1391":97,"1392":108,"1393":80,"1394":114,"1395":105,"1396":122,"1397":101,"1398":115,"1399":80,"1400":97,"1401":114,"1402":116,"1403":105,"1404":99,"1405":105,"1406":112,"1407":97,"1408":110,"1409":116,"1410":115,"1411":-62,"1412":-86,"1413":69,"1414":110,"1415":100,"1416":105,"1417":110,"1418":103,"1419":84,"1420":105,"1421":109,"1422":101,"1423":-57,"1424":12,"1425":-1,"1426":0,"1427":0,"1428":0,"1429":0,"1430":-1,"1431":-1,"1432":-1,"1433":-15,"1434":-120,"1435":110,"1436":9,"1437":0,"1438":-73,"1439":73,"1440":115,"1441":67,"1442":117,"1443":114,"1444":114,"1445":101,"1446":110,"1447":116,"1448":85,"1449":115,"1450":101,"1451":114,"1452":82,"1453":101,"1454":103,"1455":105,"1456":115,"1457":116,"1458":101,"1459":114,"1460":101,"1461":100,"1462":-62}

Uint8Array(1463)

{"0":181,"1":11,"2":149,"3":1,"4":128,"5":192,"6":171,"7":117,"8":112,"9":100,"10":97,"11":116,"12":101,"13":76,"14":111,"15":98,"16":98,"17":121,"18":145,"19":147,"20":222,"21":0,"22":23,"23":166,"24":65,"25":99,"26":116,"27":105,"28":111,"29":110,"30":166,"31":82,"32":69,"33":77,"34":79,"35":86,"36":69,"37":164,"38":71,"39":117,"40":105,"41":100,"42":167,"43":57,"44":53,"45":48,"46":53,"47":55,"48":53,"49":55,"50":164,"51":78,"52":97,"53":109,"54":101,"55":160,"56":167,"57":67,"58":111,"59":117,"60":110,"61":116,"62":114,"63":121,"64":160,"65":181,"66":84,"67":114,"68":97,"69":100,"70":105,"71":110,"72":103,"73":76,"74":111,"75":99,"76":97,"77":116,"78":105,"79":111,"80":110,"81":115,"82":71,"83":117,"84":105,"85":100,"86":115,"87":144,"88":177,"89":65,"90":115,"91":115,"92":101,"93":116,"94":115,"95":73,"96":110,"97":80,"98":111,"99":114,"100":116,"101":102,"102":111,"103":108,"104":105,"105":111,"106":161,"107":48,"108":187,"109":65,"110":115,"111":115,"112":101,"113":116,"114":115,"115":80,"116":101,"117":114,"118":83,"119":101,"120":99,"121":116,"122":105,"123":111,"124":110,"125":73,"126":110,"127":80,"128":111,"129":114,"130":116,"131":102,"132":111,"133":108,"134":105,"135":111,"136":160,"137":183,"138":86,"139":105,"140":114,"141":116,"142":117,"143":97,"144":108,"145":77,"146":111,"147":110,"148":101,"149":121,"150":69,"151":110,"152":116,"153":114,"154":97,"155":110,"156":99,"157":101,"158":70,"159":101,"160":101,"161":161,"162":48,"163":180,"164":82,"165":101,"166":97,"167":108,"168":77,"169":111,"170":110,"171":101,"172":121,"173":69,"174":110,"175":116,"176":114,"177":97,"178":110,"179":99,"180":101,"181":70,"182":101,"183":101,"184":161,"185":48,"186":176,"187":80,"188":114,"189":105,"190":122,"191":101,"192":115,"193":80,"194":101,"195":114,"196":99,"197":101,"198":110,"199":116,"200":97,"201":103,"202":101,"203":161,"204":48,"205":172,"206":67,"207":117,"208":114,"209":114,"210":101,"211":110,"212":116,"213":80,"214":114,"215":105,"216":122,"217":101,"218":162,"219":45,"220":49,"221":164,"222":84,"223":121,"224":112,"225":101,"226":168,"227":73,"228":110,"229":116,"230":114,"231":97,"232":100,"233":97,"234":121,"235":168,"236":67,"237":97,"238":116,"239":101,"240":103,"241":111,"242":114,"243":121,"244":173,"245":85,"246":110,"247":105,"248":110,"249":105,"250":116,"251":105,"252":97,"253":108,"254":105,"255":122,"256":101,"257":100,"258":179,"259":77,"260":97,"261":120,"262":105,"263":109,"264":117,"265":109,"266":80,"267":97,"268":114,"269":116,"270":105,"271":99,"272":105,"273":112,"274":97,"275":110,"276":116,"277":115,"278":255,"279":179,"280":77,"281":105,"282":110,"283":105,"284":109,"285":117,"286":109,"287":80,"288":97,"289":114,"290":116,"291":105,"292":99,"293":105,"294":112,"295":97,"296":110,"297":116,"298":115,"299":255,"300":179,"301":67,"302":117,"303":114,"304":114,"305":101,"306":110,"307":116,"308":80,"309":97,"310":114,"311":116,"312":105,"313":99,"314":105,"315":112,"316":97,"317":110,"318":116,"319":115,"320":255,"321":184,"322":82,"323":101,"324":103,"325":105,"326":115,"327":116,"328":114,"329":97,"330":116,"331":105,"332":111,"333":110,"334":83,"335":116,"336":97,"337":114,"338":116,"339":105,"340":110,"341":103,"342":84,"343":105,"344":109,"345":101,"346":199,"347":12,"348":255,"349":0,"350":0,"351":0,"352":0,"353":255,"354":255,"355":255,"356":241,"357":136,"358":110,"359":9,"360":0,"361":172,"362":83,"363":116,"364":97,"365":114,"366":116,"367":105,"368":110,"369":103,"370":84,"371":105,"372":109,"373":101,"374":199,"375":12,"376":255,"377":0,"378":0,"379":0,"380":0,"381":255,"382":255,"383":255,"384":241,"385":136,"386":110,"387":9,"388":0,"389":175,"390":73,"391":115,"392":83,"393":116,"394":97,"395":114,"396":116,"397":87,"398":104,"399":101,"400":110,"401":70,"402":117,"403":108,"404":108,"405":194,"406":166,"407":73,"408":115,"409":70,"410":114,"411":101,"412":101,"413":194,"414":217,"415":33,"416":73,"417":115,"418":67,"419":111,"420":110,"421":115,"422":116,"423":97,"424":110,"425":116,"426":84,"427":111,"428":116,"429":97,"430":108,"431":80,"432":114,"433":105,"434":122,"435":101,"436":115,"437":80,"438":97,"439":114,"440":116,"441":105,"442":99,"443":105,"444":112,"445":97,"446":110,"447":116,"448":115,"449":194,"450":170,"451":69,"452":110,"453":100,"454":105,"455":110,"456":103,"457":84,"458":105,"459":109,"460":101,"461":199,"462":12,"463":255,"464":0,"465":0,"466":0,"467":0,"468":255,"469":255,"470":255,"471":241,"472":136,"473":110,"474":9,"475":0,"476":183,"477":73,"478":115,"479":67,"480":117,"481":114,"482":114,"483":101,"484":110,"485":116,"486":85,"487":115,"488":101,"489":114,"490":82,"491":101,"492":103,"493":105,"494":115,"495":116,"496":101,"497":114,"498":101,"499":100,"500":194,"501":222,"502":0,"503":23,"504":166,"505":65,"506":99,"507":116,"508":105,"509":111,"510":110,"511":166,"512":82,"513":69,"514":77,"515":79,"516":86,"517":69,"518":164,"519":71,"520":117,"521":105,"522":100,"523":167,"524":53,"525":48,"526":51,"527":52,"528":54,"529":52,"530":56,"531":164,"532":78,"533":97,"534":109,"535":101,"536":160,"537":167,"538":67,"539":111,"540":117,"541":110,"542":116,"543":114,"544":121,"545":160,"546":181,"547":84,"548":114,"549":97,"550":100,"551":105,"552":110,"553":103,"554":76,"555":111,"556":99,"557":97,"558":116,"559":105,"560":111,"561":110,"562":115,"563":71,"564":117,"565":105,"566":100,"567":115,"568":144,"569":177,"570":65,"571":115,"572":115,"573":101,"574":116,"575":115,"576":73,"577":110,"578":80,"579":111,"580":114,"581":116,"582":102,"583":111,"584":108,"585":105,"586":111,"587":161,"588":48,"589":187,"590":65,"591":115,"592":115,"593":101,"594":116,"595":115,"596":80,"597":101,"598":114,"599":83,"600":101,"601":99,"602":116,"603":105,"604":111,"605":110,"606":73,"607":110,"608":80,"609":111,"610":114,"611":116,"612":102,"613":111,"614":108,"615":105,"616":111,"617":160,"618":183,"619":86,"620":105,"621":114,"622":116,"623":117,"624":97,"625":108,"626":77,"627":111,"628":110,"629":101,"630":121,"631":69,"632":110,"633":116,"634":114,"635":97,"636":110,"637":99,"638":101,"639":70,"640":101,"641":101,"642":161,"643":48,"644":180,"645":82,"646":101,"647":97,"648":108,"649":77,"650":111,"651":110,"652":101,"653":121,"654":69,"655":110,"656":116,"657":114,"658":97,"659":110,"660":99,"661":101,"662":70,"663":101,"664":101,"665":161,"666":48,"667":176,"668":80,"669":114,"670":105,"671":122,"672":101,"673":115,"674":80,"675":101,"676":114,"677":99,"678":101,"679":110,"680":116,"681":97,"682":103,"683":101,"684":161,"685":48,"686":172,"687":67,"688":117,"689":114,"690":114,"691":101,"692":110,"693":116,"694":80,"695":114,"696":105,"697":122,"698":101,"699":162,"700":45,"701":49,"702":164,"703":84,"704":121,"705":112,"706":101,"707":168,"708":73,"709":110,"710":116,"711":114,"712":97,"713":100,"714":97,"715":121,"716":168,"717":67,"718":97,"719":116,"720":101,"721":103,"722":111,"723":114,"724":121,"725":173,"726":85,"727":110,"728":105,"729":110,"730":105,"731":116,"732":105,"733":97,"734":108,"735":105,"736":122,"737":101,"738":100,"739":179,"740":77,"741":97,"742":120,"743":105,"744":109,"745":117,"746":109,"747":80,"748":97,"749":114,"750":116,"751":105,"752":99,"753":105,"754":112,"755":97,"756":110,"757":116,"758":115,"759":255,"760":179,"761":77,"762":105,"763":110,"764":105,"765":109,"766":117,"767":109,"768":80,"769":97,"770":114,"771":116,"772":105,"773":99,"774":105,"775":112,"776":97,"777":110,"778":116,"779":115,"780":255,"781":179,"782":67,"783":117,"784":114,"785":114,"786":101,"787":110,"788":116,"789":80,"790":97,"791":114,"792":116,"793":105,"794":99,"795":105,"796":112,"797":97,"798":110,"799":116,"800":115,"801":255,"802":184,"803":82,"804":101,"805":103,"806":105,"807":115,"808":116,"809":114,"810":97,"811":116,"812":105,"813":111,"814":110,"815":83,"816":116,"817":97,"818":114,"819":116,"820":105,"821":110,"822":103,"823":84,"824":105,"825":109,"826":101,"827":199,"828":12,"829":255,"830":0,"831":0,"832":0,"833":0,"834":255,"835":255,"836":255,"837":241,"838":136,"839":110,"840":9,"841":0,"842":172,"843":83,"844":116,"845":97,"846":114,"847":116,"848":105,"849":110,"850":103,"851":84,"852":105,"853":109,"854":101,"855":199,"856":12,"857":255,"858":0,"859":0,"860":0,"861":0,"862":255,"863":255,"864":255,"865":241,"866":136,"867":110,"868":9,"869":0,"870":175,"871":73,"872":115,"873":83,"874":116,"875":97,"876":114,"877":116,"878":87,"879":104,"880":101,"881":110,"882":70,"883":117,"884":108,"885":108,"886":194,"887":166,"888":73,"889":115,"890":70,"891":114,"892":101,"893":101,"894":194,"895":217,"896":33,"897":73,"898":115,"899":67,"900":111,"901":110,"902":115,"903":116,"904":97,"905":110,"906":116,"907":84,"908":111,"909":116,"910":97,"911":108,"912":80,"913":114,"914":105,"915":122,"916":101,"917":115,"918":80,"919":97,"920":114,"921":116,"922":105,"923":99,"924":105,"925":112,"926":97,"927":110,"928":116,"929":115,"930":194,"931":170,"932":69,"933":110,"934":100,"935":105,"936":110,"937":103,"938":84,"939":105,"940":109,"941":101,"942":199,"943":12,"944":255,"945":0,"946":0,"947":0,"948":0,"949":255,"950":255,"951":255,"952":241,"953":136,"954":110,"955":9,"956":0,"957":183,"958":73,"959":115,"960":67,"961":117,"962":114,"963":114,"964":101,"965":110,"966":116,"967":85,"968":115,"969":101,"970":114,"971":82,"972":101,"973":103,"974":105,"975":115,"976":116,"977":101,"978":114,"979":101,"980":100,"981":194,"982":222,"983":0,"984":23,"985":166,"986":65,"987":99,"988":116,"989":105,"990":111,"991":110,"992":166,"993":82,"994":69,"995":77,"996":79,"997":86,"998":69,"999":164,"1000":71,"1001":117,"1002":105,"1003":100,"1004":167,"1005":49,"1006":54,"1007":50,"1008":54,"1009":48,"1010":54,"1011":57,"1012":164,"1013":78,"1014":97,"1015":109,"1016":101,"1017":160,"1018":167,"1019":67,"1020":111,"1021":117,"1022":110,"1023":116,"1024":114,"1025":121,"1026":160,"1027":181,"1028":84,"1029":114,"1030":97,"1031":100,"1032":105,"1033":110,"1034":103,"1035":76,"1036":111,"1037":99,"1038":97,"1039":116,"1040":105,"1041":111,"1042":110,"1043":115,"1044":71,"1045":117,"1046":105,"1047":100,"1048":115,"1049":144,"1050":177,"1051":65,"1052":115,"1053":115,"1054":101,"1055":116,"1056":115,"1057":73,"1058":110,"1059":80,"1060":111,"1061":114,"1062":116,"1063":102,"1064":111,"1065":108,"1066":105,"1067":111,"1068":161,"1069":48,"1070":187,"1071":65,"1072":115,"1073":115,"1074":101,"1075":116,"1076":115,"1077":80,"1078":101,"1079":114,"1080":83,"1081":101,"1082":99,"1083":116,"1084":105,"1085":111,"1086":110,"1087":73,"1088":110,"1089":80,"1090":111,"1091":114,"1092":116,"1093":102,"1094":111,"1095":108,"1096":105,"1097":111,"1098":160,"1099":183,"1100":86,"1101":105,"1102":114,"1103":116,"1104":117,"1105":97,"1106":108,"1107":77,"1108":111,"1109":110,"1110":101,"1111":121,"1112":69,"1113":110,"1114":116,"1115":114,"1116":97,"1117":110,"1118":99,"1119":101,"1120":70,"1121":101,"1122":101,"1123":161,"1124":48,"1125":180,"1126":82,"1127":101,"1128":97,"1129":108,"1130":77,"1131":111,"1132":110,"1133":101,"1134":121,"1135":69,"1136":110,"1137":116,"1138":114,"1139":97,"1140":110,"1141":99,"1142":101,"1143":70,"1144":101,"1145":101,"1146":161,"1147":48,"1148":176,"1149":80,"1150":114,"1151":105,"1152":122,"1153":101,"1154":115,"1155":80,"1156":101,"1157":114,"1158":99,"1159":101,"1160":110,"1161":116,"1162":97,"1163":103,"1164":101,"1165":161,"1166":48,"1167":172,"1168":67,"1169":117,"1170":114,"1171":114,"1172":101,"1173":110,"1174":116,"1175":80,"1176":114,"1177":105,"1178":122,"1179":101,"1180":162,"1181":45,"1182":49,"1183":164,"1184":84,"1185":121,"1186":112,"1187":101,"1188":168,"1189":73,"1190":110,"1191":116,"1192":114,"1193":97,"1194":100,"1195":97,"1196":121,"1197":168,"1198":67,"1199":97,"1200":116,"1201":101,"1202":103,"1203":111,"1204":114,"1205":121,"1206":173,"1207":85,"1208":110,"1209":105,"1210":110,"1211":105,"1212":116,"1213":105,"1214":97,"1215":108,"1216":105,"1217":122,"1218":101,"1219":100,"1220":179,"1221":77,"1222":97,"1223":120,"1224":105,"1225":109,"1226":117,"1227":109,"1228":80,"1229":97,"1230":114,"1231":116,"1232":105,"1233":99,"1234":105,"1235":112,"1236":97,"1237":110,"1238":116,"1239":115,"1240":255,"1241":179,"1242":77,"1243":105,"1244":110,"1245":105,"1246":109,"1247":117,"1248":109,"1249":80,"1250":97,"1251":114,"1252":116,"1253":105,"1254":99,"1255":105,"1256":112,"1257":97,"1258":110,"1259":116,"1260":115,"1261":255,"1262":179,"1263":67,"1264":117,"1265":114,"1266":114,"1267":101,"1268":110,"1269":116,"1270":80,"1271":97,"1272":114,"1273":116,"1274":105,"1275":99,"1276":105,"1277":112,"1278":97,"1279":110,"1280":116,"1281":115,"1282":255,"1283":184,"1284":82,"1285":101,"1286":103,"1287":105,"1288":115,"1289":116,"1290":114,"1291":97,"1292":116,"1293":105,"1294":111,"1295":110,"1296":83,"1297":116,"1298":97,"1299":114,"1300":116,"1301":105,"1302":110,"1303":103,"1304":84,"1305":105,"1306":109,"1307":101,"1308":199,"1309":12,"1310":255,"1311":0,"1312":0,"1313":0,"1314":0,"1315":255,"1316":255,"1317":255,"1318":241,"1319":136,"1320":110,"1321":9,"1322":0,"1323":172,"1324":83,"1325":116,"1326":97,"1327":114,"1328":116,"1329":105,"1330":110,"1331":103,"1332":84,"1333":105,"1334":109,"1335":101,"1336":199,"1337":12,"1338":255,"1339":0,"1340":0,"1341":0,"1342":0,"1343":255,"1344":255,"1345":255,"1346":241,"1347":136,"1348":110,"1349":9,"1350":0,"1351":175,"1352":73,"1353":115,"1354":83,"1355":116,"1356":97,"1357":114,"1358":116,"1359":87,"1360":104,"1361":101,"1362":110,"1363":70,"1364":117,"1365":108,"1366":108,"1367":194,"1368":166,"1369":73,"1370":115,"1371":70,"1372":114,"1373":101,"1374":101,"1375":194,"1376":217,"1377":33,"1378":73,"1379":115,"1380":67,"1381":111,"1382":110,"1383":115,"1384":116,"1385":97,"1386":110,"1387":116,"1388":84,"1389":111,"1390":116,"1391":97,"1392":108,"1393":80,"1394":114,"1395":105,"1396":122,"1397":101,"1398":115,"1399":80,"1400":97,"1401":114,"1402":116,"1403":105,"1404":99,"1405":105,"1406":112,"1407":97,"1408":110,"1409":116,"1410":115,"1411":194,"1412":170,"1413":69,"1414":110,"1415":100,"1416":105,"1417":110,"1418":103,"1419":84,"1420":105,"1421":109,"1422":101,"1423":199,"1424":12,"1425":255,"1426":0,"1427":0,"1428":0,"1429":0,"1430":255,"1431":255,"1432":255,"1433":241,"1434":136,"1435":110,"1436":9,"1437":0,"1438":183,"1439":73,"1440":115,"1441":67,"1442":117,"1443":114,"1444":114,"1445":101,"1446":110,"1447":116,"1448":85,"1449":115,"1450":101,"1451":114,"1452":82,"1453":101,"1454":103,"1455":105,"1456":115,"1457":116,"1458":101,"1459":114,"1460":101,"1461":100,"1462":194}

@guylando
Copy link
Author

guylando commented May 8, 2018

I still have it in breakpoint in debugger so tell me if you need anything else

@BrennanConroy
Copy link
Member

Do you have the original base64 encoded string from the server?

@analogrelay
Copy link
Contributor

Can you provide the exact data type of the object you are sending from the server? I do see an issue in msgpack5, but we're not hitting in in our tests because the MsgPack encoding is different for the date we're testing with.

The issue is with how DateTime/DateTimeOffset is encoded in MsgPack. msgpack5 can read 2 out of the 3 different ways it can be encoded, but it has a bug in how it handles the 3rd way (specifically it works with timestamp32 and timestamp64 but it has a bug in timestamp96 handling).

@analogrelay
Copy link
Contributor

Specifically the issue is here:

https://github.com/mcollina/msgpack5/blob/005eceb8fc1bcd6c4d3c3f7fd53792f928a00223/dist/msgpack5.js#L344-L351

The readUInt8 on line 347 for reading type should be a readInt8, because later it uses type < 0 to detect the built-in timestamp extension (which has a value of -1).

I'll file a bug but as @guylando mentioned it's been two months since the last commit so we may need to consider a) working around the issue in our code by registering a custom decoder (hacky but possible and easy) or b) switching to a new msgpack library (difficult, but a cleaner fix)

@analogrelay
Copy link
Contributor

@guylando as a workaround, you could convert the date values you want to send to an integer or string and convert them back on the JavaScript side.

@guylando
Copy link
Author

guylando commented May 8, 2018

Indeed I send dates in those messages.
regarding base64 string, the onreceive function receives info from webSocket.onmessage which has data buffer, I dont see any base64 string there...do you want me to encode to base64 one of the arrays above? if so tell me which one...i have those array in chrome console so I can apply base64 on them

I wrote above what the data buffer holds

@guylando
Copy link
Author

guylando commented May 8, 2018

@anurse but if dates have a problem then why it happens only once in a few messages and not every time?

@analogrelay
Copy link
Contributor

analogrelay commented May 8, 2018

Indeed I send dates in those messages.

Can you use a debugger on the server to capture exactly what the date value that causes the issue is? It only occurs if the date gets serialized as a timestamp96, which msgpack5 does not support. Also, it would help immensely if you can provide specific code examples of the server-side data type and the hub logic. If you are concerned about sharing that publicly, you can email me directly at [my github username]@microsoft.com

regarding base64 string

There's no need to provide this, I've identified enough of the underlying issue to move on from that.

@analogrelay
Copy link
Contributor

analogrelay commented May 8, 2018

The value you provided in your example decodes to 0001-01-01T10:12:41Z. This might explain why it is using timestamp96, since it's trying to encode a date (January 1st, 0001) far before the start date for the timestamp value (January 1st, 1970). Are you trying to encode DateTime that contains only a time value? If that's the case, perhaps you should avoid using a DateTime to transmit the value.

@guylando
Copy link
Author

guylando commented May 8, 2018

that's cant be the date sent...we have a system of live competitions and the new graph points are sent including their time and value...regarding the server side, that will take time both to reproduce and the code is under copyright which is a problem...I will see provide here more info if I will be able to..

@analogrelay
Copy link
Contributor

Well, looking at the exact date value being sent might help you solve the problem anyway. The date value you provided is definitely odd. Getting more information about the specific date value you're having trouble decoding will help even if you can't share the code.

@guylando
Copy link
Author

guylando commented May 9, 2018

@anurse I have sent you by email server payload to reproduce the bug. You are indeed correct regarding that date. It happens when from security reasons a field should not be sent but we still use the same class so we fill it with that value using DateTime.MinValue

@analogrelay
Copy link
Contributor

Looks like a limitation of the msgpack5 library then. It currently does not support the timestamp96 format, which is required to encode very large dates like DateTime.MinValue (it's large because it is so far before the "start date" used for MsgPack's timestamp value).

I'd suggest avoiding DateTime.MinValue for this and use a different value to represent a missing date, or encode the date as a string

@guylando
Copy link
Author

The mspack5 developer said date is not included in messagepack spec and thus not covered, see:
mcollina/msgpack5#19 (comment)

@analogrelay
Copy link
Contributor

The bug you linked is dated March, 2015. The timestamp data type was added as an extension, to support Dates, in December, 2015. Dates are generally supported and msgpack5 does in fact support them now, but very large or very small Dates are not well supported in the library.

@analogrelay analogrelay added this to the 2.2.0 milestone May 14, 2018
@analogrelay analogrelay added type: Bug cost: M Will take 3 - 5 days to complete labels Jun 10, 2018
@analogrelay analogrelay modified the milestones: 2.2.0, 3.0.0 Aug 20, 2018
@bradygaster bradygaster modified the milestones: 3.0.0, Backlog Nov 6, 2018
@analogrelay
Copy link
Contributor

Closing this as it is a limitation of the MessagePack-CSharp library. The library supports customization that could be used to provide support for this, and it can be worked around by avoiding DateTime.MinValue as a parameter value when using MessagePack.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cost: M Will take 3 - 5 days to complete type: Bug
Projects
None yet
Development

No branches or pull requests

5 participants