X2Go Bug report logs - #996
x2go client issues using HTTP proxy

version graph

Package: x2goclient; Maintainer for x2goclient is X2Go Developers <x2go-dev@lists.x2go.org>; Source for x2goclient is src:x2goclient.

Reported by: njethwa@cirruscomputing.com

Date: Mon, 8 Feb 2016 16:45:01 UTC

Severity: normal

Found in version 4.0.5.0-0

Full log


Message #5 received at submit@bugs.x2go.org (full text, mbox, reply):

Received: (at submit) by bugs.x2go.org; 8 Feb 2016 16:41:06 +0000
From njethwa@cirruscomputing.com  Mon Feb  8 17:41:03 2016
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on
	ymir.das-netzwerkteam.de
X-Spam-Level: 
X-Spam-Status: No, score=0.7 required=3.0 tests=BAYES_50,DKIM_SIGNED,
	DKIM_VALID,DKIM_VALID_AU,HTML_MESSAGE,SPF_HELO_PASS,URIBL_BLOCKED
	autolearn=ham version=3.3.2
Received: from localhost (localhost [127.0.0.1])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTP id 6AD195DA92
	for <submit@bugs.x2go.org>; Mon,  8 Feb 2016 17:41:03 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at ymir.das-netzwerkteam.de
Received: from ymir.das-netzwerkteam.de ([127.0.0.1])
	by localhost (ymir.das-netzwerkteam.de [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id QqjdrwKkgpjX for <submit@bugs.x2go.org>;
	Mon,  8 Feb 2016 17:41:03 +0100 (CET)
X-Greylist: delayed 302 seconds by postgrey-1.34 at ymir.das-netzwerkteam.de; Mon, 08 Feb 2016 17:41:02 CET
Received: from smtp.a1107.virtualorgs.net (static-209-87-232-151.storm.ca [209.87.232.151])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTP id B14FF5DA91
	for <submit@bugs.x2go.org>; Mon,  8 Feb 2016 17:41:02 +0100 (CET)
Received: from [10.101.74.50] (chaos.a1107.virtualorgs.net [10.101.74.50])
	by smtp.a1107.virtualorgs.net (Postfix) with ESMTPSA id 9E4D670979
	for <submit@bugs.x2go.org>; Mon,  8 Feb 2016 11:35:59 -0500 (EST)
DomainKey-Signature: a=rsa-sha1; s=mail; d=cirruscomputing.com; c=simple; q=dns;
	h=dkim-signature:subject:from:reply-to:to:content-type:
	organization:date:message-id:mime-version:x-mailer;
	b=MBh824tnAp1PbleAwrwTbgCz2esu5ROw1MQKkW50M8Ll2h4EGTxWeca85UBJBQ+L1
	kFkT3cO626Wxs3fvTL9xu7jwzkOOEwpl/YNEWOJlwjn1YxHP5s92fcb+IGrFMluy3FF
	vy127iWrfqRmkyaYdhau/ZBMcLDWKQWV7/Q5Fks=
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=cirruscomputing.com;
	s=mail; t=1454949359;
	bh=giPpawCzYvTjuEkMF/nD6ne8OkTyotTtezpddZMWbE8=;
	h=Subject:From:Reply-To:To:Content-Type:Date:Message-ID:
	 Mime-Version;
	b=anWfBKF3st539iX4aEoe0ZATzCaoA5DSuo3k2JmqFy0RQs0JgdJUw1RUl6CY24o15
	 xtZrFhKeFh0nlaLPrv6LqR5qcm5l9NixPgmO8XP69v1I9+YiFTfO0yys2pzKyOeF6V
	 ZzazIGu2hfTgBXipS0EH8Q3FNIFJIpvMhtXWVs0E=
Subject: x2go client issues using HTTP proxy
From: Nimesh Jethwa <njethwa@cirruscomputing.com>
Reply-To: njethwa@cirruscomputing.com
To: submit@bugs.x2go.org
Content-Type: multipart/alternative; boundary="=-zG41bLWcItFoaPtuRBS7"
Organization: a1107
Date: Mon, 08 Feb 2016 11:35:59 -0500
Message-ID: <1454949359.25750.38.camel@chaos.a1107.virtualorgs.net>
Mime-Version: 1.0
X-Mailer: Evolution 2.32.2 
[Message part 1 (text/plain, inline)]
Package: x2goclient
Version: 4.0.5.0-0

When trying to connect to a session using HTTP proxy, it fails the first
time with the below message in an error dialog.

"Socket error: disconnected"

When connecting to the same session the second time within 30 secs, the
connection goes through and I am logged into my virtual desktop. I am
able to replicate this issue several times.

Below is the output of the client running in debug mode (with the above
scenario captured) -

==========

x2go-INFO-8> "Starting connection to server:
desktop.a1200.virtualorgs.net:80"
x2go-DEBUG-../src/onmainwindow.cpp:2758> Starting new ssh connection to
server:"desktop.a1200.virtualorgs.net":"80" krbLogin: false
x2go-DEBUG-../src/sshmasterconnection.cpp:168> SshMasterConnection, host
"desktop.a1200.virtualorgs.net"port 80user "superuser"useproxy
trueproxyserver "desktop.a1200.virtualorgs.net"proxyport 80
x2go-DEBUG-../src/sshmasterconnection.cpp:205> Starting SSH connection
without Kerberos authentication.
x2go-DEBUG-../src/sshmasterconnection.cpp:209> SshMasterConnection,
instance SshMasterConnection(0x10d8030)  created. 
x2go-DEBUG-../src/sshmasterconnection.cpp:445> SshMasterConnection,
instance SshMasterConnection(0x10d8030)  entering thread. 
x2go-DEBUG-../src/sshmasterconnection.cpp:481> libssh not initialized
yet. Initializing.
x2go-DEBUG-../src/sshmasterconnection.cpp:559> Created HTTP proxy
socket: -1

x2go-DEBUG-../src/sshmasterconnection.cpp:564> Connected to HTTP proxy
server: "desktop.a1200.virtualorgs.net":80

x2go-DEBUG-../src/sshmasterconnection.cpp:581> "Cannot connect to
desktop.a1200.virtualorgs.net:80" - "Socket error: disconnected"
x2go-ERROR-2> "Connection error: Cannot connect to
desktop.a1200.virtualorgs.net:80: Socket error: disconnected"
x2go-DEBUG-../src/sshmasterconnection.cpp:711> SshMasterConnection,
instance SshMasterConnection(0x10d8030)  waiting for thread to finish. 
x2go-DEBUG-../src/sshmasterconnection.cpp:715> SshMasterConnection,
instance SshMasterConnection(0x10d8030)  thread finished. 
x2go-DEBUG-../src/sshmasterconnection.cpp:722> SshMasterConnection,
instance SshMasterConnection(0x10d8030)  finished destructor. 
x2go-INFO-8> "Starting connection to server:
desktop.a1200.virtualorgs.net:80"
x2go-DEBUG-../src/onmainwindow.cpp:2758> Starting new ssh connection to
server:"desktop.a1200.virtualorgs.net":"80" krbLogin: false
x2go-DEBUG-../src/sshmasterconnection.cpp:168> SshMasterConnection, host
"desktop.a1200.virtualorgs.net"port 80user "superuser"useproxy
trueproxyserver "desktop.a1200.virtualorgs.net"proxyport 80
x2go-DEBUG-../src/sshmasterconnection.cpp:205> Starting SSH connection
without Kerberos authentication.
x2go-DEBUG-../src/sshmasterconnection.cpp:209> SshMasterConnection,
instance SshMasterConnection(0x10d3580)  created. 
x2go-DEBUG-../src/sshmasterconnection.cpp:445> SshMasterConnection,
instance SshMasterConnection(0x10d3580)  entering thread. 
x2go-DEBUG-../src/sshmasterconnection.cpp:498> libssh already
initialized.
x2go-DEBUG-../src/sshmasterconnection.cpp:559> Created HTTP proxy
socket: 13

x2go-DEBUG-../src/sshmasterconnection.cpp:564> Connected to HTTP proxy
server: "desktop.a1200.virtualorgs.net":80

x2go-DEBUG-../src/sshmasterconnection.cpp:792> cserverAuth
x2go-DEBUG-../src/sshmasterconnection.cpp:807> state: 1

x2go-DEBUG-../src/sshmasterconnection.cpp:966> Password authentication
requested.

x2go-DEBUG-../src/sshmasterconnection.cpp:657> User authentication OK.
x2go-DEBUG-../src/onmainwindow.cpp:2853> SSH connection established.
x2go-DEBUG-../src/onmainwindow.cpp:3120> Continue normal X2Go session

==========

I am able to connect on the first try with the same HTTP proxy server
settings using Putty and even NoMachine v3.5. But for X2GO, it's always
on the second try.

I am currently using X2GO 4.0.5.0-0x2go1+git20160126.1112+jessie.main.1,
Debian GNU/Linux 8, libssh4-0.6.3-4+deb8u1, libc6-2.19-18+deb8u1.

Also, I can replicate this issue on Debian 8 - v4.0.3.1-4 and Windows 7
- v4.0.5.0.

Any help here would be greatly appreciated.

Thanks,
Nimesh 




[Message part 2 (text/html, inline)]

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Thu Nov 21 15:24:36 2024; Machine Name: ymir.das-netzwerkteam.de

X2Go Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.