• Welcome to the new forum! We upgraded our forum software with a host of new boards, capabilities and features. It is also more secure.
    Jump in and join the conversation! You can learn more about the upgrade and new features here.

Can't copy recipe to cloud folder, proxy error

btcruiser

New Forum Member
Joined
Jun 10, 2009
Messages
1
Reaction score
0
Hello,

I'm having issues copying a recipe to the cloud folder with the following error (see below) running on BeerSmith 2.1.02. I am running Squid as the proxy on my firewall, and the error from Squid is:

HTTP/1.0 417 Expectation failed
Server: squid/2.7.STABLE9
Date: Fri, 19 Oct 2012 18:46:44 GMT
Content-Type: text/html
Content-Length: 1372
X-Squid-Error: ERR_INVALID_REQ 0
X-Cache: MISS from localhost
X-Cache-Lookup: NONE from localhost:80
Via: 1.0 localhost:80 (squid/2.7.STABLE9)
Connection: close

It is my understanding that Squid's internal engine only proxies HTTP 1.0 requests, and the Expect: 100-Continue is HTTP 1.1. According the the RFCs a client is supposed to receive the 417 error message and retry with 1.0. Please see:

http://squid-web-proxy-cache.1019090.n4.nabble.com/HTTP-1-0-417-Expectation-failed-td1561349.html

BT




<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<HTML><HEAD><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>ERROR: The requested URL could not be retrieved</TITLE>
<STYLE type="text/css"><!--BODY{background-color:#ffffff;font-family:verdana,sans-serif}PRE{font-family:sans-serif}--></STYLE>
</HEAD><BODY>
<H1>ERROR</H1>
<H2>The requested URL could not be retrieved</H2>
<HR noshade size="1px">
<P>
While trying to process the request:
<PRE>
POST /AddRecipe.php HTTP/1.1
Host: beersmithrecipes.com
Accept: */*
Proxy-Connection: Keep-Alive
Content-Length: 32381
Content-Type: application/x-www-form-urlencoded
Expect: 100-continue

</PRE>
<P>
The following error was encountered:
<UL>
<LI>
<STRONG>
Invalid Request
</STRONG>
</UL>

<P>
Some aspect of the HTTP Request is invalid.  Possible problems:
<UL>
<LI>Missing or unknown request method
<LI>Missing URL
<LI>Missing HTTP Identifier (HTTP/1.0)
<LI>Request is too large
<LI>Content-Length missing for POST or PUT requests
<LI>Illegal character in hostname; underscores are not allowed
</UL>
<P>Your cache administrator is <A HREF="mailto:admin@localhost">admin@localhost</A>.

<BR clear="all">
<HR noshade size="1px">
<ADDRESS>
Generated Fri, 19 Oct 2012 18:46:44 GMT by localhost (squid/2.7.STABLE9)
</ADDRESS>
</BODY></HTML>
 
Hi,
  I'm not sure why this would be occurring.  I did put basic proxy settings in under Options->Cloud, but I need to go back and also enable the entry of a proxy password.  Does your proxy allow access with no password?

Brad
 
Back
Top