em-ssh icon indicating copy to clipboard operation
em-ssh copied to clipboard

Unexpected Return

Open GtrPksRnt4eatin opened this issue 5 years ago • 7 comments

Getting an unexpected local return error on Line 71 of session.rb.. happens after leaving an ssh connection open overnight i come back to find the app crashed with that message.

GtrPksRnt4eatin avatar Aug 23 '18 21:08 GtrPksRnt4eatin

May I ask you to provide steps how to reproduce this?

kt97679 avatar Aug 23 '18 21:08 kt97679

hmm.. I'm not sure how to reproduce it outside of this environment.. the device being connected to is a Tandberg C40 Videoconferencing unit with old firmware.. the section of code is responding to an unexpected response which I assume is being generated by the C40.. I'm thinking that the return at the end of the block might need to be replaced by a next ???

GtrPksRnt4eatin avatar Aug 23 '18 21:08 GtrPksRnt4eatin

I can share other gem versions, or my source code if you like but its part of a large project

GtrPksRnt4eatin avatar Aug 23 '18 21:08 GtrPksRnt4eatin

I'm asking for reproducing scenario since this can be caused by network or server side issues. Does this happen often?

kt97679 avatar Aug 23 '18 21:08 kt97679

it happening every night on my development server..

On Thu, Aug 23, 2018 at 5:34 PM, kt97679 [email protected] wrote:

I'm asking for reproducing scenario since this can be caused by network or server side issues. Does this happen often?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/gruis/em-ssh/issues/37#issuecomment-415578354, or mute the thread https://github.com/notifications/unsubscribe-auth/ACC-kkSPoR7-C_syFRlqeeCMRrJS7oArks5uTx_KgaJpZM4WKV9U .

GtrPksRnt4eatin avatar Aug 23 '18 21:08 GtrPksRnt4eatin

If you open connection using ssh command does it stay through the night?

kt97679 avatar Aug 23 '18 21:08 kt97679

good question.. I will try that tonight and get back to you

On Thu, Aug 23, 2018 at 5:54 PM, kt97679 [email protected] wrote:

If you open connection using ssh command does it stay through the night?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/gruis/em-ssh/issues/37#issuecomment-415583616, or mute the thread https://github.com/notifications/unsubscribe-auth/ACC-khEtaQBKXnO-s-10HSmyn-N57YaLks5uTySjgaJpZM4WKV9U .

GtrPksRnt4eatin avatar Aug 23 '18 22:08 GtrPksRnt4eatin