Re: [Qgis-developer] redirect loop detected error when connecting wms

2014-08-26 Thread Ziegler Stefan
Hi Jürgen

Thanks. I did not mean QGIS browser but a "normal" browser like Firefox etc. I 
never get an error message when I request GetCapabilities from Firefox/Chrome 
etc. So I thougt it could be some Qt-http-classes thing.

Regards
Stefan 

> -Ursprüngliche Nachricht-
> Von: qgis-developer-boun...@lists.osgeo.org [mailto:qgis-developer-
> boun...@lists.osgeo.org] Im Auftrag von Jürgen E. Fischer
> Gesendet: Dienstag, 26. August 2014 11:03
> An: qgis-developer@lists.osgeo.org
> Betreff: Re: [Qgis-developer] redirect loop detected error when connecting wms
> 
> Hi Stefan,
> 
> On Tue, 26. Aug 2014 at 07:55:33 +, Ziegler Stefan wrote:
> > Is this (qgis) application specific or can this behaviour also
> > reproduced by simply refreshing the browser? (since it never happens in the
> browser).
> 
> QGIS browser?  I'd expect it to behave the same.  Any other application might 
> just
> follow the redirection and run the same request again and hope for the best.
> 
> Maybe the server does actually respond differently to a later request (which 
> QGIS
> doesn't expect), otherwise the client might just stop requesting after a 
> number of
> redirections or end up in an endless loop retrying the same request again and 
> again.
> 
> 
> Jürgen
> 
> --
> Jürgen E. Fischer   norBIT GmbH Tel. +49-4931-918175-31
> Dipl.-Inf. (FH) Rheinstraße 13  Fax. +49-4931-918175-50
> Software Engineer   D-26506 Norden http://www.norbit.de
> QGIS release manager (PSC)  GermanyIRC: jef on FreeNode
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] redirect loop detected error when connecting wms

2014-08-26 Thread Ziegler Stefan
Hi Richard

No, not my own server. Unfortunately some protected one. So I'm trying to 
figure out how to report to the service provider.

Regards
Stefan 

> -Ursprüngliche Nachricht-
> Von: qgis-developer-boun...@lists.osgeo.org [mailto:qgis-developer-
> boun...@lists.osgeo.org] Im Auftrag von Richard Duivenvoorde
> Gesendet: Dienstag, 26. August 2014 11:19
> An: qgis-developer@lists.osgeo.org
> Betreff: Re: [Qgis-developer] redirect loop detected error when connecting wms
> 
> On 26-08-14 08:38, Ziegler Stefan wrote:
> > Hi
> >
> > Sometimes - for a certain WMS - I get the following error message when 
> > trying to
> read the GetCapabilities response from the server:
> >
> > Failed to download capabilities:
> > Redirect loop detected:
> 
> Hi Stefan,
> 
> is it your own server? I've also seen related messages with a apache server 
> with faulty
> Redirect or Rewrite rules (if I'm correct, Chrome browser was telling me more 
> then
> Firefox, if it was wrong).
> 
> hth
> 
> Regards,
> 
> Richard Duivenvoorde
> 
> 
> ___
> Qgis-developer mailing list
> Qgis-developer@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] redirect loop detected error when connecting wms

2014-08-26 Thread Richard Duivenvoorde
On 26-08-14 08:38, Ziegler Stefan wrote:
> Hi
> 
> Sometimes - for a certain WMS - I get the following error message when trying 
> to read the GetCapabilities response from the server:
> 
> Failed to download capabilities:
> Redirect loop detected:

Hi Stefan,

is it your own server? I've also seen related messages with a apache
server with faulty Redirect or Rewrite rules (if I'm correct, Chrome
browser was telling me more then Firefox, if it was wrong).

hth

Regards,

Richard Duivenvoorde


___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] redirect loop detected error when connecting wms

2014-08-26 Thread Jürgen E . Fischer
Hi Stefan,

On Tue, 26. Aug 2014 at 07:55:33 +, Ziegler Stefan wrote:
> Is this (qgis) application specific or can this behaviour also reproduced by
> simply refreshing the browser? (since it never happens in the browser).

QGIS browser?  I'd expect it to behave the same.  Any other application might
just follow the redirection and run the same request again and hope for the
best.

Maybe the server does actually respond differently to a later request (which
QGIS doesn't expect), otherwise the client might just stop requesting after a
number of redirections or end up in an endless loop retrying the same request
again and again.


Jürgen
 
-- 
Jürgen E. Fischer   norBIT GmbH Tel. +49-4931-918175-31
Dipl.-Inf. (FH) Rheinstraße 13  Fax. +49-4931-918175-50
Software Engineer   D-26506 Norden http://www.norbit.de
QGIS release manager (PSC)  GermanyIRC: jef on FreeNode 



signature.asc
Description: Digital signature
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] redirect loop detected error when connecting wms

2014-08-26 Thread Ziegler Stefan
Hi Jürgen

Is this (qgis) application specific or can this behaviour also reproduced by 
simply refreshing the browser? (since it never happens in the browser).

Regards
Stefan 

> -Ursprüngliche Nachricht-
> Von: qgis-developer-boun...@lists.osgeo.org [mailto:qgis-developer-
> boun...@lists.osgeo.org] Im Auftrag von Jürgen E. Fischer
> Gesendet: Dienstag, 26. August 2014 08:49
> An: qgis-developer@lists.osgeo.org
> Betreff: Re: [Qgis-developer] redirect loop detected error when connecting wms
> 
> Hi Stefan,
> 
> On Tue, 26. Aug 2014 at 06:38:05 +, Ziegler Stefan wrote:
> > Sometimes - for a certain WMS - I get the following error message when
> > trying to read the GetCapabilities response from the server:
> 
> > Failed to download capabilities:
> > Redirect loop detected:
> >
> > What does that mean?
> 
> That means the server instead of returning the GetCapabilities response 
> redirected to
> the same url that the GetCapabilities request already used.  So chances are 
> that will
> happen again and again...
> 
> 
> Jürgen
> 
> --
> Jürgen E. Fischer   norBIT GmbH Tel. +49-4931-918175-31
> Dipl.-Inf. (FH) Rheinstraße 13  Fax. +49-4931-918175-50
> Software Engineer   D-26506 Norden http://www.norbit.de
> QGIS release manager (PSC)  GermanyIRC: jef on FreeNode
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] redirect loop detected error when connecting wms

2014-08-25 Thread Jürgen E . Fischer
Hi Stefan,

On Tue, 26. Aug 2014 at 06:38:05 +, Ziegler Stefan wrote:
> Sometimes - for a certain WMS - I get the following error message when trying
> to read the GetCapabilities response from the server:
 
> Failed to download capabilities:
> Redirect loop detected:
> 
> What does that mean?

That means the server instead of returning the GetCapabilities response
redirected to the same url that the GetCapabilities request already used.  So
chances are that will happen again and again...


Jürgen

-- 
Jürgen E. Fischer   norBIT GmbH Tel. +49-4931-918175-31
Dipl.-Inf. (FH) Rheinstraße 13  Fax. +49-4931-918175-50
Software Engineer   D-26506 Norden http://www.norbit.de
QGIS release manager (PSC)  GermanyIRC: jef on FreeNode 



signature.asc
Description: Digital signature
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer