[mosh-users] Mosh Client Exits Unexpectedly

Dan Schwartz drschwar at cs.cmu.edu
Thu Dec 24 08:06:48 EST 2015


Hi mosh community -

I'm trying to get set up with mosh, and I'm having an issue that the
mosh-client is exiting unexpectedly (at least I think it is the mosh-client
that causes this). I am able to establish a connection between the client
and server - the server is receiving packets, and I can even run 'ls' and
get back directory contents if I am fast enough...and then the client exits
(regardless of what I type, the client seems to exit after between 30s and
1 minute). The server side debug info is pasted below. I see a 'received
state -1' which seems suspicious, but I'm not sure what this means or how
to debug what's happening.

Any help would be appreciated.

Thanks,
Dan

Here is the server side debug info:

[16964] Received state 1 [coming from 0, ack 0]
[16964] Sent [0=>1] id 1, frag 0 ack=1, throwaway=0, len=575, frame
rate=4.00, timeout=1000, srtt=1000.0
[17131] Received state 2 [coming from 1, ack 1]
[17142] Sent [1=>2] id 2, frag 0 ack=2, throwaway=1, len=31, frame
rate=38.46, timeout=156, srtt=52.0
[17286] Received state 3 [coming from 2, ack 2]
[20148] Sent [2=>3] id 3, frag 0 ack=3, throwaway=2, len=25, frame
rate=38.46, timeout=137, srtt=51.0
[20292] Received state 4 [coming from 3, ack 3]
[21899] Received state 5 [coming from 3, ack 3]
[21912] Sent [3=>4] id 4, frag 0 ack=5, throwaway=3, len=31, frame
rate=38.46, timeout=117, srtt=50.9
[21961] Sent [3=>5] id 5, frag 0 ack=5, throwaway=3, len=41, frame
rate=38.46, timeout=117, srtt=50.9
[22073] Received state 6 [coming from 5, ack 5]
[22175] Received state 7 [coming from 5, ack 5]
[22187] Sent [5=>6] id 6, frag 0 ack=7, throwaway=5, len=36, frame
rate=38.46, timeout=104, srtt=51.3
[22242] Sent [5=>7] id 7, frag 0 ack=7, throwaway=5, len=43, frame
rate=38.46, timeout=104, srtt=51.3
[22287] Received state 8 [coming from 7, ack 6]
[22300] Sent [6=>8] id 8, frag 0 ack=8, throwaway=6, len=50, frame
rate=38.46, timeout=96, srtt=50.6
[22357] Sent [6=>9] id 9, frag 0 ack=8, throwaway=6, len=46, frame
rate=38.46, timeout=96, srtt=50.6
[22403] Received state 9 [coming from 8, ack 8]
[22474] Received state 10 [coming from 8, ack 9]
[22487] Sent [9=>10] id 10, frag 0 ack=10, throwaway=9, len=45, frame
rate=38.46, timeout=85, srtt=51.1
[22541] Sent [9=>11] id 11, frag 0 ack=10, throwaway=9, len=41, frame
rate=38.46, timeout=85, srtt=51.1
[22623] Received state 11 [coming from 10, ack 11]
[22635] Received state 12 [coming from 10, ack 11]
[22635] Sent [11=>12] id 12, frag 0 ack=12, throwaway=11, len=42, frame
rate=37.04, timeout=101, srtt=53.9
[22663] Sent [11=>13] id 13, frag 0 ack=12, throwaway=11, len=38, frame
rate=37.04, timeout=101, srtt=53.9
[22693] Sent [11=>14] id 14, frag 0 ack=12, throwaway=11, len=40, frame
rate=37.04, timeout=101, srtt=53.9
[22742] Received state 13 [coming from 12, ack 13]
[22755] Sent [13=>15] id 15, frag 0 ack=13, throwaway=13, len=42, frame
rate=34.48, timeout=118, srtt=57.0
[22805] Received state 14 [coming from 12, ack 14]
[22810] Sent [14=>16] id 16, frag 0 ack=14, throwaway=14, len=41, frame
rate=34.48, timeout=105, srtt=56.7
[22872] Received state 15 [coming from 14, ack 16]
[22874] Sent [16=>17] id 17, frag 0 ack=15, throwaway=16, len=44, frame
rate=34.48, timeout=99, srtt=57.4
[22940] Sent [16=>18] id 18, frag 0 ack=15, throwaway=16, len=50, frame
rate=34.48, timeout=99, srtt=57.4
[22970] Received state 16 [coming from 15, ack 17]
[22982] Sent [17=>19] id 19, frag 0 ack=16, throwaway=17, len=36, frame
rate=33.33, timeout=104, srtt=59.1
[23040] Sent [17=>20] id 20, frag 0 ack=16, throwaway=17, len=41, frame
rate=33.33, timeout=104, srtt=59.1
[23057] Received state 17 [coming from 16, ack 19]
[23071] Sent [19=>21] id 21, frag 0 ack=17, throwaway=19, len=47, frame
rate=33.33, timeout=95, srtt=58.7
[23127] Sent [19=>22] id 22, frag 0 ack=17, throwaway=19, len=50, frame
rate=33.33, timeout=95, srtt=58.7
[23192] Received state 18 [coming from 17, ack 21]
[23205] Sent [21=>23] id 23, frag 0 ack=18, throwaway=21, len=36, frame
rate=33.33, timeout=88, srtt=58.5
[23261] Sent [21=>24] id 24, frag 0 ack=18, throwaway=21, len=50, frame
rate=33.33, timeout=88, srtt=58.5
[23328] Received state 19 [coming from 18, ack 23]
[23426] Received state 20 [coming from 18, ack 24]
[24303] Received state 21 [coming from 18, ack 24]
[24316] Sent [24=>25] id 25, frag 0 ack=21, throwaway=24, len=39, frame
rate=31.25, timeout=119, srtt=62.1
[24365] Sent [24=>26] id 26, frag 0 ack=21, throwaway=24, len=50, frame
rate=31.25, timeout=119, srtt=62.1
[24406] Received state 22 [coming from 21, ack 25]
[24418] Sent [25=>27] id 27, frag 0 ack=22, throwaway=25, len=48, frame
rate=32.26, timeout=106, srtt=62.0
[24453] Received state 23 [coming from 21, ack 26]
[24465] Sent [26=>28] id 28, frag 0 ack=23, throwaway=26, len=43, frame
rate=31.25, timeout=102, srtt=62.7
[24474] Received state 24 [coming from 21, ack 26]
[24498] Sent [26=>29] id 29, frag 0 ack=24, throwaway=26, len=54, frame
rate=31.25, timeout=102, srtt=62.7
[24532] Sent [26=>30] id 30, frag 0 ack=24, throwaway=26, len=48, frame
rate=31.25, timeout=102, srtt=62.7
[24565] Received state -1 [coming from 24, ack 29]
[24565] Sent [29=>30] id 31, frag 0 ack=-1, throwaway=29, len=43, frame
rate=31.25, timeout=97, srtt=63.3

[mosh-server is exiting.]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/mosh-users/attachments/20151224/38e8667e/attachment.html


More information about the mosh-users mailing list