Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Exported JSON is truncated

~ I am monitoring a websocket connection. The websocket sends messages that I have decrypted and I can see them in wireshark. However, when I export the packets with File > Export Packet Dissections > As JSON (Packet range: displayed), the resulting json file contains truncated messages (although I can see the full message on wireshark).

An example is the following:

"data-text-lines": { " [truncated]{\"channel\":\"orderbook\",\"market\":\"AMPL/USDT\",\"type\":\"partial\",\"data\":{\"time\":1665560553.4247336,\"checksum\":3356754253,\"bids\":[[1.0967,1.0],[1.0956,39.0],[1.0955,22.0],[1.0933,116.0],[1.0916,26.0],[1.0909,1234.0],[1.0906,36.0],[": "" }

However, if I click on the corresponding packet in Wireshark and look at the Decrypted TLS, right-click on the message and then copy as Printable Text, I get the following complete message

{"channel":"orderbook","market":"AMPL/USD","type":"partial","data":{"time":1665560553.8702948,"checksum":1255188210,"bids":[[1.0996,1.0],[1.0995,39.0],[1.0994,140.0],[1.0962,37.0],[1.0954,905.0],[1.0948,8.0],[1.093,23.0],[1.0929,4.0],[1.091,1517.0],[1.0886,27.0],[1.0871,57.0],[1.0865,35.0],[1.085,2.0],[1.0848,4.0],[1.0843,3753.0],[1.0842,2995.0],[1.0832,54.0],[1.082,8.0],[1.08,10.0],[1.0773,2.0],[1.0767,4.0],[1.0733,688.0],[1.0732,1574.0],[1.0725,4684.0],[1.0703,2.0],[1.07,36.0],[1.0692,8.0],[1.0686,4.0],[1.0673,4617.0],[1.0637,5808.0],[1.0634,2.0],[1.0621,3976.0],[1.0606,3.0],[1.06,13.0],[1.0582,6041.0],[1.0566,2.0],[1.0564,8.0],[1.054,2.0],[1.0525,4.0],[1.0501,82.0],[1.05,13.0],[1.0498,2.0],[1.0474,673.0],[1.0473,7003.0],[1.0444,4.0],[1.0438,7576.0],[1.0435,8.0],[1.043,2.0],[1.0421,5220.0],[1.04,14.0],[1.0398,83.0],[1.0373,7232.0],[1.0363,6.0],[1.0362,5843.0],[1.0355,25.0],[1.0323,1.0],[1.0307,8.0],[1.03,15.0],[1.0296,2.0],[1.0295,84.0],[1.0282,4.0],[1.0272,1.0],[1.023,2.0],[1.0222,1.0],[1.0202,4.0],[1.02,16.0],[1.0194,85.0],[1.0193,673.0],[1.0179,8.0],[1.0171,1.0],[1.0164,2.0],[1.0121,5.0],[1.01,17.0],[1.0098,2.0],[1.007,1.0],[1.0051,8.0],[1.0044,86.0],[1.004,4.0],[1.0033,2.0],[1.002,1.0],[1.0009,25.0],[1.0008,11.0],[1.0,19.0],[0.9994,87.0],[0.9969,1.0],[0.9968,2.0],[0.9959,4.0],[0.9923,8.0],[0.9919,674.0],[0.9904,2.0],[0.9896,87.0],[0.9878,4.0],[0.9868,1.0],[0.9847,88.0],[0.984,2.0],[0.9818,1.0],[0.9794,8.0],[0.9777,2.0],[0.9767,1.0],[0.975,89.0]],"asks":[[1.1038,210.0],[1.1039,905.0],[1.1085,1127.0],[1.112,26.0],[1.1127,2.0],[1.1147,3140.0],[1.1162,25.0],[1.1171,4.0],[1.1174,3132.0],[1.1199,2.0],[1.12,3125.0],[1.1205,8.0],[1.1241,3.0],[1.1333,10.0],[1.1339,657.0],[1.1345,2.0],[1.1368,3078.0],[1.1414,2.0],[1.1418,2.0],[1.1461,8.0],[1.1485,11.0],[1.1492,2.0],[1.1567,2.0],[1.1589,8.0],[1.1642,2.0],[1.1648,4.0],[1.1652,657.0],[1.1656,4.0],[1.1682,5.0],[1.1717,10.0],[1.1721,28.0],[1.1737,33.0],[1.1793,2.0],[1.1795,16.0],[1.1818,4.0],[1.1846,8.0],[1.187,2.0],[1.1897,16810.0],[1.1937,7584.0],[1.1947,2.0],[1.1974,665.0],[1.1997,4.0],[1.2,1.0],[1.2024,2.0],[1.2048,6312.0],[1.2068,7793.0],[1.2083,25.0],[1.2102,10.0],[1.2193,7078.0],[1.2222,4.0],[1.223,8.0],[1.2248,16329.0],[1.2264,30.0],[1.2304,657.0],[1.2343,1.0],[1.2358,8.0],[1.2393,1.0],[1.24,30.0],[1.2409,30.0],[1.2428,25.0],[1.2444,1.0],[1.2448,16066.0],[1.2464,4.0],[1.2487,8.0],[1.249,5604.0],[1.2494,1.0],[1.25,8.0],[1.2545,1.0],[1.2579,36.0],[1.258,419.0],[1.2615,8.0],[1.2648,30.0],[1.2704,30.0],[1.2743,8.0],[1.2751,5.0],[1.2774,25.0],[1.2787,4.0],[1.279,5473.0],[1.2871,8.0],[1.3,10.0],[1.3026,543.0],[1.3111,4.0],[1.3191,4.0],[1.33,10.0],[1.3353,4.0],[1.3434,4.0],[1.3515,4.0],[1.3534,6.0],[1.3595,4.0],[1.3676,4.0],[1.371,4192.0],[1.3766,10950.0],[1.4,9.0],[1.4053,715.0],[1.4075,33.0],[1.4158,10950.0],[1.45,8.0],[1.4817,137.0],[1.5,4.0],[1.51,20.0]],"action":"partial"}}

How can I export the full and complete messages?