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 #28 received at control@bugs.x2go.org (full text, mbox, reply):

Received: (at control) by bugs.x2go.org; 1 Mar 2013 10:15:45 +0000
From mike.gabriel@das-netzwerkteam.de  Fri Mar  1 11:15:45 2013
Received: from freya.das-netzwerkteam.de (freya.das-netzwerkteam.de [88.198.48.199])
	by ymir (Postfix) with ESMTPS id 27AF13BC43;
	Fri,  1 Mar 2013 11:15:45 +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 681B8C09;
	Fri,  1 Mar 2013 11:15:44 +0100 (CET)
Received: from localhost (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id 55A933BA93;
	Fri,  1 Mar 2013 11:15:44 +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 WMTodzfclSkR; Fri,  1 Mar 2013 11:15:44 +0100 (CET)
Received: from localhost (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id 0F6133BB34;
	Fri,  1 Mar 2013 11:15:43 +0100 (CET)
Received: from localhost (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id 00C653BB3A;
	Fri,  1 Mar 2013 11:15:42 +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=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00,
	MIME_QP_LONG_LINE,URIBL_BLOCKED autolearn=ham version=3.3.1 running as userid=
X-Spam-Level: 
X-Spam-Bayes-Score: 0.0069
Received: by grimnir.das-netzwerkteam.de (Postfix, from userid 33)
	id 6621D3BB36; Fri,  1 Mar 2013 11:15:41 +0100 (CET)
Received: from nocatv2.tng.de (nocatv2.tng.de [213.178.75.58]) by
 mail.das-netzwerkteam.de (Horde Framework) with HTTP; Fri, 01 Mar 2013
 11:15:41 +0100
Message-ID: <20130301111541.11482ucvl9mbsoul@mail.das-netzwerkteam.de>
X-Priority: 3 (Normal)
Date: Fri, 01 Mar 2013 11:15:41 +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>
 <20130228170518.20524taazhdgusla@mail.das-netzwerkteam.de>
 <512F9847.8010401@informatik.uni-erlangen.de>
 <CAFJm-UORT6HS+z6gM73ngxtBjV-tdg_ZS1gEQtE=kAifYf5MfA@mail.gmail.com>
In-Reply-To:  <CAFJm-UORT6HS+z6gM73ngxtBjV-tdg_ZS1gEQtE=kAifYf5MfA@mail.gmail.com>
MIME-Version: 1.0
Content-Type: multipart/signed;
 boundary="=_2rinh8nv3d1p";
 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 pending
tag #126 - wontfix
retitle #126 Provide info in /etc/default config files about broker debug mode
thanks

Hi Anders, hi Morty,

On Fr 01 Mär 2013 10:30:11 CET Anders Bruun Olsen wrote:

> 2013/2/28 Moritz Struebe <Moritz.Struebe@informatik.uni-erlangen.de>
>
>> > 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.
>> What is the rationale for this. While I don't work with the broker this
>> seems odd.
>>
>
> It could be related to REST. A POST request is usually what is used for
> giving input to a REST service. It means that caches do the right thing
> with the request, if one happens to be in between the service and the
> client. But it might be nice to have a comment in
> /etc/default/x2gobroker-daemon warning that enabling debug will enable GET
> requests to make using a browser for testing possible. Also we need
> documentation specifying that only POST requests are normally honored, but
> documentation probably should wait until the product is closer to being
> finished :)

I have just committed an attempt to make the X2GOBROKER_DEBUG usage  
more clear:
http://code.x2go.org/gitweb?p=x2gobroker.git;a=commitdiff;h=94323f6767cc8f3258f03a4160dba4cf6e166d07

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: Fri Dec 6 13:08:16 2019; 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.