Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

check_running lies when using curl and http_proxy #481

Open
GoogleCodeExporter opened this issue Jan 26, 2016 · 1 comment
Open

check_running lies when using curl and http_proxy #481

GoogleCodeExporter opened this issue Jan 26, 2016 · 1 comment

Comments

@GoogleCodeExporter
Copy link

if the http_proxy environment variable is set to point to squid, the refine 
launch script falsely reports "Something is already running but it doesn't seem 
to be Google Refine."

curl -S -s http://127.0.0.1:3333/

returns this:


<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" 
"http://www.w3.org/TR/html4/strict.dtd"> <html><head> <meta 
http-equiv="Content-Type" CONTENT="text/html; charset=utf-8"> <title>ERROR: The 
requested URL could not be retrieved</title> <style type="text/css"><!--   %l  
body :lang(fa) { direction: rtl; font-size: 100%; font-family: Tahoma, Roya, 
sans-serif; float: right; } :lang(he) { direction: rtl; }  --></style> 
</head><body id=ERR_CONNECT_FAIL> <div id="titles"> <h1>ERROR</h1> <h2>The 
requested URL could not be retrieved</h2> </div> <hr>  <div id="content"> 
<p>The following error was encountered while trying to retrieve the URL: <a 
href="http://127.0.0.1:3333/">http://127.0.0.1:3333/</a></p>  <blockquote 
id="error"> <p><b>Connection to 127.0.0.1 failed.</b></p> </blockquote>  <p 
id="sysmsg">The system returned: <i>(111) Connection refused</i></p>  <p>The 
remote host or network may be down. Please try the request again.</p>  <p>Your 
cache administrator is <a href="mailto:kevint">kevint</a>.</p>  <br> </div>  
<hr> <div id="footer"> <p>Generated Sat, 05 Nov 2011 22:14:07 GMT by elided 
(squid/2.7.STABLE9)</p> <!-- ERR_CONNECT_FAIL --> </div> </body></html> 

curl's --fail parameter might be useful here.

Original issue reported on code.google.com by [email protected] on 5 Nov 2011 at 10:16

@GoogleCodeExporter
Copy link
Author

Original comment by tfmorris on 18 Sep 2012 at 7:59

  • Changed state: Accepted
  • Added labels: Milestone-2.6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant