Closed banasiak closed 11 years ago
Can you provide verbose cURL output for one of these requests (be sure to strip any identifying information). I wonder if for some reason cURL is not adding a Content-Length header once the POST body exceeds a certain threshold.
So you'd add this:
$this->_client->getConfig()->set('curl.options', array(CURLOPT_VERBOSE => true));
Thanks for the quick reply, mtdowling. The Content-Length header seems to be there.
* About to connect() to cloudsearch.us-east-1.amazonaws.com port 443 (#0)
* Trying 72.21.195.216...
* Connected to cloudsearch.us-east-1.amazonaws.com (72.21.195.216) port 443 (#0)
* successfully set certificate verify locations:
* CAfile: none
CApath: /etc/ssl/certs
* SSL connection using RC4-MD5
* Server certificate:
* subject: C=US; ST=Washington; L=Seattle; O=Amazon.com Inc.; CN=cloudsearch.us-east-1.amazonaws.com
* start date: 2011-11-03 00:00:00 GMT
* expire date: 2013-11-03 23:59:59 GMT
* common name: cloudsearch.us-east-1.amazonaws.com (matched)
* issuer: C=US; O=VeriSign, Inc.; OU=VeriSign Trust Network; OU=Terms of use at https://www.verisign.com/rpa (c)10; CN=VeriSign Class 3 Secure Server CA - G3
* SSL certificate verify ok.
> POST / HTTP/1.1
Host: cloudsearch.us-east-1.amazonaws.com
User-Agent: aws-sdk-php2/2.4.5 Guzzle/3.7.3 curl/7.29.0 PHP/5.4.9-4ubuntu2.3
Content-Type: application/x-www-form-urlencoded; charset=utf-8
Content-Length: 256
* upload completely sent off: 256 out of 256 bytes
< HTTP/1.1 200 OK
< x-amzn-RequestId: f7c0615f-1cc2-11e3-b7fa-918f1f1b385e
< Content-Type: text/xml
< Content-Length: 1277
< Date: Fri, 13 Sep 2013 22:22:27 GMT
<
* Connection #0 to host cloudsearch.us-east-1.amazonaws.com left intact
# Request:
POST / HTTP/1.1
Host: cloudsearch.us-east-1.amazonaws.com
User-Agent: aws-sdk-php2/2.4.5 Guzzle/3.7.3 curl/7.29.0 PHP/5.4.9-4ubuntu2.3
Content-Type: application/x-www-form-urlencoded; charset=utf-8
Action=DescribeDomains&Version=2011-02-01&DomainNames.member.1=rab-test&Timestamp=2013-09-13T22%3A22%3A17%2B00%3A00&SignatureVersion=2&SignatureMethod=HmacSHA256&AWSAccessKeyId=****&Signature=****
# Response:
HTTP/1.1 200 OK
x-amzn-RequestId: f7c0615f-1cc2-11e3-b7fa-918f1f1b385e
Content-Type: text/xml
Content-Length: 1277
Date: Fri, 13 Sep 2013 22:22:27 GMT
<DescribeDomainsResponse xmlns="http://cloudsearch.amazonaws.com/doc/2011-02-01/">
<DescribeDomainsResult>
<DomainStatusList>
<member>
<SearchPartitionCount>1</SearchPartitionCount>
<SearchService>
<Arn>arn:aws:cs:us-east-1:676109577446:search/rab-test</Arn>
<Endpoint>search-rab-test-e7c74w5xlay7klvfk7kndwqqgy.us-east-1.cloudsearch.amazonaws.com</Endpoint>
</SearchService>
<NumSearchableDocs>0</NumSearchableDocs>
<Created>true</Created>
<SearchInstanceType>search.m1.small</SearchInstanceType>
<DomainId>676109577446/rab-test</DomainId>
<SearchInstanceCount>1</SearchInstanceCount>
<Processing>false</Processing>
<DomainName>rab-test</DomainName>
<RequiresIndexDocuments>true</RequiresIndexDocuments>
<Deleted>false</Deleted>
<DocService>
<Arn>arn:aws:cs:us-east-1:676109577446:doc/rab-test</Arn>
<Endpoint>doc-rab-test-e7c74w5xlay7klvfk7kndwqqgy.us-east-1.cloudsearch.amazonaws.com</Endpoint>
</DocService>
</member>
</DomainStatusList>
</DescribeDomainsResult>
<ResponseMetadata>
<RequestId>f7c0615f-1cc2-11e3-b7fa-918f1f1b385e</RequestId>
</ResponseMetadata>
</DescribeDomainsResponse>
# Errors: 0
* Found bundle for host cloudsearch.us-east-1.amazonaws.com: 0x13282b0
* Re-using existing connection! (#0) with host cloudsearch.us-east-1.amazonaws.com
* Connected to cloudsearch.us-east-1.amazonaws.com (72.21.195.216) port 443 (#0)
> POST / HTTP/1.1
Host: cloudsearch.us-east-1.amazonaws.com
User-Agent: aws-sdk-php2/2.4.5 Guzzle/3.7.3 curl/7.29.0 PHP/5.4.9-4ubuntu2.3
Content-Type: application/x-www-form-urlencoded; charset=utf-8
Content-Length: 13835
* upload completely sent off: 13835 out of 13835 bytes
< HTTP/1.1 505 HTTP Version Not Supported
< Date: Fri, 13 Sep 2013 22:22:27 GMT
< Connection: close
<
* Closing connection 0
# Request:
POST / HTTP/1.1
Host: cloudsearch.us-east-1.amazonaws.com
User-Agent: aws-sdk-php2/2.4.5 Guzzle/3.7.3 curl/7.29.0 PHP/5.4.9-4ubuntu2.3
Content-Type: application/x-www-form-urlencoded; charset=utf-8
Action=UpdateSynonymOptions&Version=2011-02-01&DomainName=rab-test&Synonyms=%7B%22synonyms%22%3A%7B%22n%22%3A%5B%22north%22%5D%2C%22s%22%3A%5B%22south%22%5D%2C%22e%22%3A%5B%22east%22%5D%2C%22w%22%3A%5B%22west%22%5D%2C%22aly%22%3A%5B%22alley%22%5D%2C%22anx%22%3A%5B%22annex%22%5D%2C%22apt%22%3A%5B%22apartment%22%5D%2C%22arc%22%3A%5B%22arcade%22%5D%2C%22ave%22%3A%5B%22avenue%22%5D%2C%22bch%22%3A%5B%22beach%22%5D%2C%22bg%22%3A%5B%22burg%22%5D%2C%22bgs%22%3A%5B%22burgs%22%5D%2C%22bldg%22%3A%5B%22building%22%5D%2C%22blf%22%3A%5B%22bluff%22%5D%2C%22blfs%22%3A%5B%22bluffs%22%5D%2C%22blvd%22%3A%5B%22boulevard%22%5D%2C%22bnd%22%3A%5B%22bend%22%5D%2C%22br%22%3A%5B%22branch%22%5D%2C%22brg%22%3A%5B%22bridge%22%5D%2C%22brk%22%3A%5B%22brook%22%5D%2C%22brks%22%3A%5B%22brooks%22%5D%2C%22bsmt%22%3A%5B%22basement%22%5D%2C%22btm%22%3A%5B%22bottom%22%5D%2C%22byp%22%3A%5B%22bypass%22%5D%2C%22byu%22%3A%5B%22bayou%22%5D%2C%22chse%22%3A%5B%22chase%22%5D%2C%22cir%22%3A%5B%22circle%22%5D%2C%22cirs%22%3A%5B%22circles%22%5D%2C%22clb%22%3A%5B%22club%22%5D%2C%22clf%22%3A%5B%22cliff%22%5D%2C%22clfs%22%3A%5B%22cliffs%22%5D%2C%22cmn%22%3A%5B%22common%22%5D%2C%22cmns%22%3A%5B%22commons%22%5D%2C%22cor%22%3A%5B%22corner%22%5D%2C%22cors%22%3A%5B%22corners%22%5D%2C%22cp%22%3A%5B%22camp%22%5D%2C%22cpe%22%3A%5B%22cape%22%5D%2C%22cres%22%3A%5B%22crescent%22%5D%2C%22crk%22%3A%5B%22creek%22%5D%2C%22crse%22%3A%5B%22course%22%5D%2C%22crst%22%3A%5B%22crest%22%5D%2C%22cswy%22%3A%5B%22causeway%22%5D%2C%22ct%22%3A%5B%22court%22%5D%2C%22ctr%22%3A%5B%22center%22%5D%2C%22ctrs%22%3A%5B%22centers%22%5D%2C%22cts%22%3A%5B%22courts%22%5D%2C%22curv%22%3A%5B%22curve%22%5D%2C%22cv%22%3A%5B%22cove%22%5D%2C%22cvs%22%3A%5B%22coves%22%5D%2C%22cyn%22%3A%5B%22canyon%22%5D%2C%22dept%22%3A%5B%22department%22%5D%2C%22dl%22%3A%5B%22dale%22%5D%2C%22dm%22%3A%5B%22dam%22%5D%2C%22dr%22%3A%5B%22drive%22%5D%2C%22drs%22%3A%5B%22drives%22%5D%2C%22dv%22%3A%5B%22divide%22%5D%2C%22est%22%3A%5B%22estate%22%5D%2C%22ests%22%3A%5B%22estates%22%5D%2C%22expy%22%3A%5B%22expressway%22%5D%2C%22ext%22%3A%5B%22extension%22%5D%2C%22exts%22%3A%5B%22extensions%22%5D%2C%22fl%22%3A%5B%22floor%22%5D%2C%22fld%22%3A%5B%22field%22%5D%2C%22flds%22%3A%5B%22fields%22%5D%2C%22fls%22%3A%5B%22falls%22%5D%2C%22flt%22%3A%5B%22flat%22%5D%2C%22flts%22%3A%5B%22flats%22%5D%2C%22frd%22%3A%5B%22ford%22%5D%2C%22frds%22%3A%5B%22fords%22%5D%2C%22frg%22%3A%5B%22forge%22%5D%2C%22frgs%22%3A%5B%22forges%22%5D%2C%22frk%22%3A%5B%22fork%22%5D%2C%22frks%22%3A%5B%22forks%22%5D%2C%22frnt%22%3A%5B%22front%22%5D%2C%22frst%22%3A%5B%22forest%22%5D%2C%22fry%22%3A%5B%22ferry%22%5D%2C%22ft%22%3A%5B%22fort%22%5D%2C%22fwy%22%3A%5B%22freeway%22%5D%2C%22gdn%22%3A%5B%22garden%22%5D%2C%22gdns%22%3A%5B%22gardens%22%5D%2C%22gln%22%3A%5B%22glen%22%5D%2C%22glns%22%3A%5B%22glens%22%5D%2C%22grn%22%3A%5B%22green%22%5D%2C%22grns%22%3A%5B%22greens%22%5D%2C%22grv%22%3A%5B%22grove%22%5D%2C%22grvs%22%3A%5B%22groves%22%5D%2C%22gtwy%22%3A%5B%22gateway%22%5D%2C%22hbr%22%3A%5B%22harbor%22%5D%2C%22hbrs%22%3A%5B%22harbors%22%5D%2C%22hl%22%3A%5B%22hill%22%5D%2C%22hls%22%3A%5B%22hills%22%5D%2C%22hngr%22%3A%5B%22hanger%22%5D%2C%22holw%22%3A%5B%22hollow%22%5D%2C%22hts%22%3A%5B%22heights%22%5D%2C%22hvn%22%3A%5B%22haven%22%5D%2C%22hwy%22%3A%5B%22highway%22%5D%2C%22inlt%22%3A%5B%22inlet%22%5D%2C%22is%22%3A%5B%22island%22%5D%2C%22iss%22%3A%5B%22islands%22%5D%2C%22jct%22%3A%5B%22junction%22%5D%2C%22jcts%22%3A%5B%22junctions%22%5D%2C%22knl%22%3A%5B%22knoll%22%5D%2C%22knls%22%3A%5B%22knolls%22%5D%2C%22ky%22%3A%5B%22key%22%5D%2C%22kys%22%3A%5B%22keys%22%5D%2C%22lbby%22%3A%5B%22lobby%22%5D%2C%22lck%22%3A%5B%22lock%22%5D%2C%22lcks%22%3A%5B%22locks%22%5D%2C%22ldg%22%3A%5B%22lodge%22%5D%2C%22lf%22%3A%5B%22loaf%22%5D%2C%22lgt%22%3A%5B%22light%22%5D%2C%22lgts%22%3A%5B%22lights%22%5D%2C%22lk%22%3A%5B%22lake%22%5D%2C%22lks%22%3A%5B%22lakes%22%5D%2C%22ln%22%3A%5B%22lane%22%5D%2C%22lndg%22%3A%5B%22landing%22%5D%2C%22lowr%22%3A%5B%22lower%22%5D%2C%22mdw%22%3A%5B%22meadow%22%5D%2C%22mdws%22%3A%5B%22meadows%22%5D%2C%22ml%22%3A%5B%22mill%22%5D%2C%22mls%22%3A%5B%22mills%22%5D%2C%22mnr%22%3A%5B%22manor%22%5D%2C%22mnrs%22%3A%5B%22manors%22%5D%2C%22msn%22%3A%5B%22mission%22%5D%2C%22mt%22%3A%5B%22mount%22%5D%2C%22mtn%22%3A%5B%22mountain%22%5D%2C%22mtns%22%3A%5B%22mountains%22%5D%2C%22mtwy%22%3A%5B%22motorway%22%5D%2C%22nck%22%3A%5B%22neck%22%5D%2C%22ofc%22%3A%5B%22office%22%5D%2C%22opas%22%3A%5B%22overpass%22%5D%2C%22orch%22%3A%5B%22orchard%22%5D%2C%22ovlk%22%3A%5B%22overlook%22%5D%2C%22ph%22%3A%5B%22penthouse%22%5D%2C%22pkwy%22%3A%5B%22parkway%22%5D%2C%22pl%22%3A%5B%22place%22%5D%2C%22pln%22%3A%5B%22plain%22%5D%2C%22plns%22%3A%5B%22plains%22%5D%2C%22plz%22%3A%5B%22plaza%22%5D%2C%22pne%22%3A%5B%22pine%22%5D%2C%22pnes%22%3A%5B%22pines%22%5D%2C%22pr%22%3A%5B%22prairie%22%5D%2C%22prt%22%3A%5B%22port%22%5D%2C%22prts%22%3A%5B%22ports%22%5D%2C%22psge%22%3A%5B%22passage%22%5D%2C%22pt%22%3A%5B%22point%22%5D%2C%22pte%22%3A%5B%22pointe%22%5D%2C%22pts%22%3A%5B%22points%22%5D%2C%22radl%22%3A%5B%22radial%22%5D%2C%22rd%22%3A%5B%22road%22%5D%2C%22rdg%22%3A%5B%22ridge%22%5D%2C%22rdgs%22%3A%5B%22ridges%22%5D%2C%22rds%22%3A%5B%22roads%22%5D%2C%22riv%22%3A%5B%22river%22%5D%2C%22rm%22%3A%5B%22room%22%5D%2C%22rnch%22%3A%5B%22ranch%22%5D%2C%22rpd%22%3A%5B%22rapid%22%5D%2C%22rpds%22%3A%5B%22rapids%22%5D%2C%22rst%22%3A%5B%22rest%22%5D%2C%22rte%22%3A%5B%22route%22%5D%2C%22shl%22%3A%5B%22shoal%22%5D%2C%22shls%22%3A%5B%22shoals%22%5D%2C%22shr%22%3A%5B%22shore%22%5D%2C%22shrs%22%3A%5B%22shores%22%5D%2C%22skwy%22%3A%5B%22skyway%22%5D%2C%22smt%22%3A%5B%22summit%22%5D%2C%22spc%22%3A%5B%22space%22%5D%2C%22spg%22%3A%5B%22spring%22%5D%2C%22spgs%22%3A%5B%22springs%22%5D%2C%22sq%22%3A%5B%22square%22%5D%2C%22sqs%22%3A%5B%22squares%22%5D%2C%22st%22%3A%5B%22street%22%5D%2C%22sta%22%3A%5B%22station%22%5D%2C%22ste%22%3A%5B%22suite%22%5D%2C%22stra%22%3A%5B%22stravenue%22%5D%2C%22strm%22%3A%5B%22stream%22%5D%2C%22sts%22%3A%5B%22streets%22%5D%2C%22ter%22%3A%5B%22terrace%22%5D%2C%22tpke%22%3A%5B%22turnpike%22%5D%2C%22trak%22%3A%5B%22track%22%5D%2C%22trce%22%3A%5B%22trace%22%5D%2C%22trfy%22%3A%5B%22trafficway%22%5D%2C%22trl%22%3A%5B%22trail%22%5D%2C%22trlr%22%3A%5B%22trailer%22%5D%2C%22trwy%22%3A%5B%22throughway%22%5D%2C%22tunl%22%3A%5B%22tunnel%22%5D%2C%22un%22%3A%5B%22union%22%5D%2C%22uns%22%3A%5B%22unions%22%5D%2C%22upas%22%3A%5B%22underpass%22%5D%2C%22uppr%22%3A%5B%22upper%22%5D%2C%22via%22%3A%5B%22viaduct%22%5D%2C%22vis%22%3A%5B%22vista%22%5D%2C%22vl%22%3A%5B%22ville%22%5D%2C%22vlg%22%3A%5B%22village%22%5D%2C%22vlgs%22%3A%5B%22villages%22%5D%2C%22vly%22%3A%5B%22valley%22%5D%2C%22vlys%22%3A%5B%22valleys%22%5D%2C%22vw%22%3A%5B%22view%22%5D%2C%22vws%22%3A%5B%22views%22%5D%2C%22whf%22%3A%5B%22wharf%22%5D%2C%22wl%22%3A%5B%22well%22%5D%2C%22wls%22%3A%5B%22wells%22%5D%2C%22xing%22%3A%5B%22crossing%22%5D%2C%22xrd%22%3A%5B%22crossroad%22%5D%2C%22xrds%22%3A%5B%22crossroads%22%5D%2C%22north%22%3A%5B%22n%22%5D%2C%22south%22%3A%5B%22s%22%5D%2C%22east%22%3A%5B%22e%22%5D%2C%22west%22%3A%5B%22w%22%5D%2C%22alley%22%3A%5B%22aly%22%5D%2C%22annex%22%3A%5B%22anx%22%5D%2C%22apartment%22%3A%5B%22apt%22%5D%2C%22arcade%22%3A%5B%22arc%22%5D%2C%22avenue%22%3A%5B%22ave%22%5D%2C%22beach%22%3A%5B%22bch%22%5D%2C%22burg%22%3A%5B%22bg%22%5D%2C%22burgs%22%3A%5B%22bgs%22%5D%2C%22building%22%3A%5B%22bldg%22%5D%2C%22bluff%22%3A%5B%22blf%22%5D%2C%22bluffs%22%3A%5B%22blfs%22%5D%2C%22boulevard%22%3A%5B%22blvd%22%5D%2C%22bend%22%3A%5B%22bnd%22%5D%2C%22branch%22%3A%5B%22br%22%5D%2C%22bridge%22%3A%5B%22brg%22%5D%2C%22brook%22%3A%5B%22brk%22%5D%2C%22brooks%22%3A%5B%22brks%22%5D%2C%22basement%22%3A%5B%22bsmt%22%5D%2C%22bottom%22%3A%5B%22btm%22%5D%2C%22bypass%22%3A%5B%22byp%22%5D%2C%22bayou%22%3A%5B%22byu%22%5D%2C%22chase%22%3A%5B%22chse%22%5D%2C%22circle%22%3A%5B%22cir%22%5D%2C%22circles%22%3A%5B%22cirs%22%5D%2C%22club%22%3A%5B%22clb%22%5D%2C%22cliff%22%3A%5B%22clf%22%5D%2C%22cliffs%22%3A%5B%22clfs%22%5D%2C%22common%22%3A%5B%22cmn%22%5D%2C%22commons%22%3A%5B%22cmns%22%5D%2C%22corner%22%3A%5B%22cor%22%5D%2C%22corners%22%3A%5B%22cors%22%5D%2C%22camp%22%3A%5B%22cp%22%5D%2C%22cape%22%3A%5B%22cpe%22%5D%2C%22crescent%22%3A%5B%22cres%22%5D%2C%22creek%22%3A%5B%22crk%22%5D%2C%22course%22%3A%5B%22crse%22%5D%2C%22crest%22%3A%5B%22crst%22%5D%2C%22causeway%22%3A%5B%22cswy%22%5D%2C%22court%22%3A%5B%22ct%22%5D%2C%22center%22%3A%5B%22ctr%22%5D%2C%22centers%22%3A%5B%22ctrs%22%5D%2C%22courts%22%3A%5B%22cts%22%5D%2C%22curve%22%3A%5B%22curv%22%5D%2C%22cove%22%3A%5B%22cv%22%5D%2C%22coves%22%3A%5B%22cvs%22%5D%2C%22canyon%22%3A%5B%22cyn%22%5D%2C%22department%22%3A%5B%22dept%22%5D%2C%22dale%22%3A%5B%22dl%22%5D%2C%22dam%22%3A%5B%22dm%22%5D%2C%22drive%22%3A%5B%22dr%22%5D%2C%22drives%22%3A%5B%22drs%22%5D%2C%22divide%22%3A%5B%22dv%22%5D%2C%22estate%22%3A%5B%22est%22%5D%2C%22estates%22%3A%5B%22ests%22%5D%2C%22expressway%22%3A%5B%22expy%22%5D%2C%22extension%22%3A%5B%22ext%22%5D%2C%22extensions%22%3A%5B%22exts%22%5D%2C%22floor%22%3A%5B%22fl%22%5D%2C%22field%22%3A%5B%22fld%22%5D%2C%22fields%22%3A%5B%22flds%22%5D%2C%22falls%22%3A%5B%22fls%22%5D%2C%22flat%22%3A%5B%22flt%22%5D%2C%22flats%22%3A%5B%22flts%22%5D%2C%22ford%22%3A%5B%22frd%22%5D%2C%22fords%22%3A%5B%22frds%22%5D%2C%22forge%22%3A%5B%22frg%22%5D%2C%22forges%22%3A%5B%22frgs%22%5D%2C%22fork%22%3A%5B%22frk%22%5D%2C%22forks%22%3A%5B%22frks%22%5D%2C%22front%22%3A%5B%22frnt%22%5D%2C%22forest%22%3A%5B%22frst%22%5D%2C%22ferry%22%3A%5B%22fry%22%5D%2C%22fort%22%3A%5B%22ft%22%5D%2C%22freeway%22%3A%5B%22fwy%22%5D%2C%22garden%22%3A%5B%22gdn%22%5D%2C%22gardens%22%3A%5B%22gdns%22%5D%2C%22glen%22%3A%5B%22gln%22%5D%2C%22glens%22%3A%5B%22glns%22%5D%2C%22green%22%3A%5B%22grn%22%5D%2C%22greens%22%3A%5B%22grns%22%5D%2C%22grove%22%3A%5B%22grv%22%5D%2C%22groves%22%3A%5B%22grvs%22%5D%2C%22gateway%22%3A%5B%22gtwy%22%5D%2C%22harbor%22%3A%5B%22hbr%22%5D%2C%22harbors%22%3A%5B%22hbrs%22%5D%2C%22hill%22%3A%5B%22hl%22%5D%2C%22hills%22%3A%5B%22hls%22%5D%2C%22hanger%22%3A%5B%22hngr%22%5D%2C%22hollow%22%3A%5B%22holw%22%5D%2C%22heights%22%3A%5B%22hts%22%5D%2C%22haven%22%3A%5B%22hvn%22%5D%2C%22highway%22%3A%5B%22hwy%22%5D%2C%22inlet%22%3A%5B%22inlt%22%5D%2C%22island%22%3A%5B%22is%22%5D%2C%22islands%22%3A%5B%22iss%22%5D%2C%22junction%22%3A%5B%22jct%22%5D%2C%22junctions%22%3A%5B%22jcts%22%5D%2C%22knoll%22%3A%5B%22knl%22%5D%2C%22knolls%22%3A%5B%22knls%22%5D%2C%22key%22%3A%5B%22ky%22%5D%2C%22keys%22%3A%5B%22kys%22%5D%2C%22lobby%22%3A%5B%22lbby%22%5D%2C%22lock%22%3A%5B%22lck%22%5D%2C%22locks%22%3A%5B%22lcks%22%5D%2C%22lodge%22%3A%5B%22ldg%22%5D%2C%22loaf%22%3A%5B%22lf%22%5D%2C%22light%22%3A%5B%22lgt%22%5D%2C%22lights%22%3A%5B%22lgts%22%5D%2C%22lake%22%3A%5B%22lk%22%5D%2C%22lakes%22%3A%5B%22lks%22%5D%2C%22lane%22%3A%5B%22ln%22%5D%2C%22landing%22%3A%5B%22lndg%22%5D%2C%22lower%22%3A%5B%22lowr%22%5D%2C%22meadow%22%3A%5B%22mdw%22%5D%2C%22meadows%22%3A%5B%22mdws%22%5D%2C%22mill%22%3A%5B%22ml%22%5D%2C%22mills%22%3A%5B%22mls%22%5D%2C%22manor%22%3A%5B%22mnr%22%5D%2C%22manors%22%3A%5B%22mnrs%22%5D%2C%22mission%22%3A%5B%22msn%22%5D%2C%22mount%22%3A%5B%22mt%22%5D%2C%22mountain%22%3A%5B%22mtn%22%5D%2C%22mountains%22%3A%5B%22mtns%22%5D%2C%22motorway%22%3A%5B%22mtwy%22%5D%2C%22neck%22%3A%5B%22nck%22%5D%2C%22office%22%3A%5B%22ofc%22%5D%2C%22overpass%22%3A%5B%22opas%22%5D%2C%22orchard%22%3A%5B%22orch%22%5D%2C%22overlook%22%3A%5B%22ovlk%22%5D%2C%22penthouse%22%3A%5B%22ph%22%5D%2C%22parkway%22%3A%5B%22pkwy%22%5D%2C%22place%22%3A%5B%22pl%22%5D%2C%22plain%22%3A%5B%22pln%22%5D%2C%22plains%22%3A%5B%22plns%22%5D%2C%22plaza%22%3A%5B%22plz%22%5D%2C%22pine%22%3A%5B%22pne%22%5D%2C%22pines%22%3A%5B%22pnes%22%5D%2C%22prairie%22%3A%5B%22pr%22%5D%2C%22port%22%3A%5B%22prt%22%5D%2C%22ports%22%3A%5B%22prts%22%5D%2C%22passage%22%3A%5B%22psge%22%5D%2C%22point%22%3A%5B%22pt%22%5D%2C%22pointe%22%3A%5B%22pte%22%5D%2C%22points%22%3A%5B%22pts%22%5D%2C%22radial%22%3A%5B%22radl%22%5D%2C%22road%22%3A%5B%22rd%22%5D%2C%22ridge%22%3A%5B%22rdg%22%5D%2C%22ridges%22%3A%5B%22rdgs%22%5D%2C%22roads%22%3A%5B%22rds%22%5D%2C%22river%22%3A%5B%22riv%22%5D%2C%22room%22%3A%5B%22rm%22%5D%2C%22ranch%22%3A%5B%22rnch%22%5D%2C%22rapid%22%3A%5B%22rpd%22%5D%2C%22rapids%22%3A%5B%22rpds%22%5D%2C%22rest%22%3A%5B%22rst%22%5D%2C%22route%22%3A%5B%22rte%22%5D%2C%22shoal%22%3A%5B%22shl%22%5D%2C%22shoals%22%3A%5B%22shls%22%5D%2C%22shore%22%3A%5B%22shr%22%5D%2C%22shores%22%3A%5B%22shrs%22%5D%2C%22skyway%22%3A%5B%22skwy%22%5D%2C%22summit%22%3A%5B%22smt%22%5D%2C%22space%22%3A%5B%22spc%22%5D%2C%22spring%22%3A%5B%22spg%22%5D%2C%22springs%22%3A%5B%22spgs%22%5D%2C%22square%22%3A%5B%22sq%22%5D%2C%22squares%22%3A%5B%22sqs%22%5D%2C%22street%22%3A%5B%22st%22%5D%2C%22station%22%3A%5B%22sta%22%5D%2C%22suite%22%3A%5B%22ste%22%5D%2C%22stravenue%22%3A%5B%22stra%22%5D%2C%22stream%22%3A%5B%22strm%22%5D%2C%22streets%22%3A%5B%22sts%22%5D%2C%22terrace%22%3A%5B%22ter%22%5D%2C%22turnpike%22%3A%5B%22tpke%22%5D%2C%22track%22%3A%5B%22trak%22%5D%2C%22trace%22%3A%5B%22trce%22%5D%2C%22trafficway%22%3A%5B%22trfy%22%5D%2C%22trail%22%3A%5B%22trl%22%5D%2C%22trailer%22%3A%5B%22trlr%22%5D%2C%22throughway%22%3A%5B%22trwy%22%5D%2C%22tunnel%22%3A%5B%22tunl%22%5D%2C%22union%22%3A%5B%22un%22%5D%2C%22unions%22%3A%5B%22uns%22%5D%2C%22underpass%22%3A%5B%22upas%22%5D%2C%22upper%22%3A%5B%22uppr%22%5D%2C%22viaduct%22%3A%5B%22via%22%5D%2C%22vista%22%3A%5B%22vis%22%5D%2C%22ville%22%3A%5B%22vl%22%5D%2C%22village%22%3A%5B%22vlg%22%5D%2C%22villages%22%3A%5B%22vlgs%22%5D%2C%22valley%22%3A%5B%22vly%22%5D%2C%22valleys%22%3A%5B%22vlys%22%5D%2C%22view%22%3A%5B%22vw%22%5D%2C%22views%22%3A%5B%22vws%22%5D%2C%22wharf%22%3A%5B%22whf%22%5D%2C%22well%22%3A%5B%22wl%22%5D%2C%22wells%22%3A%5B%22wls%22%5D%2C%22crossing%22%3A%5B%22xing%22%5D%2C%22crossroad%22%3A%5B%22xrd%22%5D%2C%22crossroads%22%3A%5B%22xrds%22%5D%7D%7D&Timestamp=2013-09-13T22%3A22%3A19%2B00%3A00&SignatureVersion=2&SignatureMethod=HmacSHA256&AWSAccessKeyId=***&Signature=***
# Response:
HTTP/1.1 505 HTTP Version Not Supported
Date: Fri, 13 Sep 2013 22:22:27 GMT
Connection: close
# Errors: 0
Thanks for the verbose output. I'll forward this information along to the Amazon CloudSearch team to help me investigate.
(p.s. I removed your AccessKeyId and computed signatures from the issue).
Thanks! I already invalidated those keys, though.
Does this issue still occur if you use the master branch of the SDK? I've been told that this problem can sometimes occur when using signature v2. I've updated the SDK to now use signature version 4 with Amazon CloudSearch, so I think this should no longer be an issue after upgrading.
I tried today with dev-master a705110. I see the new Authorization: AWS4-HMAC-SHA256 header, but still receive the same HTTP 505 error.
Thanks for letting us know. I'll talk more with the Amazon CloudSearch team to see what's going on.
Its working today with 2.4.6, so the server guys must have fixed something on their side. Thanks for looking into this for me!
@banasiak are you still having issues as well?
Oh, sorry. Yes, that is my other account. It seemed to be working fine this morning. I was able to set the previously mentioned synonyms on my domain. However, running the same script this afternoon results in the same HTTP 505 error as before. I think its safe to say this isn't an SDK problem. Can you pass this along to the back-end team, or do you recommend I contact them in some other way? Thanks again for your help.
Thanks for the clarification. From an SDK point of view, this isn't an issue with the client. I've spoken with the Amazon CloudSearch team, and they would prefer it if you posted to their forum with a timestamp of when you sent the request using signature version 4 that received the 505 error.
I am calling updateSynonymOptions as follows:
When calling updateSynonymOptions with this JSON encoded dictionary, the service returns a HTTP 505 response.
Request:
Response:
The dictionary is less than the 100KB maximum specified by the Cloud Search documentation and seems to work with shorter JSON strings. Am I doing this correctly? Does anyone have any suggestions? Thanks in advance!