diff options
author | Loïc Hoguin <[email protected]> | 2016-08-29 12:39:49 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2016-08-29 12:40:03 +0200 |
commit | c807880f7ac73f813b2660ea81a00f7712a4e793 (patch) | |
tree | ba1d09e9b177f230665a80513b33fbd532000ce4 /_build/static/archives/extend/2013-April/000120.html | |
parent | b1df25a7d9cda697513650659b781b55b40898f8 (diff) | |
download | ninenines.eu-c807880f7ac73f813b2660ea81a00f7712a4e793.tar.gz ninenines.eu-c807880f7ac73f813b2660ea81a00f7712a4e793.tar.bz2 ninenines.eu-c807880f7ac73f813b2660ea81a00f7712a4e793.zip |
Add old mailing list archives
Diffstat (limited to '_build/static/archives/extend/2013-April/000120.html')
-rw-r--r-- | _build/static/archives/extend/2013-April/000120.html | 229 |
1 files changed, 229 insertions, 0 deletions
diff --git a/_build/static/archives/extend/2013-April/000120.html b/_build/static/archives/extend/2013-April/000120.html new file mode 100644 index 00000000..1c18db93 --- /dev/null +++ b/_build/static/archives/extend/2013-April/000120.html @@ -0,0 +1,229 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] 505 error + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20505%20error&In-Reply-To=%3C51758D4B.1020501%40ninenines.eu%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <style type="text/css"> + pre { + white-space: pre-wrap; /* css-2.1, curent FF, Opera, Safari */ + } + </style> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="000119.html"> + <LINK REL="Next" HREF="000121.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] 505 error</H1> + <B>Loïc Hoguin</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20505%20error&In-Reply-To=%3C51758D4B.1020501%40ninenines.eu%3E" + TITLE="[99s-extend] 505 error">essen at ninenines.eu + </A><BR> + <I>Mon Apr 22 21:19:39 CEST 2013</I> + <P><UL> + <LI>Previous message: <A HREF="000119.html">[99s-extend] 505 error +</A></li> + <LI>Next message: <A HREF="000121.html">[99s-extend] does cowboy support hot code reload/replace ? +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#120">[ date ]</a> + <a href="thread.html#120">[ thread ]</a> + <a href="subject.html#120">[ subject ]</a> + <a href="author.html#120">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>I'm going to need the exact request line to make sense of it. +Something's missing in the parser I think, not sure what in your case +though. Feel free to private email it. + +On 04/22/2013 08:30 PM, Lee Sylvester wrote: +><i> Does this help? +</I>><i> +</I>><i> Request URL:<A HREF="http://www.example.com">http://www.example.com</A> +</I>><i> Request Method:OPTIONS +</I>><i> Status Code:505 HTTP Version Not Supported +</I>><i> +</I>><i> Request Headersview parsed +</I>><i> OPTIONS <A HREF="http://www.example.com">http://www.example.com</A> HTTP/1.1 +</I>><i> Host: www.example.com +</I>><i> Proxy-Connection: keep-alive +</I>><i> Access-Control-Request-Method: POST +</I>><i> Origin: <A HREF="http://localhost">http://localhost</A> +</I>><i> User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.64 Safari/537.31 +</I>><i> Access-Control-Request-Headers: origin, method, content-type +</I>><i> Accept: */* +</I>><i> Referer: <A HREF="http://localhost/p/">http://localhost/p/</A> +</I>><i> Accept-Encoding: gzip,deflate,sdch +</I>><i> Accept-Language: en-US,en;q=0.8 +</I>><i> Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3 +</I>><i> +</I>><i> Response Headersview parsed +</I>><i> HTTP/1.1 505 HTTP Version Not Supported +</I>><i> connection: close +</I>><i> server: Cowboy +</I>><i> date: Mon, 22 Apr 2013 17:42:39 GMT +</I>><i> content-length: 0 +</I>><i> +</I>><i> Thanks, +</I>><i> Lee +</I>><i> +</I>><i> +</I>><i> On 22 Apr 2013, at 16:55, "Brown, Kevin" <<A HREF="https://lists.ninenines.eu/listinfo/extend">Kevin.Brown at turner.com</A>> wrote: +</I>><i> +</I>>><i> You might see if "view source" (rather than the parsed view you sent) +</I>>><i> yields any clues. You'd like to see HTTP version being sent. +</I>>><i> +</I>>><i> +</I>>><i> On 4/22/13 10:40 AM, "Lee Sylvester" <<A HREF="https://lists.ninenines.eu/listinfo/extend">lee.sylvester at gmail.com</A>> wrote: +</I>>><i> +</I>>>><i> Well, the below is the sent and return headers on the failing machine. +</I>>>><i> On a succeeding machine, the headers are +</I>>>><i> +</I>>>><i> Request URL:<A HREF="http://www.example.com">http://www.example.com</A> +</I>>>><i> Request Method:OPTIONS +</I>>>><i> Status Code:200 OK +</I>>>><i> +</I>>>><i> Request Headersview source +</I>>>><i> Accept:*/* +</I>>>><i> Accept-Charset:ISO-8859-1,utf-8;q=0.7,*;q=0.3 +</I>>>><i> Accept-Encoding:gzip,deflate,sdch +</I>>>><i> Accept-Language:en-US,en;q=0.8 +</I>>>><i> Access-Control-Request-Headers:origin, method, content-type +</I>>>><i> Access-Control-Request-Method:POST +</I>>>><i> Connection:keep-alive +</I>>>><i> Host:www.example.com +</I>>>><i> Origin:<A HREF="http://www.test.com">http://www.test.com</A> +</I>>>><i> Referer:<A HREF="http://www.test.com/">http://www.test.com/</A> +</I>>>><i> User-Agent:Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_3) +</I>>>><i> AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.65 Safari/537.31 +</I>>>><i> +</I>>>><i> Response Headersview source +</I>>>><i> Access-Control-Allow-Headers:Content-Type, X-Requested-With, Origin, +</I>>>><i> Method +</I>>>><i> Access-Control-Allow-Methods:GET, POST, OPTIONS +</I>>>><i> Access-Control-Allow-Origin:* +</I>>>><i> connection:keep-alive +</I>>>><i> content-length:68 +</I>>>><i> date:Mon, 22 Apr 2013 14:33:30 GMT +</I>>>><i> server:Cowboy +</I>>>><i> +</I>>>><i> As you can see, the header control and content isn't being sent back and +</I>>>><i> the connection is closed. +</I>>>><i> +</I>>>><i> Thanks, +</I>>>><i> Lee +</I>>>><i> +</I>>>><i> +</I>>>><i> +</I>>>><i> +</I>>>><i> On 22 Apr 2013, at 15:28, "Brown, Kevin" <<A HREF="https://lists.ninenines.eu/listinfo/extend">Kevin.Brown at turner.com</A>> wrote: +</I>>>><i> +</I>>>>><i> What is the exact http request sent on the failing and successful +</I>>>>><i> machines? How do the differ? +</I>>>>><i> +</I>>>>><i> Stack trace? +</I>>>>><i> +</I>>>>><i> On Apr 22, 2013, at 9:00 AM, "Lee Sylvester" <<A HREF="https://lists.ninenines.eu/listinfo/extend">lee.sylvester at gmail.com</A>> +</I>>>>><i> wrote: +</I>>>>><i> +</I>>>>>><i> Hi guys, +</I>>>>>><i> +</I>>>>>><i> So, I was getting a CORS issue when connecting to my Bullet impl, +</I>>>>>><i> which I have since fixed. I am now able to use these from many +</I>>>>>><i> machines from many locations. However, I have found some machines to +</I>>>>>><i> be getting a 505 error when making a POST request to the Cowboy +</I>>>>>><i> instance: +</I>>>>>><i> +</I>>>>>><i> Request URL:<A HREF="http://www.example.com">http://www.example.com</A> +</I>>>>>><i> Request Method:OPTIONS +</I>>>>>><i> Status Code:505 HTTP Version Not Supported +</I>>>>>><i> +</I>>>>>><i> Request Headersview source +</I>>>>>><i> Accept:*/* +</I>>>>>><i> Accept-Charset:ISO-8859-1,utf-8;q=0.7,*;q=0.3 +</I>>>>>><i> Accept-Encoding:gzip,deflate,sdch +</I>>>>>><i> Accept-Language:en-US,en;q=0.8 +</I>>>>>><i> Access-Control-Request-Headers:origin, method, content-type +</I>>>>>><i> Access-Control-Request-Method:POST +</I>>>>>><i> Connection:keep-alive +</I>>>>>><i> Host:www.example.com +</I>>>>>><i> Origin:<A HREF="http://www.test.com">http://www.test.com</A> +</I>>>>>><i> Referer:<A HREF="http://www.test.com/">http://www.test.com/</A> +</I>>>>>><i> User-Agent:Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.31 +</I>>>>>><i> (KHTML, like Gecko) Chrome/26.0.1410.64 Safari/537.31 +</I>>>>>><i> +</I>>>>>><i> Response Headersview source +</I>>>>>><i> connection:close +</I>>>>>><i> content-length:0 +</I>>>>>><i> date:Mon, 22 Apr 2013 12:22:50 GMT +</I>>>>>><i> server:Cowboy +</I>>>>>><i> +</I>>>>>><i> To get around the CORS issue, I set up an onrequest hook, which points +</I>>>>>><i> to the function: +</I>>>>>><i> +</I>>>>>><i> set_request_cors(Req) -> +</I>>>>>><i> Req2 = +</I>>>>>><i> cowboy_req:set_resp_header(<<"Access-Control-Allow-Methods">>, <<"GET, +</I>>>>>><i> POST, OPTIONS">>, Req), +</I>>>>>><i> Req3 = +</I>>>>>><i> cowboy_req:set_resp_header(<<"Access-Control-Allow-Headers">>, +</I>>>>>><i> <<"Content-Type, X-Requested-With, Origin, Method">>, Req2), +</I>>>>>><i> cowboy_req:set_resp_header(<<"Access-Control-Allow-Origin">>, +</I>>>>>><i> <<"*">>, Req3). +</I>>>>>><i> +</I>>>>>><i> I'm afraid I don't have any more info, but this issue is completely +</I>>>>>><i> eluding me. +</I>>>>>><i> +</I>>>>>><i> Thanks, +</I>>>>>><i> Lee +</I>>>>>><i> +</I>>>>>><i> _______________________________________________ +</I>>>>>><i> Extend mailing list +</I>>>>>><i> <A HREF="https://lists.ninenines.eu/listinfo/extend">Extend at lists.ninenines.eu</A> +</I>>>>>><i> <A HREF="http://lists.ninenines.eu:81/listinfo/extend">http://lists.ninenines.eu:81/listinfo/extend</A> +</I>>>>>><i> +</I>>>>><i> +</I>>>><i> +</I>>>><i> +</I>>><i> +</I>>><i> +</I>><i> +</I>><i> _______________________________________________ +</I>><i> Extend mailing list +</I>><i> <A HREF="https://lists.ninenines.eu/listinfo/extend">Extend at lists.ninenines.eu</A> +</I>><i> <A HREF="http://lists.ninenines.eu:81/listinfo/extend">http://lists.ninenines.eu:81/listinfo/extend</A> +</I>><i> +</I> + +-- +Loïc Hoguin +Erlang Cowboy +Nine Nines +<A HREF="http://ninenines.eu">http://ninenines.eu</A> + +</PRE> + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000119.html">[99s-extend] 505 error +</A></li> + <LI>Next message: <A HREF="000121.html">[99s-extend] does cowboy support hot code reload/replace ? +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#120">[ date ]</a> + <a href="thread.html#120">[ thread ]</a> + <a href="subject.html#120">[ subject ]</a> + <a href="author.html#120">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://lists.ninenines.eu/listinfo/extend">More information about the Extend +mailing list</a><br> +</body></html> |