You are not logged in.

#1 2017-08-06 17:05:46

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,542

HTTP error 504: proxy loop detected

I believe this message is coming from polipo.
I change proxies and the message goes away and shows up on any browser. 
I think this is related to the localhost being changed to archlinux with the recent kernel change/upgrade (as it can't resolve hostname archlinux).
Possibly a change to /etc/hosts to make archlinux...loopback...but if there are several machines.

Last edited by nomorewindows (2017-08-06 17:08:03)


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#2 2017-08-06 17:21:35

loqs
Member
Registered: 2014-03-06
Posts: 19,097

Re: HTTP error 504: proxy loop detected

nomorewindows wrote:

I think this is related to the localhost being changed to archlinux with the recent kernel change/upgrade (as it can't resolve hostname archlinux).

What kernel change was this?

Offline

#3 2017-08-06 17:28:07

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,542

Re: HTTP error 504: proxy loop detected

loqs wrote:
nomorewindows wrote:

I think this is related to the localhost being changed to archlinux with the recent kernel change/upgrade (as it can't resolve hostname archlinux).

What kernel change was this?

To linux 4.12.4-1


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#4 2017-08-06 17:31:04

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,542

Re: HTTP error 504: proxy loop detected

Apparently other problems with current kernel upgrade:
https://bbs.archlinux.org/viewtopic.php?id=228847


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#5 2017-08-06 18:08:51

loqs
Member
Registered: 2014-03-06
Posts: 19,097

Re: HTTP error 504: proxy loop detected

Can you elaborate on what you mean by localhost being changed to archlinux?

Offline

#6 2017-08-06 19:10:19

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,171

Re: HTTP error 504: proxy loop detected

And post the output of "hostnamectl"

Offline

#7 2017-08-06 20:04:17

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,542

Re: HTTP error 504: proxy loop detected

   Static hostname: n/a
Transient hostname: archlinux
         Icon name: computer-laptop
           Chassis: laptop
        Machine ID: 
           Boot ID: 
  Operating System: Arch Linux
            Kernel: Linux 4.12.4-1-ARCH
      Architecture: x86-64

I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#8 2017-08-06 20:08:17

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,171

Re: HTTP error 504: proxy loop detected

https://wiki.archlinux.org/index.php/Ne … e_hostname

Networkmanager will otherwise make one up and "adjust" your hosts, breaking half the system.

Offline

#9 2017-08-06 22:30:33

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,542

Re: HTTP error 504: proxy loop detected

seth wrote:

https://wiki.archlinux.org/index.php/Ne … e_hostname

Networkmanager will otherwise make one up and "adjust" your hosts, breaking half the system.

Even with connmand/cmst?


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#10 2017-08-06 22:39:48

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,171

Re: HTTP error 504: proxy loop detected

I don't know how connman behaves, but you do get a transient hostname and suspect a hostname related issue and have trouble to resolve the transient hostname.
So set a static one.

Offline

#11 2017-08-07 00:51:45

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,542

Re: HTTP error 504: proxy loop detected

It looks like after I change the hostname on the machine with polipo and restart it, it starts behaving again.  Not sure about the other clients.  But then if I try to set the polipo machine back to localhost.localdomain, then it reports in systemctl status polipo

Couldn't determine host name -- using polipo.

I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#12 2017-08-07 06:55:52

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,171

Re: HTTP error 504: proxy loop detected

if I try to set the polipo machine back to localhost.localdomain

Then don't do  that.
"localhost" or "localhost.localdomain" can (and by default "will") resolve 127.0.0.1 anyway, but is not suited as a hostname for exactly that reason: every node in the subnet is "localhost"

On a sidenote: polipo is unmaintaned.

Offline

Board footer

Powered by FluxBB