Python Forum

Full Version: ERROR:haproxystats:Error fetching stats
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
ERROR:haproxystats:Error fetching stats from http://x.x.x.x:5222/;csv;norefresh:
('Connection aborted.', BadStatusLine("<?xml version='1.0'?><stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2954829834' from='xxxxx' version='1.0' xml:lang=''><stream:error><xml-not-well-formed xmlns='urn:ietf:params:xml:ns:xmpp-streams'></xml-not-well-formed></stream:error></stream:stream>",))
whenever you get a connection error, try the URL directly from a browser.
If the browser can't find the site, neither can you.
you are supposed to provide the finished IP address, replacing the 'x's with proper IP component.