X2Go Bug report logs - #126
Provide info in /etc/default config files about broker debug mode

version graph

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

Reported by: Anders Bruun Olsen <abo@dsl.dk>

Date: Thu, 28 Feb 2013 12:18:01 UTC

Severity: normal

Tags: pending

Found in version 0.0.0.5

Done: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>

Bug is archived. No further changes may be made.

Full log


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

Received: (at 126) by bugs.x2go.org; 28 Feb 2013 16:05:20 +0000
From mike.gabriel@das-netzwerkteam.de  Thu Feb 28 17:05:20 2013
Received: from freya.das-netzwerkteam.de (freya.das-netzwerkteam.de [88.198.48.199])
	by ymir (Postfix) with ESMTPS id 30FE23BC43;
	Thu, 28 Feb 2013 17:05:20 +0100 (CET)
Received: from grimnir.das-netzwerkteam.de (grimnir.das-netzwerkteam.de [78.46.204.98])
	by freya.das-netzwerkteam.de (Postfix) with ESMTPS id ED7C413A7;
	Thu, 28 Feb 2013 17:05:19 +0100 (CET)
Received: from localhost (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id 8F1253BA8D;
	Thu, 28 Feb 2013 17:05:19 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at grimnir.das-netzwerkteam.de
Received: from grimnir.das-netzwerkteam.de ([127.0.0.1])
	by localhost (grimnir.das-netzwerkteam.de [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id HV+B3VJEdfuG; Thu, 28 Feb 2013 17:05:19 +0100 (CET)
Received: from localhost (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id 67E053B980;
	Thu, 28 Feb 2013 17:05:19 +0100 (CET)
Received: from localhost (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id 4489E3B9CD;
	Thu, 28 Feb 2013 17:05:19 +0100 (CET)
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on
	grimnir.das-netzwerkteam.de
X-Spam-Flag: NO
X-Spam-Status: No, hits=-1.0 required=5.0 tests=ALL_TRUSTED,URIBL_BLOCKED
	autolearn=ham version=3.3.1 running as userid=
X-Spam-Level: 
X-Spam-Bayes-Score: 0.5
Received: by grimnir.das-netzwerkteam.de (Postfix, from userid 33)
	id A93ED3BA8D; Thu, 28 Feb 2013 17:05:18 +0100 (CET)
Received: from nocatv2.tng.de (nocatv2.tng.de [213.178.75.58]) by
 mail.das-netzwerkteam.de (Horde Framework) with HTTP; Thu, 28 Feb 2013
 17:05:18 +0100
Message-ID: <20130228170518.20524taazhdgusla@mail.das-netzwerkteam.de>
X-Priority: 3 (Normal)
Date: Thu, 28 Feb 2013 17:05:18 +0100
From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
To: Anders Bruun Olsen <abo@dsl.dk>
Cc: 126@bugs.x2go.org, control@bugs.x2go.org
Subject: Re: [X2Go-Dev] Bug#126: x2gobroker only works in debug-mode
References:  <CAFJm-UNk24C8OzHKA+f_Y+bTaovr8vjRaRzb4MFi8npeg6M_mw@mail.gmail.com>
In-Reply-To:  <CAFJm-UNk24C8OzHKA+f_Y+bTaovr8vjRaRzb4MFi8npeg6M_mw@mail.gmail.com>
MIME-Version: 1.0
Content-Type: multipart/signed;
 boundary="=_4qlijhprxmpq";
 protocol="application/pgp-signature";
 micalg="pgp-sha1"
Content-Transfer-Encoding: 7bit
User-Agent: Internet Messaging Program (IMP) H3 (4.3.4)
[Message part 1 (text/plain, inline)]
tag #126 wontfix
thanks

Dear Anders,

On Do 28 Feb 2013 13:06:05 CET Anders Bruun Olsen wrote:

> Package: x2gobroker
> Version: 0.0.0.5
>
> When I have X2GOBROKER_DEBUG=1 in /etc/default/x2gobroker-daemon, it
> returns the correct information:
>
> $ curl "
> http://x2go-broker.dsl.lan:8080/plain/inifile/?task=selectsession&sid=term-internal
> "
> Access granted
> SERVER:testterm1.dsl.lan:22
>
> However, when I set X2GOBROKER_DEBUG=0 or completely remove that line, this
> is what I get:
> $ curl "
> http://x2go-broker.dsl.lan:8080/plain/inifile/?task=selectsession&sid=term-internal
> "
> 404 Not Found

The above described phenomenon is intended behaviour.

In X2GOBROKER_DEBUG mode (=1) both http request methods (POST, GET)  
are possible and deliver a proper result. The curl command issues a  
GET request.

Without X2GOBROKER_DEBUG mode (=0) the GET request is disable and  
result in 404 Not Found. X2Go Client however, will just work fine, as  
it issues a POST request.

Greets,
Mike


-- 

DAS-NETZWERKTEAM
mike gabriel, rothenstein 5, 24214 neudorf-bornstein
fon: +49 (1520) 1976 148

GnuPG Key ID 0x25771B31
mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de

freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb
[Message part 2 (application/pgp-signature, inline)]

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Thu Mar 28 19:33:15 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.