Bug #627

avatar

Exception: SSH tunnel setup failed (exit code: 255)

Added by Bianca Mix 4836 days ago. Updated 4727 days ago.

Status:Closed Start:09/10/2011
Priority:Immediate Due date:
Assigned to:avatarMirco Bauer % Done:

100%

Category:Frontend GNOME
Target version:0.8.9
Complexity:

Medium

Found in Version:

git

Votes: 1 (View)

Description

Exception Type:System.ApplicationExceptionException Message:SSH tunnel setup failed (exit code: 255)SSH program: /usr/bin/sshSSH parameters:  -o ExitOnForwardFailure=yes -o ServerAliveInterval=30 -o ServerAliveCountMax=3 -N -X -p 22 -L 127.0.0.1:5004:127.0.0.1:5004 -R 127.0.0.1:35358:127.0.0.1:35358  -C [email protected] Error:ssh: Could not resolve hostname cloud.smuxi.org: Name or service not known
Program Output:Exception StackTrace:  at Smuxi.Frontend.SshTunnelManager.Connect () [0x001f1] in /home/mix/Code/smuxi/src/Frontend/SshTunnelManager.cs:269   at Smuxi.Frontend.EngineManager.Connect (System.String engine) [0x003ab] in /home/mix/Code/smuxi/src/Frontend/EngineManager.cs:200   at Smuxi.Frontend.EngineManager.Reconnect () [0x00011] in /home/mix/Code/smuxi/src/Frontend/EngineManager.cs:341   at Smuxi.Frontend.Gnome.Frontend.ReconnectEngineToGUI () [0x00010] in /home/mix/Code/smuxi/src/Frontend-GNOME/Frontend.cs:346   at Smuxi.Frontend.Gnome.Frontend.ShowException (Gtk.Window parent, System.Exception ex) [0x000f9] in /home/mix/Code/smuxi/src/Frontend-GNOME/Frontend.cs:477   at Smuxi.Frontend.Gnome.Frontend <ShowException>c__AnonStorey5.<>m__D (System.Object , System.EventArgs ) [0x00000] in /home/mix/Code/smuxi/src/Frontend-GNOME/Frontend.cs:453   at Gtk.Application InvokeCB.Invoke () [0x00000] in <filename unknown>:0   at GLib.Timeout TimeoutProxy.Handler () [0x00000] in <filename unknown>:0 

I used development tree of Smuxi


Related issues

duplicated by Smuxi - Bug #583 Exception: The local SSH forwarding port 50001 is already in use. Is there an old SSH tunnel still active? Closed 04/09/2011

Associated revisions

Revision 41c780c36f28d78796ebe7ddc5c2a84a63924969
Added by Mirco Bauer 4727 days ago

[Frontend-GNOME] Implemented auto reconnect loop in background (closes: #627)

History

Updated by Mirco Bauer 4815 days ago

avatar
  • Category set to Frontend GNOME
On Windows the same issue happens with a different symptom after a failed auto reconnect to the smuxi-server:
Exception Type:
System.ApplicationException

Exception Message:
Aufbau des SSH-Tunnels ist fehlgeschlagen (Exit-Code: 1)

SSH-Programm: plink.exe
SSH-Parameter:  -auto_store_key_in_cache -batch -N -X -l smuxi -pw XXXXXXXXX -P 22 -L 127.0.0.1:7689:127.0.0.1:7689 -R 127.0.0.1:56994:127.0.0.1:56994  -C XXXSERVERXXX

Programm-Fehler:
Plink error: Unable to open connection:

Host does not exist

Programm-Ausgabe:

Exception StackTrace:
   bei Smuxi.Frontend.SshTunnelManager.Connect()

   bei Smuxi.Frontend.EngineManager.Connect(String engine)

   bei Smuxi.Frontend.EngineManager.Reconnect()

   bei Smuxi.Frontend.Gnome.Frontend.ReconnectEngineToGUI()

   bei Smuxi.Frontend.Gnome.Frontend.ShowException(Window parent, Exception ex)

   bei Smuxi.Frontend.Gnome.Frontend.<ShowException>c__AnonStorey5.<>m__D(Object , EventArgs )

   bei Gtk.Application.InvokeCB.Invoke()

   bei GLib.Timeout.TimeoutProxy.Handler()

Updated by Bianca Mix 4796 days ago

avatar

After the server on which the smuxi-server was running was not reachable the same exception was fired with a different ssh-error.

Exception Type:
System.ApplicationException

Exception Message:
SSH tunnel setup failed (exit code: 255)

SSH program: /usr/bin/ssh
SSH parameters:  -o ExitOnForwardFailure=yes -o ServerAliveInterval=30 -o ServerAliveCountMax=3 -N -X -p 22 -L 127.0.0.1:5004:127.0.0.1:5004 -R 127.0.0.1:34627:127.0.0.1:34627  -C XXX@XXXSERVERXXX

Program Error:
ssh: connect to host XXXSERVERXXX port 22: Connection refused

Program Output:

Exception StackTrace:
  at Smuxi.Frontend.SshTunnelManager.Connect () [0x001f1] in /home/mix/Code/smuxi/src/Frontend/SshTunnelManager.cs:269 
  at Smuxi.Frontend.EngineManager.Connect (System.String engine) [0x003ab] in /home/mix/Code/smuxi/src/Frontend/EngineManager.cs:200 
  at Smuxi.Frontend.EngineManager.Reconnect () [0x00011] in /home/mix/Code/smuxi/src/Frontend/EngineManager.cs:341 
  at Smuxi.Frontend.Gnome.Frontend.ReconnectEngineToGUI () [0x00010] in /home/mix/Code/smuxi/src/Frontend-GNOME/Frontend.cs:346 
  at Smuxi.Frontend.Gnome.Frontend.ShowException (Gtk.Window parent, System.Exception ex) [0x000f9] in /home/mix/Code/smuxi/src/Frontend-GNOME/Frontend.cs:477 
  at Smuxi.Frontend.Gnome.Frontend+<ShowException>c__AnonStorey5.<>m__D (System.Object , System.EventArgs ) [0x00000] in /home/mix/Code/smuxi/src/Frontend-GNOME/Frontend.cs:453 
  at Gtk.Application+InvokeCB.Invoke () [0x00000] in <filename unknown>:0 
  at GLib.Timeout+TimeoutProxy.Handler () [0x00000] in <filename unknown>:0 

Updated by Mirco Bauer 4754 days ago

avatar
  • Assigned to set to Mirco Bauer
  • Priority changed from Normal to Immediate
  • Target version set to 0.8.9
  • Complexity set to Medium

Updated by Mirco Bauer 4733 days ago

avatar
  • Found in Version set to git

Updated by Mirco Bauer 4727 days ago

avatar
  • Status changed from New to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF