diff options
Diffstat (limited to '_build/static/archives/extend/2015-June')
19 files changed, 3221 insertions, 0 deletions
diff --git a/_build/static/archives/extend/2015-June/000531.html b/_build/static/archives/extend/2015-June/000531.html new file mode 100644 index 00000000..fc648f2d --- /dev/null +++ b/_build/static/archives/extend/2015-June/000531.html @@ -0,0 +1,92 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] [ANN] The Erlanger Playbook early release + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20%5BANN%5D%20The%20Erlanger%20Playbook%20early%20release&In-Reply-To=%3C55841D62.1070400%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="Next" HREF="000532.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] [ANN] The Erlanger Playbook early release</H1> + <B>Loïc Hoguin</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20%5BANN%5D%20The%20Erlanger%20Playbook%20early%20release&In-Reply-To=%3C55841D62.1070400%40ninenines.eu%3E" + TITLE="[99s-extend] [ANN] The Erlanger Playbook early release">essen at ninenines.eu + </A><BR> + <I>Fri Jun 19 15:47:14 CEST 2015</I> + <P><UL> + + <LI>Next message: <A HREF="000532.html">[99s-extend] Help to use frameset in index.html +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#531">[ date ]</a> + <a href="thread.html#531">[ thread ]</a> + <a href="subject.html#531">[ subject ]</a> + <a href="author.html#531">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>Hello, + +I hope it's OK for me to announce on erlang-questions: The Erlanger +Playbook, a book about software development using Erlang, has been +*early* released! + +The book is meant to be the missing developer manual. It covers all +steps from the start of a project to its release including writing code, +documentation and tests. + +There are books for learning Erlang, for running Erlang in production, +but not much for modern Erlang development. This is where The Erlanger +Playbook comes in. + +This is an early release. An update will be sent to everyone about every +month or so. I plan to cover anything that relates to the development of +Erlang software, ie the "dev" in "devops". Many tools and techniques +will be covered in future updates. + +We will do a print book if there is enough interest once the book gets +finished, but we're a few months off for now. :-) + +You can get more information here: + + <A HREF="http://ninenines.eu/articles/erlanger-playbook/">http://ninenines.eu/articles/erlanger-playbook/</A> + +Thanks for your interest! + +-- +Loïc Hoguin +<A HREF="http://ninenines.eu">http://ninenines.eu</A> +Author of The Erlanger Playbook, +A book about software development using Erlang +</PRE> + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + + <LI>Next message: <A HREF="000532.html">[99s-extend] Help to use frameset in index.html +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#531">[ date ]</a> + <a href="thread.html#531">[ thread ]</a> + <a href="subject.html#531">[ subject ]</a> + <a href="author.html#531">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://lists.ninenines.eu/listinfo/extend">More information about the Extend +mailing list</a><br> +</body></html> diff --git a/_build/static/archives/extend/2015-June/000532.html b/_build/static/archives/extend/2015-June/000532.html new file mode 100644 index 00000000..c1578254 --- /dev/null +++ b/_build/static/archives/extend/2015-June/000532.html @@ -0,0 +1,193 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] Help to use frameset in index.html + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Help%20to%20use%20frameset%20in%20index.html&In-Reply-To=%3CCAA4OwwXgav5U-uXnHqfQ6LkPyeMBuo_3Rw68ORh4NMVHN2_uxA%40mail.gmail.com%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="000531.html"> + <LINK REL="Next" HREF="000533.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] Help to use frameset in index.html</H1> + <B>Robert Balogh</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Help%20to%20use%20frameset%20in%20index.html&In-Reply-To=%3CCAA4OwwXgav5U-uXnHqfQ6LkPyeMBuo_3Rw68ORh4NMVHN2_uxA%40mail.gmail.com%3E" + TITLE="[99s-extend] Help to use frameset in index.html">ethrbh at gmail.com + </A><BR> + <I>Tue Jun 23 10:28:16 CEST 2015</I> + <P><UL> + <LI>Previous message: <A HREF="000531.html">[99s-extend] [ANN] The Erlanger Playbook early release +</A></li> + <LI>Next message: <A HREF="000533.html">[99s-extend] Help to use frameset in index.html +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#532">[ date ]</a> + <a href="thread.html#532">[ thread ]</a> + <a href="subject.html#532">[ subject ]</a> + <a href="author.html#532">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>hello, + +First of all I would say I am a beginner in Cowboy web server, so probably +I made something wrong, that is why I got the "fault", what I got. + +I would like to build up web page, where the client can communicate to +server, and server can do the same to client, if client does not send +anything to server too. The Cowboy has the websocket example, what does +what I would like to do. + +There is only one thing is missing what I would like to have. This is the +"frameset". My idea is to build the index.html using framsets. I made this +changes, and I build up the html files for the frames, and of course I set +these in the index.html. + +Here is how the index.html looks like + <html> + + <head> + <title>Welcome to Websocket example 2</title> + </head> + + <frameset rows="64,*"> + <frame name="top_frame" noresize="noresize" scrolling="no" +src="frame_top.html"> + <frameset cols="450,*"> + <frame name="left_frame" scrolling="auto" src="frame_left.html"> + <frame name="right_frame" src="frame_right.html"> + </frameset> + <noframes> + <body> + + </body> + </noframes> + </frameset> + + </html> + +This is how the priv folder looks like +----------------------------------------------------------- + ls priv/ + frame_left.html frame_right.html frame_top.html index.html static + +This is how I changed the websocket_2_app:start/2 function +----------------------------------------------------------- + Dispatch = cowboy_router:compile([ + {'_', [ + + {"/", cowboy_static, {priv_file, websocket_2, "index.html"}}, + {"/[...]", cowboy_static, {priv_dir, websocket_2, ""}}, + + {"/websocket_2", ws_handler_2, []}, + {"/static/[...]", cowboy_static, {priv_dir, websocket_2, +"static"}} + ]} + ]), + +After compile and make release package of the app, I can reach the +webserver on the port 8080, but some connection does not set up correctly. +The following texts are present in the browser + DISCONNECTED + + ERROR: undefined + + Connecting to: <A HREF="ws://localhost:8080/websocket_2">ws://localhost:8080/websocket_2</A> + +I made a dbg trace on all cowboy modules, to start some kind of +troubleshooting. In the "tons" of printout I can see this one. So in the +bottom of this, there is an {error,enoent}. It comes when tries connect to +the socket. But unfortunatelly I do not have idea what may cause this :-( + +The part of trace +----------------------------------------------------------- + (<0.177.0>) call +cowboy_rest:next({http_req,#Port<0.646>,ranch_tcp,keepalive,<0.177.0>,<<"GET">>,'HTTP/1.1', + {{127,0,0,1},33241}, + <<"localhost">>,undefined,8080,<<"/websocket_2">>, + [<<"websocket_2">>], + <<>>,undefined,[], + [{<<"host">>,<<"localhost:8080">>}, + {<<"connection">>,<<"Upgrade">>}, + {<<"pragma">>,<<"no-cache">>}, + {<<"cache-control">>,<<"no-cache">>}, + {<<"upgrade">>,<<"websocket">>}, + {<<"origin">>,<<"<A HREF="http://localhost:8080">http://localhost:8080</A>">>}, + {<<"sec-websocket-version">>,<<"13">>}, + {<<"user-agent">>, + <<"Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.36 (KHTML, +like Gecko) Chrome/40.0.2214.115 Safari/537.36">>}, + {<<"accept-encoding">>,<<"gzip, deflate, sdch">>}, + {<<"accept-language">>,<<"en-US,en;q=0.8">>}, + {<<"sec-websocket-key">>,<<"by/gwaQvb/51W7Wa9zrGQg==">>}, + {<<"sec-websocket-extensions">>, + <<"permessage-deflate; client_max_window_bits">>}], + [{<<"connection">>,[<<"upgrade">>]}], + +undefined,[],waiting,<<>>,undefined,false,waiting,[],<<>>,undefined},{state,[{handler,cowboy_static}, + {handler_opts,{priv_dir,websocket_2,[]}}, + {listener,http}, + {dispatch,[{'_',[], + [{[],[],cowboy_static, + {priv_file,websocket_2,"index.html"}}, + + {['...'],[],cowboy_static,{priv_dir,websocket_2,[]}}, + {[<<"websocket_2">>],[],ws_handler_2,[]}, + {[<<"static">>,'...'], + [],cowboy_static, + {priv_dir,websocket_2,"static"}}]}]}], + <<"GET">>,cowboy_static, + +{<<"/home/ethrbh/projects/github/websocket_2/_rel/websocket_2/lib/websocket_2-1/priv/websocket_2">>, + {error,enoent}, + []}, + undefined,[],undefined,[],undefined,[],undefined,false,undefined, + undefined,undefined},#Fun<cowboy_rest.2.41839999>) (Timestamp: +{1435, + +46126, + +935663}) + +I guess, I did something very wrong, but I did not found what is that, thus +I would like to get some help from you. + +Please find my small project in github: +<A HREF="https://github.com/ethrbh/websocket_2">https://github.com/ethrbh/websocket_2</A> + +thanks for your help, +/Robi +-------------- next part -------------- +An HTML attachment was scrubbed... +URL: <<A HREF="http://lists.ninenines.eu/archives/extend/attachments/20150623/69dfc8e4/attachment-0001.html">http://lists.ninenines.eu/archives/extend/attachments/20150623/69dfc8e4/attachment-0001.html</A>> +</PRE> + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000531.html">[99s-extend] [ANN] The Erlanger Playbook early release +</A></li> + <LI>Next message: <A HREF="000533.html">[99s-extend] Help to use frameset in index.html +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#532">[ date ]</a> + <a href="thread.html#532">[ thread ]</a> + <a href="subject.html#532">[ subject ]</a> + <a href="author.html#532">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://lists.ninenines.eu/listinfo/extend">More information about the Extend +mailing list</a><br> +</body></html> diff --git a/_build/static/archives/extend/2015-June/000533.html b/_build/static/archives/extend/2015-June/000533.html new file mode 100644 index 00000000..5b1a7df9 --- /dev/null +++ b/_build/static/archives/extend/2015-June/000533.html @@ -0,0 +1,213 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] Help to use frameset in index.html + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Help%20to%20use%20frameset%20in%20index.html&In-Reply-To=%3C55891F22.5050405%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="000532.html"> + <LINK REL="Next" HREF="000534.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] Help to use frameset in index.html</H1> + <B>Loïc Hoguin</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Help%20to%20use%20frameset%20in%20index.html&In-Reply-To=%3C55891F22.5050405%40ninenines.eu%3E" + TITLE="[99s-extend] Help to use frameset in index.html">essen at ninenines.eu + </A><BR> + <I>Tue Jun 23 10:56:02 CEST 2015</I> + <P><UL> + <LI>Previous message: <A HREF="000532.html">[99s-extend] Help to use frameset in index.html +</A></li> + <LI>Next message: <A HREF="000534.html">[99s-extend] Help to use frameset in index.html +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#533">[ date ]</a> + <a href="thread.html#533">[ thread ]</a> + <a href="subject.html#533">[ subject ]</a> + <a href="author.html#533">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>The {error, enoent}, especially there, is probably just because the +browser is trying to fetch the favicon. + +Your issue is that Websocket won't connect, so it has nothing to do with +cowboy_rest. Try tracing cowboy_websocket or enable SASL to have more info. + +On 06/23/2015 10:28 AM, Robert Balogh wrote: +><i> hello, +</I>><i> +</I>><i> First of all I would say I am a beginner in Cowboy web server, so +</I>><i> probably I made something wrong, that is why I got the "fault", what I got. +</I>><i> +</I>><i> I would like to build up web page, where the client can communicate to +</I>><i> server, and server can do the same to client, if client does not send +</I>><i> anything to server too. The Cowboy has the websocket example, what does +</I>><i> what I would like to do. +</I>><i> +</I>><i> There is only one thing is missing what I would like to have. This is +</I>><i> the "frameset". My idea is to build the index.html using framsets. I +</I>><i> made this changes, and I build up the html files for the frames, and of +</I>><i> course I set these in the index.html. +</I>><i> +</I>><i> Here is how the index.html looks like +</I>><i> <html> +</I>><i> +</I>><i> <head> +</I>><i> <title>Welcome to Websocket example 2</title> +</I>><i> </head> +</I>><i> +</I>><i> <frameset rows="64,*"> +</I>><i> <frame name="top_frame" noresize="noresize" scrolling="no" +</I>><i> src="frame_top.html"> +</I>><i> <frameset cols="450,*"> +</I>><i> <frame name="left_frame" scrolling="auto" +</I>><i> src="frame_left.html"> +</I>><i> <frame name="right_frame" src="frame_right.html"> +</I>><i> </frameset> +</I>><i> <noframes> +</I>><i> <body> +</I>><i> +</I>><i> </body> +</I>><i> </noframes> +</I>><i> </frameset> +</I>><i> +</I>><i> </html> +</I>><i> +</I>><i> This is how the priv folder looks like +</I>><i> ----------------------------------------------------------- +</I>><i> ls priv/ +</I>><i> frame_left.html frame_right.html frame_top.html index.html static +</I>><i> +</I>><i> This is how I changed the websocket_2_app:start/2 function +</I>><i> ----------------------------------------------------------- +</I>><i> Dispatch = cowboy_router:compile([ +</I>><i> {'_', [ +</I>><i> +</I>><i> {"/", cowboy_static, {priv_file, websocket_2, "index.html"}}, +</I>><i> {"/[...]", cowboy_static, {priv_dir, websocket_2, ""}}, +</I>><i> +</I>><i> {"/websocket_2", ws_handler_2, []}, +</I>><i> {"/static/[...]", cowboy_static, {priv_dir, websocket_2, +</I>><i> "static"}} +</I>><i> ]} +</I>><i> ]), +</I>><i> +</I>><i> After compile and make release package of the app, I can reach the +</I>><i> webserver on the port 8080, but some connection does not set up +</I>><i> correctly. The following texts are present in the browser +</I>><i> DISCONNECTED +</I>><i> +</I>><i> ERROR: undefined +</I>><i> +</I>><i> Connecting to: <A HREF="ws://localhost:8080/websocket_2">ws://localhost:8080/websocket_2</A> +</I>><i> +</I>><i> I made a dbg trace on all cowboy modules, to start some kind of +</I>><i> troubleshooting. In the "tons" of printout I can see this one. So in the +</I>><i> bottom of this, there is an {error,enoent}. It comes when tries connect +</I>><i> to the socket. But unfortunatelly I do not have idea what may cause this :-( +</I>><i> +</I>><i> The part of trace +</I>><i> ----------------------------------------------------------- +</I>><i> (<0.177.0>) call +</I>><i> cowboy_rest:next({http_req,#Port<0.646>,ranch_tcp,keepalive,<0.177.0>,<<"GET">>,'HTTP/1.1', +</I>><i> {{127,0,0,1},33241}, +</I>><i> <<"localhost">>,undefined,8080,<<"/websocket_2">>, +</I>><i> [<<"websocket_2">>], +</I>><i> <<>>,undefined,[], +</I>><i> [{<<"host">>,<<"localhost:8080">>}, +</I>><i> {<<"connection">>,<<"Upgrade">>}, +</I>><i> {<<"pragma">>,<<"no-cache">>}, +</I>><i> {<<"cache-control">>,<<"no-cache">>}, +</I>><i> {<<"upgrade">>,<<"websocket">>}, +</I>><i> {<<"origin">>,<<"<A HREF="http://localhost:8080">http://localhost:8080</A>">>}, +</I>><i> {<<"sec-websocket-version">>,<<"13">>}, +</I>><i> {<<"user-agent">>, +</I>><i> <<"Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.36 +</I>><i> (KHTML, like Gecko) Chrome/40.0.2214.115 Safari/537.36">>}, +</I>><i> {<<"accept-encoding">>,<<"gzip, deflate, sdch">>}, +</I>><i> {<<"accept-language">>,<<"en-US,en;q=0.8">>}, +</I>><i> {<<"sec-websocket-key">>,<<"by/gwaQvb/51W7Wa9zrGQg==">>}, +</I>><i> {<<"sec-websocket-extensions">>, +</I>><i> <<"permessage-deflate; client_max_window_bits">>}], +</I>><i> [{<<"connection">>,[<<"upgrade">>]}], +</I>><i> +</I>><i> undefined,[],waiting,<<>>,undefined,false,waiting,[],<<>>,undefined},{state,[{handler,cowboy_static}, +</I>><i> {handler_opts,{priv_dir,websocket_2,[]}}, +</I>><i> {listener,http}, +</I>><i> {dispatch,[{'_',[], +</I>><i> [{[],[],cowboy_static, +</I>><i> {priv_file,websocket_2,"index.html"}}, +</I>><i> +</I>><i> {['...'],[],cowboy_static,{priv_dir,websocket_2,[]}}, +</I>><i> {[<<"websocket_2">>],[],ws_handler_2,[]}, +</I>><i> {[<<"static">>,'...'], +</I>><i> [],cowboy_static, +</I>><i> {priv_dir,websocket_2,"static"}}]}]}], +</I>><i> <<"GET">>,cowboy_static, +</I>><i> +</I>><i> {<<"/home/ethrbh/projects/github/websocket_2/_rel/websocket_2/lib/websocket_2-1/priv/websocket_2">>, +</I>><i> {error,enoent}, +</I>><i> []}, +</I>><i> +</I>><i> undefined,[],undefined,[],undefined,[],undefined,false,undefined, +</I>><i> undefined,undefined},#Fun<cowboy_rest.2.41839999>) +</I>><i> (Timestamp: {1435, +</I>><i> +</I>><i> 46126, +</I>><i> +</I>><i> 935663}) +</I>><i> +</I>><i> I guess, I did something very wrong, but I did not found what is that, +</I>><i> thus I would like to get some help from you. +</I>><i> +</I>><i> Please find my small project in github: +</I>><i> <A HREF="https://github.com/ethrbh/websocket_2">https://github.com/ethrbh/websocket_2</A> +</I>><i> +</I>><i> thanks for your help, +</I>><i> /Robi +</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="https://lists.ninenines.eu/listinfo/extend">https://lists.ninenines.eu/listinfo/extend</A> +</I>><i> +</I> +-- +Loïc Hoguin +<A HREF="http://ninenines.eu">http://ninenines.eu</A> +Author of The Erlanger Playbook, +A book about software development using Erlang +</PRE> + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000532.html">[99s-extend] Help to use frameset in index.html +</A></li> + <LI>Next message: <A HREF="000534.html">[99s-extend] Help to use frameset in index.html +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#533">[ date ]</a> + <a href="thread.html#533">[ thread ]</a> + <a href="subject.html#533">[ subject ]</a> + <a href="author.html#533">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://lists.ninenines.eu/listinfo/extend">More information about the Extend +mailing list</a><br> +</body></html> diff --git a/_build/static/archives/extend/2015-June/000534.html b/_build/static/archives/extend/2015-June/000534.html new file mode 100644 index 00000000..3d353348 --- /dev/null +++ b/_build/static/archives/extend/2015-June/000534.html @@ -0,0 +1,234 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] Help to use frameset in index.html + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Help%20to%20use%20frameset%20in%20index.html&In-Reply-To=%3CCAABECY1tDoHdPDEwJXk%3DW4ur-Fieigjxg7eSv21jVq%3Du50Czzw%40mail.gmail.com%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="000533.html"> + <LINK REL="Next" HREF="000535.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] Help to use frameset in index.html</H1> + <B>Graham Hay</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Help%20to%20use%20frameset%20in%20index.html&In-Reply-To=%3CCAABECY1tDoHdPDEwJXk%3DW4ur-Fieigjxg7eSv21jVq%3Du50Czzw%40mail.gmail.com%3E" + TITLE="[99s-extend] Help to use frameset in index.html">grahamrhay at gmail.com + </A><BR> + <I>Tue Jun 23 11:06:35 CEST 2015</I> + <P><UL> + <LI>Previous message: <A HREF="000533.html">[99s-extend] Help to use frameset in index.html +</A></li> + <LI>Next message: <A HREF="000535.html">[99s-extend] Help to use frameset in index.html +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#534">[ date ]</a> + <a href="thread.html#534">[ thread ]</a> + <a href="subject.html#534">[ subject ]</a> + <a href="author.html#534">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>I think the order of your routes is the problem, try putting this line +<<A HREF="https://github.com/ethrbh/websocket_2/blob/master/src/websocket_2_app.erl#L17">https://github.com/ethrbh/websocket_2/blob/master/src/websocket_2_app.erl#L17</A>> +last. + +On 23 June 2015 at 09:56, Loïc Hoguin <<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A>> wrote: + +><i> The {error, enoent}, especially there, is probably just because the +</I>><i> browser is trying to fetch the favicon. +</I>><i> +</I>><i> Your issue is that Websocket won't connect, so it has nothing to do with +</I>><i> cowboy_rest. Try tracing cowboy_websocket or enable SASL to have more info. +</I>><i> +</I>><i> +</I>><i> On 06/23/2015 10:28 AM, Robert Balogh wrote: +</I>><i> +</I>>><i> hello, +</I>>><i> +</I>>><i> First of all I would say I am a beginner in Cowboy web server, so +</I>>><i> probably I made something wrong, that is why I got the "fault", what I +</I>>><i> got. +</I>>><i> +</I>>><i> I would like to build up web page, where the client can communicate to +</I>>><i> server, and server can do the same to client, if client does not send +</I>>><i> anything to server too. The Cowboy has the websocket example, what does +</I>>><i> what I would like to do. +</I>>><i> +</I>>><i> There is only one thing is missing what I would like to have. This is +</I>>><i> the "frameset". My idea is to build the index.html using framsets. I +</I>>><i> made this changes, and I build up the html files for the frames, and of +</I>>><i> course I set these in the index.html. +</I>>><i> +</I>>><i> Here is how the index.html looks like +</I>>><i> <html> +</I>>><i> +</I>>><i> <head> +</I>>><i> <title>Welcome to Websocket example 2</title> +</I>>><i> </head> +</I>>><i> +</I>>><i> <frameset rows="64,*"> +</I>>><i> <frame name="top_frame" noresize="noresize" scrolling="no" +</I>>><i> src="frame_top.html"> +</I>>><i> <frameset cols="450,*"> +</I>>><i> <frame name="left_frame" scrolling="auto" +</I>>><i> src="frame_left.html"> +</I>>><i> <frame name="right_frame" src="frame_right.html"> +</I>>><i> </frameset> +</I>>><i> <noframes> +</I>>><i> <body> +</I>>><i> +</I>>><i> </body> +</I>>><i> </noframes> +</I>>><i> </frameset> +</I>>><i> +</I>>><i> </html> +</I>>><i> +</I>>><i> This is how the priv folder looks like +</I>>><i> ----------------------------------------------------------- +</I>>><i> ls priv/ +</I>>><i> frame_left.html frame_right.html frame_top.html index.html static +</I>>><i> +</I>>><i> This is how I changed the websocket_2_app:start/2 function +</I>>><i> ----------------------------------------------------------- +</I>>><i> Dispatch = cowboy_router:compile([ +</I>>><i> {'_', [ +</I>>><i> +</I>>><i> {"/", cowboy_static, {priv_file, websocket_2, "index.html"}}, +</I>>><i> {"/[...]", cowboy_static, {priv_dir, websocket_2, ""}}, +</I>>><i> +</I>>><i> {"/websocket_2", ws_handler_2, []}, +</I>>><i> {"/static/[...]", cowboy_static, {priv_dir, websocket_2, +</I>>><i> "static"}} +</I>>><i> ]} +</I>>><i> ]), +</I>>><i> +</I>>><i> After compile and make release package of the app, I can reach the +</I>>><i> webserver on the port 8080, but some connection does not set up +</I>>><i> correctly. The following texts are present in the browser +</I>>><i> DISCONNECTED +</I>>><i> +</I>>><i> ERROR: undefined +</I>>><i> +</I>>><i> Connecting to: <A HREF="ws://localhost:8080/websocket_2">ws://localhost:8080/websocket_2</A> +</I>>><i> +</I>>><i> I made a dbg trace on all cowboy modules, to start some kind of +</I>>><i> troubleshooting. In the "tons" of printout I can see this one. So in the +</I>>><i> bottom of this, there is an {error,enoent}. It comes when tries connect +</I>>><i> to the socket. But unfortunatelly I do not have idea what may cause this +</I>>><i> :-( +</I>>><i> +</I>>><i> The part of trace +</I>>><i> ----------------------------------------------------------- +</I>>><i> (<0.177.0>) call +</I>>><i> +</I>>><i> cowboy_rest:next({http_req,#Port<0.646>,ranch_tcp,keepalive,<0.177.0>,<<"GET">>,'HTTP/1.1', +</I>>><i> {{127,0,0,1},33241}, +</I>>><i> <<"localhost">>,undefined,8080,<<"/websocket_2">>, +</I>>><i> [<<"websocket_2">>], +</I>>><i> <<>>,undefined,[], +</I>>><i> [{<<"host">>,<<"localhost:8080">>}, +</I>>><i> {<<"connection">>,<<"Upgrade">>}, +</I>>><i> {<<"pragma">>,<<"no-cache">>}, +</I>>><i> {<<"cache-control">>,<<"no-cache">>}, +</I>>><i> {<<"upgrade">>,<<"websocket">>}, +</I>>><i> {<<"origin">>,<<"<A HREF="http://localhost:8080">http://localhost:8080</A>">>}, +</I>>><i> {<<"sec-websocket-version">>,<<"13">>}, +</I>>><i> {<<"user-agent">>, +</I>>><i> <<"Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.36 +</I>>><i> (KHTML, like Gecko) Chrome/40.0.2214.115 Safari/537.36">>}, +</I>>><i> {<<"accept-encoding">>,<<"gzip, deflate, sdch">>}, +</I>>><i> {<<"accept-language">>,<<"en-US,en;q=0.8">>}, +</I>>><i> {<<"sec-websocket-key">>,<<"by/gwaQvb/51W7Wa9zrGQg==">>}, +</I>>><i> {<<"sec-websocket-extensions">>, +</I>>><i> <<"permessage-deflate; client_max_window_bits">>}], +</I>>><i> [{<<"connection">>,[<<"upgrade">>]}], +</I>>><i> +</I>>><i> +</I>>><i> undefined,[],waiting,<<>>,undefined,false,waiting,[],<<>>,undefined},{state,[{handler,cowboy_static}, +</I>>><i> {handler_opts,{priv_dir,websocket_2,[]}}, +</I>>><i> {listener,http}, +</I>>><i> {dispatch,[{'_',[], +</I>>><i> [{[],[],cowboy_static, +</I>>><i> {priv_file,websocket_2,"index.html"}}, +</I>>><i> +</I>>><i> {['...'],[],cowboy_static,{priv_dir,websocket_2,[]}}, +</I>>><i> {[<<"websocket_2">>],[],ws_handler_2,[]}, +</I>>><i> {[<<"static">>,'...'], +</I>>><i> [],cowboy_static, +</I>>><i> {priv_dir,websocket_2,"static"}}]}]}], +</I>>><i> <<"GET">>,cowboy_static, +</I>>><i> +</I>>><i> +</I>>><i> {<<"/home/ethrbh/projects/github/websocket_2/_rel/websocket_2/lib/websocket_2-1/priv/websocket_2">>, +</I>>><i> {error,enoent}, +</I>>><i> []}, +</I>>><i> +</I>>><i> undefined,[],undefined,[],undefined,[],undefined,false,undefined, +</I>>><i> undefined,undefined},#Fun<cowboy_rest.2.41839999>) +</I>>><i> (Timestamp: {1435, +</I>>><i> +</I>>><i> 46126, +</I>>><i> +</I>>><i> 935663}) +</I>>><i> +</I>>><i> I guess, I did something very wrong, but I did not found what is that, +</I>>><i> thus I would like to get some help from you. +</I>>><i> +</I>>><i> Please find my small project in github: +</I>>><i> <A HREF="https://github.com/ethrbh/websocket_2">https://github.com/ethrbh/websocket_2</A> +</I>>><i> +</I>>><i> thanks for your help, +</I>>><i> /Robi +</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="https://lists.ninenines.eu/listinfo/extend">https://lists.ninenines.eu/listinfo/extend</A> +</I>>><i> +</I>>><i> +</I>><i> -- +</I>><i> Loïc Hoguin +</I>><i> <A HREF="http://ninenines.eu">http://ninenines.eu</A> +</I>><i> Author of The Erlanger Playbook, +</I>><i> A book about software development using Erlang +</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="https://lists.ninenines.eu/listinfo/extend">https://lists.ninenines.eu/listinfo/extend</A> +</I>><i> +</I>-------------- next part -------------- +An HTML attachment was scrubbed... +URL: <<A HREF="http://lists.ninenines.eu/archives/extend/attachments/20150623/dd7366a3/attachment.html">http://lists.ninenines.eu/archives/extend/attachments/20150623/dd7366a3/attachment.html</A>> +</PRE> + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000533.html">[99s-extend] Help to use frameset in index.html +</A></li> + <LI>Next message: <A HREF="000535.html">[99s-extend] Help to use frameset in index.html +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#534">[ date ]</a> + <a href="thread.html#534">[ thread ]</a> + <a href="subject.html#534">[ subject ]</a> + <a href="author.html#534">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://lists.ninenines.eu/listinfo/extend">More information about the Extend +mailing list</a><br> +</body></html> diff --git a/_build/static/archives/extend/2015-June/000535.html b/_build/static/archives/extend/2015-June/000535.html new file mode 100644 index 00000000..e653d8cc --- /dev/null +++ b/_build/static/archives/extend/2015-June/000535.html @@ -0,0 +1,259 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] Help to use frameset in index.html + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Help%20to%20use%20frameset%20in%20index.html&In-Reply-To=%3C55892247.5010302%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="000534.html"> + <LINK REL="Next" HREF="000536.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] Help to use frameset in index.html</H1> + <B>Loïc Hoguin</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Help%20to%20use%20frameset%20in%20index.html&In-Reply-To=%3C55892247.5010302%40ninenines.eu%3E" + TITLE="[99s-extend] Help to use frameset in index.html">essen at ninenines.eu + </A><BR> + <I>Tue Jun 23 11:09:27 CEST 2015</I> + <P><UL> + <LI>Previous message: <A HREF="000534.html">[99s-extend] Help to use frameset in index.html +</A></li> + <LI>Next message: <A HREF="000536.html">[99s-extend] Help to use frameset in index.html +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#535">[ date ]</a> + <a href="thread.html#535">[ thread ]</a> + <a href="subject.html#535">[ subject ]</a> + <a href="author.html#535">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>Oh nice catch ahah. We should probably warn when something like this +happens. + +On 06/23/2015 11:06 AM, Graham Hay wrote: +><i> I think the order of your routes is the problem, try putting this line +</I>><i> <<A HREF="https://github.com/ethrbh/websocket_2/blob/master/src/websocket_2_app.erl#L17">https://github.com/ethrbh/websocket_2/blob/master/src/websocket_2_app.erl#L17</A>> +</I>><i> last. +</I>><i> +</I>><i> On 23 June 2015 at 09:56, Loïc Hoguin <<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A> +</I>><i> <mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A>>> wrote: +</I>><i> +</I>><i> The {error, enoent}, especially there, is probably just because the +</I>><i> browser is trying to fetch the favicon. +</I>><i> +</I>><i> Your issue is that Websocket won't connect, so it has nothing to do +</I>><i> with cowboy_rest. Try tracing cowboy_websocket or enable SASL to +</I>><i> have more info. +</I>><i> +</I>><i> +</I>><i> On 06/23/2015 10:28 AM, Robert Balogh wrote: +</I>><i> +</I>><i> hello, +</I>><i> +</I>><i> First of all I would say I am a beginner in Cowboy web server, so +</I>><i> probably I made something wrong, that is why I got the "fault", +</I>><i> what I got. +</I>><i> +</I>><i> I would like to build up web page, where the client can +</I>><i> communicate to +</I>><i> server, and server can do the same to client, if client does not +</I>><i> send +</I>><i> anything to server too. The Cowboy has the websocket example, +</I>><i> what does +</I>><i> what I would like to do. +</I>><i> +</I>><i> There is only one thing is missing what I would like to have. +</I>><i> This is +</I>><i> the "frameset". My idea is to build the index.html using framsets. I +</I>><i> made this changes, and I build up the html files for the frames, +</I>><i> and of +</I>><i> course I set these in the index.html. +</I>><i> +</I>><i> Here is how the index.html looks like +</I>><i> <html> +</I>><i> +</I>><i> <head> +</I>><i> <title>Welcome to Websocket example 2</title> +</I>><i> </head> +</I>><i> +</I>><i> <frameset rows="64,*"> +</I>><i> <frame name="top_frame" noresize="noresize" scrolling="no" +</I>><i> src="frame_top.html"> +</I>><i> <frameset cols="450,*"> +</I>><i> <frame name="left_frame" scrolling="auto" +</I>><i> src="frame_left.html"> +</I>><i> <frame name="right_frame" src="frame_right.html"> +</I>><i> </frameset> +</I>><i> <noframes> +</I>><i> <body> +</I>><i> +</I>><i> </body> +</I>><i> </noframes> +</I>><i> </frameset> +</I>><i> +</I>><i> </html> +</I>><i> +</I>><i> This is how the priv folder looks like +</I>><i> ----------------------------------------------------------- +</I>><i> ls priv/ +</I>><i> frame_left.html frame_right.html frame_top.html +</I>><i> index.html static +</I>><i> +</I>><i> This is how I changed the websocket_2_app:start/2 function +</I>><i> ----------------------------------------------------------- +</I>><i> Dispatch = cowboy_router:compile([ +</I>><i> {'_', [ +</I>><i> +</I>><i> {"/", cowboy_static, {priv_file, websocket_2, +</I>><i> "index.html"}}, +</I>><i> {"/[...]", cowboy_static, {priv_dir, websocket_2, +</I>><i> ""}}, +</I>><i> +</I>><i> {"/websocket_2", ws_handler_2, []}, +</I>><i> {"/static/[...]", cowboy_static, {priv_dir, +</I>><i> websocket_2, +</I>><i> "static"}} +</I>><i> ]} +</I>><i> ]), +</I>><i> +</I>><i> After compile and make release package of the app, I can reach the +</I>><i> webserver on the port 8080, but some connection does not set up +</I>><i> correctly. The following texts are present in the browser +</I>><i> DISCONNECTED +</I>><i> +</I>><i> ERROR: undefined +</I>><i> +</I>><i> Connecting to: <A HREF="ws://localhost:8080/websocket_2">ws://localhost:8080/websocket_2</A> +</I>><i> +</I>><i> I made a dbg trace on all cowboy modules, to start some kind of +</I>><i> troubleshooting. In the "tons" of printout I can see this one. +</I>><i> So in the +</I>><i> bottom of this, there is an {error,enoent}. It comes when tries +</I>><i> connect +</I>><i> to the socket. But unfortunatelly I do not have idea what may +</I>><i> cause this :-( +</I>><i> +</I>><i> The part of trace +</I>><i> ----------------------------------------------------------- +</I>><i> (<0.177.0>) call +</I>><i> cowboy_rest:next({http_req,#Port<0.646>,ranch_tcp,keepalive,<0.177.0>,<<"GET">>,'HTTP/1.1', +</I>><i> {{127,0,0,1},33241}, +</I>><i> <<"localhost">>,undefined,8080,<<"/websocket_2">>, +</I>><i> [<<"websocket_2">>], +</I>><i> <<>>,undefined,[], +</I>><i> [{<<"host">>,<<"localhost:8080">>}, +</I>><i> {<<"connection">>,<<"Upgrade">>}, +</I>><i> {<<"pragma">>,<<"no-cache">>}, +</I>><i> {<<"cache-control">>,<<"no-cache">>}, +</I>><i> {<<"upgrade">>,<<"websocket">>}, +</I>><i> {<<"origin">>,<<"<A HREF="http://localhost:8080">http://localhost:8080</A>">>}, +</I>><i> {<<"sec-websocket-version">>,<<"13">>}, +</I>><i> {<<"user-agent">>, +</I>><i> <<"Mozilla/5.0 (X11; Linux i686) +</I>><i> AppleWebKit/537.36 +</I>><i> (KHTML, like Gecko) Chrome/40.0.2214.115 Safari/537.36">>}, +</I>><i> {<<"accept-encoding">>,<<"gzip, deflate, sdch">>}, +</I>><i> {<<"accept-language">>,<<"en-US,en;q=0.8">>}, +</I>><i> +</I>><i> {<<"sec-websocket-key">>,<<"by/gwaQvb/51W7Wa9zrGQg==">>}, +</I>><i> {<<"sec-websocket-extensions">>, +</I>><i> <<"permessage-deflate; +</I>><i> client_max_window_bits">>}], +</I>><i> [{<<"connection">>,[<<"upgrade">>]}], +</I>><i> +</I>><i> undefined,[],waiting,<<>>,undefined,false,waiting,[],<<>>,undefined},{state,[{handler,cowboy_static}, +</I>><i> {handler_opts,{priv_dir,websocket_2,[]}}, +</I>><i> {listener,http}, +</I>><i> {dispatch,[{'_',[], +</I>><i> [{[],[],cowboy_static, +</I>><i> +</I>><i> {priv_file,websocket_2,"index.html"}}, +</I>><i> +</I>><i> {['...'],[],cowboy_static,{priv_dir,websocket_2,[]}}, +</I>><i> +</I>><i> {[<<"websocket_2">>],[],ws_handler_2,[]}, +</I>><i> {[<<"static">>,'...'], +</I>><i> [],cowboy_static, +</I>><i> +</I>><i> {priv_dir,websocket_2,"static"}}]}]}], +</I>><i> <<"GET">>,cowboy_static, +</I>><i> +</I>><i> {<<"/home/ethrbh/projects/github/websocket_2/_rel/websocket_2/lib/websocket_2-1/priv/websocket_2">>, +</I>><i> {error,enoent}, +</I>><i> []}, +</I>><i> +</I>><i> undefined,[],undefined,[],undefined,[],undefined,false,undefined, +</I>><i> undefined,undefined},#Fun<cowboy_rest.2.41839999>) +</I>><i> (Timestamp: {1435, +</I>><i> +</I>><i> 46126, +</I>><i> +</I>><i> 935663}) +</I>><i> +</I>><i> I guess, I did something very wrong, but I did not found what is +</I>><i> that, +</I>><i> thus I would like to get some help from you. +</I>><i> +</I>><i> Please find my small project in github: +</I>><i> <A HREF="https://github.com/ethrbh/websocket_2">https://github.com/ethrbh/websocket_2</A> +</I>><i> +</I>><i> thanks for your help, +</I>><i> /Robi +</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> <mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">Extend at lists.ninenines.eu</A>> +</I>><i> <A HREF="https://lists.ninenines.eu/listinfo/extend">https://lists.ninenines.eu/listinfo/extend</A> +</I>><i> +</I>><i> +</I>><i> -- +</I>><i> Loïc Hoguin +</I>><i> <A HREF="http://ninenines.eu">http://ninenines.eu</A> +</I>><i> Author of The Erlanger Playbook, +</I>><i> A book about software development using Erlang +</I>><i> _______________________________________________ +</I>><i> Extend mailing list +</I>><i> <A HREF="https://lists.ninenines.eu/listinfo/extend">Extend at lists.ninenines.eu</A> <mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">Extend at lists.ninenines.eu</A>> +</I>><i> <A HREF="https://lists.ninenines.eu/listinfo/extend">https://lists.ninenines.eu/listinfo/extend</A> +</I>><i> +</I>><i> +</I> +-- +Loïc Hoguin +<A HREF="http://ninenines.eu">http://ninenines.eu</A> +Author of The Erlanger Playbook, +A book about software development using Erlang +</PRE> + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000534.html">[99s-extend] Help to use frameset in index.html +</A></li> + <LI>Next message: <A HREF="000536.html">[99s-extend] Help to use frameset in index.html +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#535">[ date ]</a> + <a href="thread.html#535">[ thread ]</a> + <a href="subject.html#535">[ subject ]</a> + <a href="author.html#535">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://lists.ninenines.eu/listinfo/extend">More information about the Extend +mailing list</a><br> +</body></html> diff --git a/_build/static/archives/extend/2015-June/000536.html b/_build/static/archives/extend/2015-June/000536.html new file mode 100644 index 00000000..faffd3cc --- /dev/null +++ b/_build/static/archives/extend/2015-June/000536.html @@ -0,0 +1,287 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] Help to use frameset in index.html + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Help%20to%20use%20frameset%20in%20index.html&In-Reply-To=%3CCAA4OwwXFxaXMZv0b1kpwn_f8pS1d%3DbVxs_QxEsLWRWaxFBDRgg%40mail.gmail.com%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="000535.html"> + <LINK REL="Next" HREF="000537.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] Help to use frameset in index.html</H1> + <B>Robert Balogh</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Help%20to%20use%20frameset%20in%20index.html&In-Reply-To=%3CCAA4OwwXFxaXMZv0b1kpwn_f8pS1d%3DbVxs_QxEsLWRWaxFBDRgg%40mail.gmail.com%3E" + TITLE="[99s-extend] Help to use frameset in index.html">ethrbh at gmail.com + </A><BR> + <I>Tue Jun 23 11:11:42 CEST 2015</I> + <P><UL> + <LI>Previous message: <A HREF="000535.html">[99s-extend] Help to use frameset in index.html +</A></li> + <LI>Next message: <A HREF="000537.html">[99s-extend] Help to use frameset in index.html +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#536">[ date ]</a> + <a href="thread.html#536">[ thread ]</a> + <a href="subject.html#536">[ subject ]</a> + <a href="author.html#536">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>hello, + +Thanks for all. The solution is to put the line at last + {"/[...]", cowboy_static, {priv_dir, websocket_2, ""}} + +Now It works as I expect. + +thanks for your help again. + +br, +/Robi + + +2015-06-23 11:09 GMT+02:00 Loïc Hoguin <<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A>>: + +><i> Oh nice catch ahah. We should probably warn when something like this +</I>><i> happens. +</I>><i> +</I>><i> On 06/23/2015 11:06 AM, Graham Hay wrote: +</I>><i> +</I>>><i> I think the order of your routes is the problem, try putting this line +</I>>><i> < +</I>>><i> <A HREF="https://github.com/ethrbh/websocket_2/blob/master/src/websocket_2_app.erl#L17">https://github.com/ethrbh/websocket_2/blob/master/src/websocket_2_app.erl#L17</A> +</I>>><i> > +</I>>><i> last. +</I>>><i> +</I>>><i> On 23 June 2015 at 09:56, Loïc Hoguin <<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A> +</I>>><i> <mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A>>> wrote: +</I>>><i> +</I>>><i> The {error, enoent}, especially there, is probably just because the +</I>>><i> browser is trying to fetch the favicon. +</I>>><i> +</I>>><i> Your issue is that Websocket won't connect, so it has nothing to do +</I>>><i> with cowboy_rest. Try tracing cowboy_websocket or enable SASL to +</I>>><i> have more info. +</I>>><i> +</I>>><i> +</I>>><i> On 06/23/2015 10:28 AM, Robert Balogh wrote: +</I>>><i> +</I>>><i> hello, +</I>>><i> +</I>>><i> First of all I would say I am a beginner in Cowboy web server, so +</I>>><i> probably I made something wrong, that is why I got the "fault", +</I>>><i> what I got. +</I>>><i> +</I>>><i> I would like to build up web page, where the client can +</I>>><i> communicate to +</I>>><i> server, and server can do the same to client, if client does not +</I>>><i> send +</I>>><i> anything to server too. The Cowboy has the websocket example, +</I>>><i> what does +</I>>><i> what I would like to do. +</I>>><i> +</I>>><i> There is only one thing is missing what I would like to have. +</I>>><i> This is +</I>>><i> the "frameset". My idea is to build the index.html using +</I>>><i> framsets. I +</I>>><i> made this changes, and I build up the html files for the frames, +</I>>><i> and of +</I>>><i> course I set these in the index.html. +</I>>><i> +</I>>><i> Here is how the index.html looks like +</I>>><i> <html> +</I>>><i> +</I>>><i> <head> +</I>>><i> <title>Welcome to Websocket example 2</title> +</I>>><i> </head> +</I>>><i> +</I>>><i> <frameset rows="64,*"> +</I>>><i> <frame name="top_frame" noresize="noresize" +</I>>><i> scrolling="no" +</I>>><i> src="frame_top.html"> +</I>>><i> <frameset cols="450,*"> +</I>>><i> <frame name="left_frame" scrolling="auto" +</I>>><i> src="frame_left.html"> +</I>>><i> <frame name="right_frame" src="frame_right.html"> +</I>>><i> </frameset> +</I>>><i> <noframes> +</I>>><i> <body> +</I>>><i> +</I>>><i> </body> +</I>>><i> </noframes> +</I>>><i> </frameset> +</I>>><i> +</I>>><i> </html> +</I>>><i> +</I>>><i> This is how the priv folder looks like +</I>>><i> ----------------------------------------------------------- +</I>>><i> ls priv/ +</I>>><i> frame_left.html frame_right.html frame_top.html +</I>>><i> index.html static +</I>>><i> +</I>>><i> This is how I changed the websocket_2_app:start/2 function +</I>>><i> ----------------------------------------------------------- +</I>>><i> Dispatch = cowboy_router:compile([ +</I>>><i> {'_', [ +</I>>><i> +</I>>><i> {"/", cowboy_static, {priv_file, websocket_2, +</I>>><i> "index.html"}}, +</I>>><i> {"/[...]", cowboy_static, {priv_dir, websocket_2, +</I>>><i> ""}}, +</I>>><i> +</I>>><i> {"/websocket_2", ws_handler_2, []}, +</I>>><i> {"/static/[...]", cowboy_static, {priv_dir, +</I>>><i> websocket_2, +</I>>><i> "static"}} +</I>>><i> ]} +</I>>><i> ]), +</I>>><i> +</I>>><i> After compile and make release package of the app, I can reach the +</I>>><i> webserver on the port 8080, but some connection does not set up +</I>>><i> correctly. The following texts are present in the browser +</I>>><i> DISCONNECTED +</I>>><i> +</I>>><i> ERROR: undefined +</I>>><i> +</I>>><i> Connecting to: <A HREF="ws://localhost:8080/websocket_2">ws://localhost:8080/websocket_2</A> +</I>>><i> +</I>>><i> I made a dbg trace on all cowboy modules, to start some kind of +</I>>><i> troubleshooting. In the "tons" of printout I can see this one. +</I>>><i> So in the +</I>>><i> bottom of this, there is an {error,enoent}. It comes when tries +</I>>><i> connect +</I>>><i> to the socket. But unfortunatelly I do not have idea what may +</I>>><i> cause this :-( +</I>>><i> +</I>>><i> The part of trace +</I>>><i> ----------------------------------------------------------- +</I>>><i> (<0.177.0>) call +</I>>><i> +</I>>><i> cowboy_rest:next({http_req,#Port<0.646>,ranch_tcp,keepalive,<0.177.0>,<<"GET">>,'HTTP/1.1', +</I>>><i> {{127,0,0,1},33241}, +</I>>><i> <<"localhost">>,undefined,8080,<<"/websocket_2">>, +</I>>><i> [<<"websocket_2">>], +</I>>><i> <<>>,undefined,[], +</I>>><i> [{<<"host">>,<<"localhost:8080">>}, +</I>>><i> {<<"connection">>,<<"Upgrade">>}, +</I>>><i> {<<"pragma">>,<<"no-cache">>}, +</I>>><i> {<<"cache-control">>,<<"no-cache">>}, +</I>>><i> {<<"upgrade">>,<<"websocket">>}, +</I>>><i> {<<"origin">>,<<"<A HREF="http://localhost:8080">http://localhost:8080</A>">>}, +</I>>><i> {<<"sec-websocket-version">>,<<"13">>}, +</I>>><i> {<<"user-agent">>, +</I>>><i> <<"Mozilla/5.0 (X11; Linux i686) +</I>>><i> AppleWebKit/537.36 +</I>>><i> (KHTML, like Gecko) Chrome/40.0.2214.115 Safari/537.36">>}, +</I>>><i> {<<"accept-encoding">>,<<"gzip, deflate, +</I>>><i> sdch">>}, +</I>>><i> {<<"accept-language">>,<<"en-US,en;q=0.8">>}, +</I>>><i> +</I>>><i> {<<"sec-websocket-key">>,<<"by/gwaQvb/51W7Wa9zrGQg==">>}, +</I>>><i> {<<"sec-websocket-extensions">>, +</I>>><i> <<"permessage-deflate; +</I>>><i> client_max_window_bits">>}], +</I>>><i> [{<<"connection">>,[<<"upgrade">>]}], +</I>>><i> +</I>>><i> +</I>>><i> undefined,[],waiting,<<>>,undefined,false,waiting,[],<<>>,undefined},{state,[{handler,cowboy_static}, +</I>>><i> {handler_opts,{priv_dir,websocket_2,[]}}, +</I>>><i> {listener,http}, +</I>>><i> {dispatch,[{'_',[], +</I>>><i> [{[],[],cowboy_static, +</I>>><i> +</I>>><i> {priv_file,websocket_2,"index.html"}}, +</I>>><i> +</I>>><i> {['...'],[],cowboy_static,{priv_dir,websocket_2,[]}}, +</I>>><i> +</I>>><i> {[<<"websocket_2">>],[],ws_handler_2,[]}, +</I>>><i> {[<<"static">>,'...'], +</I>>><i> [],cowboy_static, +</I>>><i> +</I>>><i> {priv_dir,websocket_2,"static"}}]}]}], +</I>>><i> <<"GET">>,cowboy_static, +</I>>><i> +</I>>><i> +</I>>><i> {<<"/home/ethrbh/projects/github/websocket_2/_rel/websocket_2/lib/websocket_2-1/priv/websocket_2">>, +</I>>><i> {error,enoent}, +</I>>><i> []}, +</I>>><i> +</I>>><i> undefined,[],undefined,[],undefined,[],undefined,false,undefined, +</I>>><i> undefined,undefined},#Fun<cowboy_rest.2.41839999>) +</I>>><i> (Timestamp: {1435, +</I>>><i> +</I>>><i> 46126, +</I>>><i> +</I>>><i> 935663}) +</I>>><i> +</I>>><i> I guess, I did something very wrong, but I did not found what is +</I>>><i> that, +</I>>><i> thus I would like to get some help from you. +</I>>><i> +</I>>><i> Please find my small project in github: +</I>>><i> <A HREF="https://github.com/ethrbh/websocket_2">https://github.com/ethrbh/websocket_2</A> +</I>>><i> +</I>>><i> thanks for your help, +</I>>><i> /Robi +</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> <mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">Extend at lists.ninenines.eu</A>> +</I>>><i> <A HREF="https://lists.ninenines.eu/listinfo/extend">https://lists.ninenines.eu/listinfo/extend</A> +</I>>><i> +</I>>><i> +</I>>><i> -- +</I>>><i> Loïc Hoguin +</I>>><i> <A HREF="http://ninenines.eu">http://ninenines.eu</A> +</I>>><i> Author of The Erlanger Playbook, +</I>>><i> A book about software development using Erlang +</I>>><i> _______________________________________________ +</I>>><i> Extend mailing list +</I>>><i> <A HREF="https://lists.ninenines.eu/listinfo/extend">Extend at lists.ninenines.eu</A> <mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">Extend at lists.ninenines.eu</A>> +</I>>><i> <A HREF="https://lists.ninenines.eu/listinfo/extend">https://lists.ninenines.eu/listinfo/extend</A> +</I>>><i> +</I>>><i> +</I>>><i> +</I>><i> -- +</I>><i> Loïc Hoguin +</I>><i> <A HREF="http://ninenines.eu">http://ninenines.eu</A> +</I>><i> Author of The Erlanger Playbook, +</I>><i> A book about software development using Erlang +</I>><i> +</I>-------------- next part -------------- +An HTML attachment was scrubbed... +URL: <<A HREF="http://lists.ninenines.eu/archives/extend/attachments/20150623/fcdb2d7b/attachment.html">http://lists.ninenines.eu/archives/extend/attachments/20150623/fcdb2d7b/attachment.html</A>> +</PRE> + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000535.html">[99s-extend] Help to use frameset in index.html +</A></li> + <LI>Next message: <A HREF="000537.html">[99s-extend] Help to use frameset in index.html +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#536">[ date ]</a> + <a href="thread.html#536">[ thread ]</a> + <a href="subject.html#536">[ subject ]</a> + <a href="author.html#536">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://lists.ninenines.eu/listinfo/extend">More information about the Extend +mailing list</a><br> +</body></html> diff --git a/_build/static/archives/extend/2015-June/000537.html b/_build/static/archives/extend/2015-June/000537.html new file mode 100644 index 00000000..a05fffdd --- /dev/null +++ b/_build/static/archives/extend/2015-June/000537.html @@ -0,0 +1,276 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] Help to use frameset in index.html + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Help%20to%20use%20frameset%20in%20index.html&In-Reply-To=%3CCAABECY3CmrVG4i2F737frMAbxGEiErieU255F%3D7m0X1BCPZAvg%40mail.gmail.com%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="000536.html"> + <LINK REL="Next" HREF="000538.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] Help to use frameset in index.html</H1> + <B>Graham Hay</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Help%20to%20use%20frameset%20in%20index.html&In-Reply-To=%3CCAABECY3CmrVG4i2F737frMAbxGEiErieU255F%3D7m0X1BCPZAvg%40mail.gmail.com%3E" + TITLE="[99s-extend] Help to use frameset in index.html">grahamrhay at gmail.com + </A><BR> + <I>Tue Jun 23 11:11:50 CEST 2015</I> + <P><UL> + <LI>Previous message: <A HREF="000536.html">[99s-extend] Help to use frameset in index.html +</A></li> + <LI>Next message: <A HREF="000538.html">[99s-extend] Help to use frameset in index.html +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#537">[ date ]</a> + <a href="thread.html#537">[ thread ]</a> + <a href="subject.html#537">[ subject ]</a> + <a href="author.html#537">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>It's bitten me a few times :( + +On 23 June 2015 at 10:09, Loïc Hoguin <<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A>> wrote: + +><i> Oh nice catch ahah. We should probably warn when something like this +</I>><i> happens. +</I>><i> +</I>><i> On 06/23/2015 11:06 AM, Graham Hay wrote: +</I>><i> +</I>>><i> I think the order of your routes is the problem, try putting this line +</I>>><i> < +</I>>><i> <A HREF="https://github.com/ethrbh/websocket_2/blob/master/src/websocket_2_app.erl#L17">https://github.com/ethrbh/websocket_2/blob/master/src/websocket_2_app.erl#L17</A> +</I>>><i> > +</I>>><i> last. +</I>>><i> +</I>>><i> On 23 June 2015 at 09:56, Loïc Hoguin <<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A> +</I>>><i> <mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A>>> wrote: +</I>>><i> +</I>>><i> The {error, enoent}, especially there, is probably just because the +</I>>><i> browser is trying to fetch the favicon. +</I>>><i> +</I>>><i> Your issue is that Websocket won't connect, so it has nothing to do +</I>>><i> with cowboy_rest. Try tracing cowboy_websocket or enable SASL to +</I>>><i> have more info. +</I>>><i> +</I>>><i> +</I>>><i> On 06/23/2015 10:28 AM, Robert Balogh wrote: +</I>>><i> +</I>>><i> hello, +</I>>><i> +</I>>><i> First of all I would say I am a beginner in Cowboy web server, so +</I>>><i> probably I made something wrong, that is why I got the "fault", +</I>>><i> what I got. +</I>>><i> +</I>>><i> I would like to build up web page, where the client can +</I>>><i> communicate to +</I>>><i> server, and server can do the same to client, if client does not +</I>>><i> send +</I>>><i> anything to server too. The Cowboy has the websocket example, +</I>>><i> what does +</I>>><i> what I would like to do. +</I>>><i> +</I>>><i> There is only one thing is missing what I would like to have. +</I>>><i> This is +</I>>><i> the "frameset". My idea is to build the index.html using +</I>>><i> framsets. I +</I>>><i> made this changes, and I build up the html files for the frames, +</I>>><i> and of +</I>>><i> course I set these in the index.html. +</I>>><i> +</I>>><i> Here is how the index.html looks like +</I>>><i> <html> +</I>>><i> +</I>>><i> <head> +</I>>><i> <title>Welcome to Websocket example 2</title> +</I>>><i> </head> +</I>>><i> +</I>>><i> <frameset rows="64,*"> +</I>>><i> <frame name="top_frame" noresize="noresize" +</I>>><i> scrolling="no" +</I>>><i> src="frame_top.html"> +</I>>><i> <frameset cols="450,*"> +</I>>><i> <frame name="left_frame" scrolling="auto" +</I>>><i> src="frame_left.html"> +</I>>><i> <frame name="right_frame" src="frame_right.html"> +</I>>><i> </frameset> +</I>>><i> <noframes> +</I>>><i> <body> +</I>>><i> +</I>>><i> </body> +</I>>><i> </noframes> +</I>>><i> </frameset> +</I>>><i> +</I>>><i> </html> +</I>>><i> +</I>>><i> This is how the priv folder looks like +</I>>><i> ----------------------------------------------------------- +</I>>><i> ls priv/ +</I>>><i> frame_left.html frame_right.html frame_top.html +</I>>><i> index.html static +</I>>><i> +</I>>><i> This is how I changed the websocket_2_app:start/2 function +</I>>><i> ----------------------------------------------------------- +</I>>><i> Dispatch = cowboy_router:compile([ +</I>>><i> {'_', [ +</I>>><i> +</I>>><i> {"/", cowboy_static, {priv_file, websocket_2, +</I>>><i> "index.html"}}, +</I>>><i> {"/[...]", cowboy_static, {priv_dir, websocket_2, +</I>>><i> ""}}, +</I>>><i> +</I>>><i> {"/websocket_2", ws_handler_2, []}, +</I>>><i> {"/static/[...]", cowboy_static, {priv_dir, +</I>>><i> websocket_2, +</I>>><i> "static"}} +</I>>><i> ]} +</I>>><i> ]), +</I>>><i> +</I>>><i> After compile and make release package of the app, I can reach the +</I>>><i> webserver on the port 8080, but some connection does not set up +</I>>><i> correctly. The following texts are present in the browser +</I>>><i> DISCONNECTED +</I>>><i> +</I>>><i> ERROR: undefined +</I>>><i> +</I>>><i> Connecting to: <A HREF="ws://localhost:8080/websocket_2">ws://localhost:8080/websocket_2</A> +</I>>><i> +</I>>><i> I made a dbg trace on all cowboy modules, to start some kind of +</I>>><i> troubleshooting. In the "tons" of printout I can see this one. +</I>>><i> So in the +</I>>><i> bottom of this, there is an {error,enoent}. It comes when tries +</I>>><i> connect +</I>>><i> to the socket. But unfortunatelly I do not have idea what may +</I>>><i> cause this :-( +</I>>><i> +</I>>><i> The part of trace +</I>>><i> ----------------------------------------------------------- +</I>>><i> (<0.177.0>) call +</I>>><i> +</I>>><i> cowboy_rest:next({http_req,#Port<0.646>,ranch_tcp,keepalive,<0.177.0>,<<"GET">>,'HTTP/1.1', +</I>>><i> {{127,0,0,1},33241}, +</I>>><i> <<"localhost">>,undefined,8080,<<"/websocket_2">>, +</I>>><i> [<<"websocket_2">>], +</I>>><i> <<>>,undefined,[], +</I>>><i> [{<<"host">>,<<"localhost:8080">>}, +</I>>><i> {<<"connection">>,<<"Upgrade">>}, +</I>>><i> {<<"pragma">>,<<"no-cache">>}, +</I>>><i> {<<"cache-control">>,<<"no-cache">>}, +</I>>><i> {<<"upgrade">>,<<"websocket">>}, +</I>>><i> {<<"origin">>,<<"<A HREF="http://localhost:8080">http://localhost:8080</A>">>}, +</I>>><i> {<<"sec-websocket-version">>,<<"13">>}, +</I>>><i> {<<"user-agent">>, +</I>>><i> <<"Mozilla/5.0 (X11; Linux i686) +</I>>><i> AppleWebKit/537.36 +</I>>><i> (KHTML, like Gecko) Chrome/40.0.2214.115 Safari/537.36">>}, +</I>>><i> {<<"accept-encoding">>,<<"gzip, deflate, +</I>>><i> sdch">>}, +</I>>><i> {<<"accept-language">>,<<"en-US,en;q=0.8">>}, +</I>>><i> +</I>>><i> {<<"sec-websocket-key">>,<<"by/gwaQvb/51W7Wa9zrGQg==">>}, +</I>>><i> {<<"sec-websocket-extensions">>, +</I>>><i> <<"permessage-deflate; +</I>>><i> client_max_window_bits">>}], +</I>>><i> [{<<"connection">>,[<<"upgrade">>]}], +</I>>><i> +</I>>><i> +</I>>><i> undefined,[],waiting,<<>>,undefined,false,waiting,[],<<>>,undefined},{state,[{handler,cowboy_static}, +</I>>><i> {handler_opts,{priv_dir,websocket_2,[]}}, +</I>>><i> {listener,http}, +</I>>><i> {dispatch,[{'_',[], +</I>>><i> [{[],[],cowboy_static, +</I>>><i> +</I>>><i> {priv_file,websocket_2,"index.html"}}, +</I>>><i> +</I>>><i> {['...'],[],cowboy_static,{priv_dir,websocket_2,[]}}, +</I>>><i> +</I>>><i> {[<<"websocket_2">>],[],ws_handler_2,[]}, +</I>>><i> {[<<"static">>,'...'], +</I>>><i> [],cowboy_static, +</I>>><i> +</I>>><i> {priv_dir,websocket_2,"static"}}]}]}], +</I>>><i> <<"GET">>,cowboy_static, +</I>>><i> +</I>>><i> +</I>>><i> {<<"/home/ethrbh/projects/github/websocket_2/_rel/websocket_2/lib/websocket_2-1/priv/websocket_2">>, +</I>>><i> {error,enoent}, +</I>>><i> []}, +</I>>><i> +</I>>><i> undefined,[],undefined,[],undefined,[],undefined,false,undefined, +</I>>><i> undefined,undefined},#Fun<cowboy_rest.2.41839999>) +</I>>><i> (Timestamp: {1435, +</I>>><i> +</I>>><i> 46126, +</I>>><i> +</I>>><i> 935663}) +</I>>><i> +</I>>><i> I guess, I did something very wrong, but I did not found what is +</I>>><i> that, +</I>>><i> thus I would like to get some help from you. +</I>>><i> +</I>>><i> Please find my small project in github: +</I>>><i> <A HREF="https://github.com/ethrbh/websocket_2">https://github.com/ethrbh/websocket_2</A> +</I>>><i> +</I>>><i> thanks for your help, +</I>>><i> /Robi +</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> <mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">Extend at lists.ninenines.eu</A>> +</I>>><i> <A HREF="https://lists.ninenines.eu/listinfo/extend">https://lists.ninenines.eu/listinfo/extend</A> +</I>>><i> +</I>>><i> +</I>>><i> -- +</I>>><i> Loïc Hoguin +</I>>><i> <A HREF="http://ninenines.eu">http://ninenines.eu</A> +</I>>><i> Author of The Erlanger Playbook, +</I>>><i> A book about software development using Erlang +</I>>><i> _______________________________________________ +</I>>><i> Extend mailing list +</I>>><i> <A HREF="https://lists.ninenines.eu/listinfo/extend">Extend at lists.ninenines.eu</A> <mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">Extend at lists.ninenines.eu</A>> +</I>>><i> <A HREF="https://lists.ninenines.eu/listinfo/extend">https://lists.ninenines.eu/listinfo/extend</A> +</I>>><i> +</I>>><i> +</I>>><i> +</I>><i> -- +</I>><i> Loïc Hoguin +</I>><i> <A HREF="http://ninenines.eu">http://ninenines.eu</A> +</I>><i> Author of The Erlanger Playbook, +</I>><i> A book about software development using Erlang +</I>><i> +</I>-------------- next part -------------- +An HTML attachment was scrubbed... +URL: <<A HREF="http://lists.ninenines.eu/archives/extend/attachments/20150623/3556788c/attachment-0001.html">http://lists.ninenines.eu/archives/extend/attachments/20150623/3556788c/attachment-0001.html</A>> +</PRE> + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000536.html">[99s-extend] Help to use frameset in index.html +</A></li> + <LI>Next message: <A HREF="000538.html">[99s-extend] Help to use frameset in index.html +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#537">[ date ]</a> + <a href="thread.html#537">[ thread ]</a> + <a href="subject.html#537">[ subject ]</a> + <a href="author.html#537">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://lists.ninenines.eu/listinfo/extend">More information about the Extend +mailing list</a><br> +</body></html> diff --git a/_build/static/archives/extend/2015-June/000538.html b/_build/static/archives/extend/2015-June/000538.html new file mode 100644 index 00000000..b7079e06 --- /dev/null +++ b/_build/static/archives/extend/2015-June/000538.html @@ -0,0 +1,312 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] Help to use frameset in index.html + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Help%20to%20use%20frameset%20in%20index.html&In-Reply-To=%3C55892318.2080507%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="000537.html"> + <LINK REL="Next" HREF="000539.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] Help to use frameset in index.html</H1> + <B>Loïc Hoguin</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Help%20to%20use%20frameset%20in%20index.html&In-Reply-To=%3C55892318.2080507%40ninenines.eu%3E" + TITLE="[99s-extend] Help to use frameset in index.html">essen at ninenines.eu + </A><BR> + <I>Tue Jun 23 11:12:56 CEST 2015</I> + <P><UL> + <LI>Previous message: <A HREF="000537.html">[99s-extend] Help to use frameset in index.html +</A></li> + <LI>Next message: <A HREF="000539.html">[99s-extend] Help to use frameset in index.html +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#538">[ date ]</a> + <a href="thread.html#538">[ thread ]</a> + <a href="subject.html#538">[ subject ]</a> + <a href="author.html#538">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>I've opened a ticket to remember so something will be done eventually. +Thanks for helping! + +On 06/23/2015 11:11 AM, Graham Hay wrote: +><i> It's bitten me a few times :( +</I>><i> +</I>><i> On 23 June 2015 at 10:09, Loïc Hoguin <<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A> +</I>><i> <mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A>>> wrote: +</I>><i> +</I>><i> Oh nice catch ahah. We should probably warn when something like this +</I>><i> happens. +</I>><i> +</I>><i> On 06/23/2015 11:06 AM, Graham Hay wrote: +</I>><i> +</I>><i> I think the order of your routes is the problem, try putting +</I>><i> this line +</I>><i> <<A HREF="https://github.com/ethrbh/websocket_2/blob/master/src/websocket_2_app.erl#L17">https://github.com/ethrbh/websocket_2/blob/master/src/websocket_2_app.erl#L17</A>> +</I>><i> last. +</I>><i> +</I>><i> On 23 June 2015 at 09:56, Loïc Hoguin <<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A> +</I>><i> <mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A>> +</I>><i> <mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A> <mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A>>>> wrote: +</I>><i> +</I>><i> The {error, enoent}, especially there, is probably just +</I>><i> because the +</I>><i> browser is trying to fetch the favicon. +</I>><i> +</I>><i> Your issue is that Websocket won't connect, so it has +</I>><i> nothing to do +</I>><i> with cowboy_rest. Try tracing cowboy_websocket or enable +</I>><i> SASL to +</I>><i> have more info. +</I>><i> +</I>><i> +</I>><i> On 06/23/2015 10:28 AM, Robert Balogh wrote: +</I>><i> +</I>><i> hello, +</I>><i> +</I>><i> First of all I would say I am a beginner in Cowboy web +</I>><i> server, so +</I>><i> probably I made something wrong, that is why I got the +</I>><i> "fault", +</I>><i> what I got. +</I>><i> +</I>><i> I would like to build up web page, where the client can +</I>><i> communicate to +</I>><i> server, and server can do the same to client, if client +</I>><i> does not +</I>><i> send +</I>><i> anything to server too. The Cowboy has the websocket +</I>><i> example, +</I>><i> what does +</I>><i> what I would like to do. +</I>><i> +</I>><i> There is only one thing is missing what I would like to +</I>><i> have. +</I>><i> This is +</I>><i> the "frameset". My idea is to build the index.html +</I>><i> using framsets. I +</I>><i> made this changes, and I build up the html files for +</I>><i> the frames, +</I>><i> and of +</I>><i> course I set these in the index.html. +</I>><i> +</I>><i> Here is how the index.html looks like +</I>><i> <html> +</I>><i> +</I>><i> <head> +</I>><i> <title>Welcome to Websocket example 2</title> +</I>><i> </head> +</I>><i> +</I>><i> <frameset rows="64,*"> +</I>><i> <frame name="top_frame" noresize="noresize" +</I>><i> scrolling="no" +</I>><i> src="frame_top.html"> +</I>><i> <frameset cols="450,*"> +</I>><i> <frame name="left_frame" scrolling="auto" +</I>><i> src="frame_left.html"> +</I>><i> <frame name="right_frame" +</I>><i> src="frame_right.html"> +</I>><i> </frameset> +</I>><i> <noframes> +</I>><i> <body> +</I>><i> +</I>><i> </body> +</I>><i> </noframes> +</I>><i> </frameset> +</I>><i> +</I>><i> </html> +</I>><i> +</I>><i> This is how the priv folder looks like +</I>><i> ----------------------------------------------------------- +</I>><i> ls priv/ +</I>><i> frame_left.html frame_right.html frame_top.html +</I>><i> index.html static +</I>><i> +</I>><i> This is how I changed the websocket_2_app:start/2 function +</I>><i> ----------------------------------------------------------- +</I>><i> Dispatch = cowboy_router:compile([ +</I>><i> {'_', [ +</I>><i> +</I>><i> {"/", cowboy_static, {priv_file, websocket_2, +</I>><i> "index.html"}}, +</I>><i> {"/[...]", cowboy_static, {priv_dir, +</I>><i> websocket_2, +</I>><i> ""}}, +</I>><i> +</I>><i> {"/websocket_2", ws_handler_2, []}, +</I>><i> {"/static/[...]", cowboy_static, {priv_dir, +</I>><i> websocket_2, +</I>><i> "static"}} +</I>><i> ]} +</I>><i> ]), +</I>><i> +</I>><i> After compile and make release package of the app, I +</I>><i> can reach the +</I>><i> webserver on the port 8080, but some connection does +</I>><i> not set up +</I>><i> correctly. The following texts are present in the browser +</I>><i> DISCONNECTED +</I>><i> +</I>><i> ERROR: undefined +</I>><i> +</I>><i> Connecting to: <A HREF="ws://localhost:8080/websocket_2">ws://localhost:8080/websocket_2</A> +</I>><i> +</I>><i> I made a dbg trace on all cowboy modules, to start some +</I>><i> kind of +</I>><i> troubleshooting. In the "tons" of printout I can see +</I>><i> this one. +</I>><i> So in the +</I>><i> bottom of this, there is an {error,enoent}. It comes +</I>><i> when tries +</I>><i> connect +</I>><i> to the socket. But unfortunatelly I do not have idea +</I>><i> what may +</I>><i> cause this :-( +</I>><i> +</I>><i> The part of trace +</I>><i> ----------------------------------------------------------- +</I>><i> (<0.177.0>) call +</I>><i> +</I>><i> cowboy_rest:next({http_req,#Port<0.646>,ranch_tcp,keepalive,<0.177.0>,<<"GET">>,'HTTP/1.1', +</I>><i> {{127,0,0,1},33241}, +</I>><i> +</I>><i> <<"localhost">>,undefined,8080,<<"/websocket_2">>, +</I>><i> [<<"websocket_2">>], +</I>><i> <<>>,undefined,[], +</I>><i> [{<<"host">>,<<"localhost:8080">>}, +</I>><i> {<<"connection">>,<<"Upgrade">>}, +</I>><i> {<<"pragma">>,<<"no-cache">>}, +</I>><i> {<<"cache-control">>,<<"no-cache">>}, +</I>><i> {<<"upgrade">>,<<"websocket">>}, +</I>><i> +</I>><i> {<<"origin">>,<<"<A HREF="http://localhost:8080">http://localhost:8080</A>">>}, +</I>><i> {<<"sec-websocket-version">>,<<"13">>}, +</I>><i> {<<"user-agent">>, +</I>><i> <<"Mozilla/5.0 (X11; Linux i686) +</I>><i> AppleWebKit/537.36 +</I>><i> (KHTML, like Gecko) Chrome/40.0.2214.115 Safari/537.36">>}, +</I>><i> {<<"accept-encoding">>,<<"gzip, +</I>><i> deflate, sdch">>}, +</I>><i> +</I>><i> {<<"accept-language">>,<<"en-US,en;q=0.8">>}, +</I>><i> +</I>><i> {<<"sec-websocket-key">>,<<"by/gwaQvb/51W7Wa9zrGQg==">>}, +</I>><i> {<<"sec-websocket-extensions">>, +</I>><i> <<"permessage-deflate; +</I>><i> client_max_window_bits">>}], +</I>><i> [{<<"connection">>,[<<"upgrade">>]}], +</I>><i> +</I>><i> +</I>><i> undefined,[],waiting,<<>>,undefined,false,waiting,[],<<>>,undefined},{state,[{handler,cowboy_static}, +</I>><i> {handler_opts,{priv_dir,websocket_2,[]}}, +</I>><i> {listener,http}, +</I>><i> {dispatch,[{'_',[], +</I>><i> [{[],[],cowboy_static, +</I>><i> +</I>><i> {priv_file,websocket_2,"index.html"}}, +</I>><i> +</I>><i> {['...'],[],cowboy_static,{priv_dir,websocket_2,[]}}, +</I>><i> +</I>><i> {[<<"websocket_2">>],[],ws_handler_2,[]}, +</I>><i> {[<<"static">>,'...'], +</I>><i> [],cowboy_static, +</I>><i> +</I>><i> {priv_dir,websocket_2,"static"}}]}]}], +</I>><i> <<"GET">>,cowboy_static, +</I>><i> +</I>><i> +</I>><i> {<<"/home/ethrbh/projects/github/websocket_2/_rel/websocket_2/lib/websocket_2-1/priv/websocket_2">>, +</I>><i> {error,enoent}, +</I>><i> []}, +</I>><i> +</I>><i> +</I>><i> undefined,[],undefined,[],undefined,[],undefined,false,undefined, +</I>><i> +</I>><i> undefined,undefined},#Fun<cowboy_rest.2.41839999>) +</I>><i> (Timestamp: {1435, +</I>><i> +</I>><i> 46126, +</I>><i> +</I>><i> 935663}) +</I>><i> +</I>><i> I guess, I did something very wrong, but I did not +</I>><i> found what is +</I>><i> that, +</I>><i> thus I would like to get some help from you. +</I>><i> +</I>><i> Please find my small project in github: +</I>><i> <A HREF="https://github.com/ethrbh/websocket_2">https://github.com/ethrbh/websocket_2</A> +</I>><i> +</I>><i> thanks for your help, +</I>><i> /Robi +</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> <mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">Extend at lists.ninenines.eu</A>> +</I>><i> <mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">Extend at lists.ninenines.eu</A> +</I>><i> <mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">Extend at lists.ninenines.eu</A>>> +</I>><i> <A HREF="https://lists.ninenines.eu/listinfo/extend">https://lists.ninenines.eu/listinfo/extend</A> +</I>><i> +</I>><i> +</I>><i> -- +</I>><i> Loïc Hoguin +</I>><i> <A HREF="http://ninenines.eu">http://ninenines.eu</A> +</I>><i> Author of The Erlanger Playbook, +</I>><i> A book about software development using Erlang +</I>><i> _______________________________________________ +</I>><i> Extend mailing list +</I>><i> <A HREF="https://lists.ninenines.eu/listinfo/extend">Extend at lists.ninenines.eu</A> <mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">Extend at lists.ninenines.eu</A>> +</I>><i> <mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">Extend at lists.ninenines.eu</A> +</I>><i> <mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">Extend at lists.ninenines.eu</A>>> +</I>><i> <A HREF="https://lists.ninenines.eu/listinfo/extend">https://lists.ninenines.eu/listinfo/extend</A> +</I>><i> +</I>><i> +</I>><i> +</I>><i> -- +</I>><i> Loïc Hoguin +</I>><i> <A HREF="http://ninenines.eu">http://ninenines.eu</A> +</I>><i> Author of The Erlanger Playbook, +</I>><i> A book about software development using Erlang +</I>><i> +</I>><i> +</I> +-- +Loïc Hoguin +<A HREF="http://ninenines.eu">http://ninenines.eu</A> +Author of The Erlanger Playbook, +A book about software development using Erlang +</PRE> + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000537.html">[99s-extend] Help to use frameset in index.html +</A></li> + <LI>Next message: <A HREF="000539.html">[99s-extend] Help to use frameset in index.html +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#538">[ date ]</a> + <a href="thread.html#538">[ thread ]</a> + <a href="subject.html#538">[ subject ]</a> + <a href="author.html#538">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://lists.ninenines.eu/listinfo/extend">More information about the Extend +mailing list</a><br> +</body></html> diff --git a/_build/static/archives/extend/2015-June/000539.html b/_build/static/archives/extend/2015-June/000539.html new file mode 100644 index 00000000..aab2d330 --- /dev/null +++ b/_build/static/archives/extend/2015-June/000539.html @@ -0,0 +1,337 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] Help to use frameset in index.html + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Help%20to%20use%20frameset%20in%20index.html&In-Reply-To=%3CCAA4OwwVkzpDwMG0MBHS3z6R6FVzXwKfj7YxDa5RUBch-ExJf9Q%40mail.gmail.com%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="000538.html"> + <LINK REL="Next" HREF="000540.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] Help to use frameset in index.html</H1> + <B>Robert Balogh</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Help%20to%20use%20frameset%20in%20index.html&In-Reply-To=%3CCAA4OwwVkzpDwMG0MBHS3z6R6FVzXwKfj7YxDa5RUBch-ExJf9Q%40mail.gmail.com%3E" + TITLE="[99s-extend] Help to use frameset in index.html">ethrbh at gmail.com + </A><BR> + <I>Tue Jun 23 11:15:05 CEST 2015</I> + <P><UL> + <LI>Previous message: <A HREF="000538.html">[99s-extend] Help to use frameset in index.html +</A></li> + <LI>Next message: <A HREF="000540.html">[99s-extend] Websocket vs. Request-Response msg pair +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#539">[ date ]</a> + <a href="thread.html#539">[ thread ]</a> + <a href="subject.html#539">[ subject ]</a> + <a href="author.html#539">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>hello, + +I would like to thanks for both of you the grate support. + +thanks again, +/Robi + +2015-06-23 11:12 GMT+02:00 Loïc Hoguin <<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A>>: + +><i> I've opened a ticket to remember so something will be done eventually. +</I>><i> Thanks for helping! +</I>><i> +</I>><i> On 06/23/2015 11:11 AM, Graham Hay wrote: +</I>><i> +</I>>><i> It's bitten me a few times :( +</I>>><i> +</I>>><i> On 23 June 2015 at 10:09, Loïc Hoguin <<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A> +</I>>><i> <mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A>>> wrote: +</I>>><i> +</I>>><i> Oh nice catch ahah. We should probably warn when something like this +</I>>><i> happens. +</I>>><i> +</I>>><i> On 06/23/2015 11:06 AM, Graham Hay wrote: +</I>>><i> +</I>>><i> I think the order of your routes is the problem, try putting +</I>>><i> this line +</I>>><i> < +</I>>><i> <A HREF="https://github.com/ethrbh/websocket_2/blob/master/src/websocket_2_app.erl#L17">https://github.com/ethrbh/websocket_2/blob/master/src/websocket_2_app.erl#L17</A> +</I>>><i> > +</I>>><i> last. +</I>>><i> +</I>>><i> On 23 June 2015 at 09:56, Loïc Hoguin <<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A> +</I>>><i> <mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A>> +</I>>><i> <mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A> <mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A>>>> wrote: +</I>>><i> +</I>>><i> The {error, enoent}, especially there, is probably just +</I>>><i> because the +</I>>><i> browser is trying to fetch the favicon. +</I>>><i> +</I>>><i> Your issue is that Websocket won't connect, so it has +</I>>><i> nothing to do +</I>>><i> with cowboy_rest. Try tracing cowboy_websocket or enable +</I>>><i> SASL to +</I>>><i> have more info. +</I>>><i> +</I>>><i> +</I>>><i> On 06/23/2015 10:28 AM, Robert Balogh wrote: +</I>>><i> +</I>>><i> hello, +</I>>><i> +</I>>><i> First of all I would say I am a beginner in Cowboy web +</I>>><i> server, so +</I>>><i> probably I made something wrong, that is why I got the +</I>>><i> "fault", +</I>>><i> what I got. +</I>>><i> +</I>>><i> I would like to build up web page, where the client can +</I>>><i> communicate to +</I>>><i> server, and server can do the same to client, if client +</I>>><i> does not +</I>>><i> send +</I>>><i> anything to server too. The Cowboy has the websocket +</I>>><i> example, +</I>>><i> what does +</I>>><i> what I would like to do. +</I>>><i> +</I>>><i> There is only one thing is missing what I would like to +</I>>><i> have. +</I>>><i> This is +</I>>><i> the "frameset". My idea is to build the index.html +</I>>><i> using framsets. I +</I>>><i> made this changes, and I build up the html files for +</I>>><i> the frames, +</I>>><i> and of +</I>>><i> course I set these in the index.html. +</I>>><i> +</I>>><i> Here is how the index.html looks like +</I>>><i> <html> +</I>>><i> +</I>>><i> <head> +</I>>><i> <title>Welcome to Websocket example 2</title> +</I>>><i> </head> +</I>>><i> +</I>>><i> <frameset rows="64,*"> +</I>>><i> <frame name="top_frame" noresize="noresize" +</I>>><i> scrolling="no" +</I>>><i> src="frame_top.html"> +</I>>><i> <frameset cols="450,*"> +</I>>><i> <frame name="left_frame" scrolling="auto" +</I>>><i> src="frame_left.html"> +</I>>><i> <frame name="right_frame" +</I>>><i> src="frame_right.html"> +</I>>><i> </frameset> +</I>>><i> <noframes> +</I>>><i> <body> +</I>>><i> +</I>>><i> </body> +</I>>><i> </noframes> +</I>>><i> </frameset> +</I>>><i> +</I>>><i> </html> +</I>>><i> +</I>>><i> This is how the priv folder looks like +</I>>><i> +</I>>><i> ----------------------------------------------------------- +</I>>><i> ls priv/ +</I>>><i> frame_left.html frame_right.html frame_top.html +</I>>><i> index.html static +</I>>><i> +</I>>><i> This is how I changed the websocket_2_app:start/2 +</I>>><i> function +</I>>><i> +</I>>><i> ----------------------------------------------------------- +</I>>><i> Dispatch = cowboy_router:compile([ +</I>>><i> {'_', [ +</I>>><i> +</I>>><i> {"/", cowboy_static, {priv_file, +</I>>><i> websocket_2, +</I>>><i> "index.html"}}, +</I>>><i> {"/[...]", cowboy_static, {priv_dir, +</I>>><i> websocket_2, +</I>>><i> ""}}, +</I>>><i> +</I>>><i> {"/websocket_2", ws_handler_2, []}, +</I>>><i> {"/static/[...]", cowboy_static, {priv_dir, +</I>>><i> websocket_2, +</I>>><i> "static"}} +</I>>><i> ]} +</I>>><i> ]), +</I>>><i> +</I>>><i> After compile and make release package of the app, I +</I>>><i> can reach the +</I>>><i> webserver on the port 8080, but some connection does +</I>>><i> not set up +</I>>><i> correctly. The following texts are present in the browser +</I>>><i> DISCONNECTED +</I>>><i> +</I>>><i> ERROR: undefined +</I>>><i> +</I>>><i> Connecting to: <A HREF="ws://localhost:8080/websocket_2">ws://localhost:8080/websocket_2</A> +</I>>><i> +</I>>><i> I made a dbg trace on all cowboy modules, to start some +</I>>><i> kind of +</I>>><i> troubleshooting. In the "tons" of printout I can see +</I>>><i> this one. +</I>>><i> So in the +</I>>><i> bottom of this, there is an {error,enoent}. It comes +</I>>><i> when tries +</I>>><i> connect +</I>>><i> to the socket. But unfortunatelly I do not have idea +</I>>><i> what may +</I>>><i> cause this :-( +</I>>><i> +</I>>><i> The part of trace +</I>>><i> +</I>>><i> ----------------------------------------------------------- +</I>>><i> (<0.177.0>) call +</I>>><i> +</I>>><i> +</I>>><i> cowboy_rest:next({http_req,#Port<0.646>,ranch_tcp,keepalive,<0.177.0>,<<"GET">>,'HTTP/1.1', +</I>>><i> {{127,0,0,1},33241}, +</I>>><i> +</I>>><i> <<"localhost">>,undefined,8080,<<"/websocket_2">>, +</I>>><i> [<<"websocket_2">>], +</I>>><i> <<>>,undefined,[], +</I>>><i> [{<<"host">>,<<"localhost:8080">>}, +</I>>><i> {<<"connection">>,<<"Upgrade">>}, +</I>>><i> {<<"pragma">>,<<"no-cache">>}, +</I>>><i> {<<"cache-control">>,<<"no-cache">>}, +</I>>><i> {<<"upgrade">>,<<"websocket">>}, +</I>>><i> +</I>>><i> {<<"origin">>,<<"<A HREF="http://localhost:8080">http://localhost:8080</A>">>}, +</I>>><i> {<<"sec-websocket-version">>,<<"13">>}, +</I>>><i> {<<"user-agent">>, +</I>>><i> <<"Mozilla/5.0 (X11; Linux i686) +</I>>><i> AppleWebKit/537.36 +</I>>><i> (KHTML, like Gecko) Chrome/40.0.2214.115 +</I>>><i> Safari/537.36">>}, +</I>>><i> {<<"accept-encoding">>,<<"gzip, +</I>>><i> deflate, sdch">>}, +</I>>><i> +</I>>><i> {<<"accept-language">>,<<"en-US,en;q=0.8">>}, +</I>>><i> +</I>>><i> {<<"sec-websocket-key">>,<<"by/gwaQvb/51W7Wa9zrGQg==">>}, +</I>>><i> {<<"sec-websocket-extensions">>, +</I>>><i> <<"permessage-deflate; +</I>>><i> client_max_window_bits">>}], +</I>>><i> [{<<"connection">>,[<<"upgrade">>]}], +</I>>><i> +</I>>><i> +</I>>><i> +</I>>><i> undefined,[],waiting,<<>>,undefined,false,waiting,[],<<>>,undefined},{state,[{handler,cowboy_static}, +</I>>><i> {handler_opts,{priv_dir,websocket_2,[]}}, +</I>>><i> {listener,http}, +</I>>><i> {dispatch,[{'_',[], +</I>>><i> [{[],[],cowboy_static, +</I>>><i> +</I>>><i> {priv_file,websocket_2,"index.html"}}, +</I>>><i> +</I>>><i> {['...'],[],cowboy_static,{priv_dir,websocket_2,[]}}, +</I>>><i> +</I>>><i> {[<<"websocket_2">>],[],ws_handler_2,[]}, +</I>>><i> {[<<"static">>,'...'], +</I>>><i> [],cowboy_static, +</I>>><i> +</I>>><i> {priv_dir,websocket_2,"static"}}]}]}], +</I>>><i> <<"GET">>,cowboy_static, +</I>>><i> +</I>>><i> +</I>>><i> +</I>>><i> {<<"/home/ethrbh/projects/github/websocket_2/_rel/websocket_2/lib/websocket_2-1/priv/websocket_2">>, +</I>>><i> {error,enoent}, +</I>>><i> []}, +</I>>><i> +</I>>><i> +</I>>><i> undefined,[],undefined,[],undefined,[],undefined,false,undefined, +</I>>><i> +</I>>><i> undefined,undefined},#Fun<cowboy_rest.2.41839999>) +</I>>><i> (Timestamp: {1435, +</I>>><i> +</I>>><i> 46126, +</I>>><i> +</I>>><i> 935663}) +</I>>><i> +</I>>><i> I guess, I did something very wrong, but I did not +</I>>><i> found what is +</I>>><i> that, +</I>>><i> thus I would like to get some help from you. +</I>>><i> +</I>>><i> Please find my small project in github: +</I>>><i> <A HREF="https://github.com/ethrbh/websocket_2">https://github.com/ethrbh/websocket_2</A> +</I>>><i> +</I>>><i> thanks for your help, +</I>>><i> /Robi +</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> <mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">Extend at lists.ninenines.eu</A>> +</I>>><i> <mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">Extend at lists.ninenines.eu</A> +</I>>><i> <mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">Extend at lists.ninenines.eu</A>>> +</I>>><i> <A HREF="https://lists.ninenines.eu/listinfo/extend">https://lists.ninenines.eu/listinfo/extend</A> +</I>>><i> +</I>>><i> +</I>>><i> -- +</I>>><i> Loïc Hoguin +</I>>><i> <A HREF="http://ninenines.eu">http://ninenines.eu</A> +</I>>><i> Author of The Erlanger Playbook, +</I>>><i> A book about software development using Erlang +</I>>><i> _______________________________________________ +</I>>><i> Extend mailing list +</I>>><i> <A HREF="https://lists.ninenines.eu/listinfo/extend">Extend at lists.ninenines.eu</A> <mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">Extend at lists.ninenines.eu</A>> +</I>>><i> <mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">Extend at lists.ninenines.eu</A> +</I>>><i> <mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">Extend at lists.ninenines.eu</A>>> +</I>>><i> <A HREF="https://lists.ninenines.eu/listinfo/extend">https://lists.ninenines.eu/listinfo/extend</A> +</I>>><i> +</I>>><i> +</I>>><i> +</I>>><i> -- +</I>>><i> Loïc Hoguin +</I>>><i> <A HREF="http://ninenines.eu">http://ninenines.eu</A> +</I>>><i> Author of The Erlanger Playbook, +</I>>><i> A book about software development using Erlang +</I>>><i> +</I>>><i> +</I>>><i> +</I>><i> -- +</I>><i> Loïc Hoguin +</I>><i> <A HREF="http://ninenines.eu">http://ninenines.eu</A> +</I>><i> Author of The Erlanger Playbook, +</I>><i> A book about software development using Erlang +</I>><i> +</I>-------------- next part -------------- +An HTML attachment was scrubbed... +URL: <<A HREF="http://lists.ninenines.eu/archives/extend/attachments/20150623/f7c19f68/attachment-0001.html">http://lists.ninenines.eu/archives/extend/attachments/20150623/f7c19f68/attachment-0001.html</A>> +</PRE> + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000538.html">[99s-extend] Help to use frameset in index.html +</A></li> + <LI>Next message: <A HREF="000540.html">[99s-extend] Websocket vs. Request-Response msg pair +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#539">[ date ]</a> + <a href="thread.html#539">[ thread ]</a> + <a href="subject.html#539">[ subject ]</a> + <a href="author.html#539">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://lists.ninenines.eu/listinfo/extend">More information about the Extend +mailing list</a><br> +</body></html> diff --git a/_build/static/archives/extend/2015-June/000540.html b/_build/static/archives/extend/2015-June/000540.html new file mode 100644 index 00000000..2816aabb --- /dev/null +++ b/_build/static/archives/extend/2015-June/000540.html @@ -0,0 +1,90 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] Websocket vs. Request-Response msg pair + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Websocket%20vs.%20Request-Response%20msg%20pair&In-Reply-To=%3CCAA4OwwXkFLY0pO7qudu4Xhe-aD4%3DwYGoitYx%3DNtN6dh5GN25CA%40mail.gmail.com%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="000539.html"> + <LINK REL="Next" HREF="000541.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] Websocket vs. Request-Response msg pair</H1> + <B>Robert Balogh</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Websocket%20vs.%20Request-Response%20msg%20pair&In-Reply-To=%3CCAA4OwwXkFLY0pO7qudu4Xhe-aD4%3DwYGoitYx%3DNtN6dh5GN25CA%40mail.gmail.com%3E" + TITLE="[99s-extend] Websocket vs. Request-Response msg pair">ethrbh at gmail.com + </A><BR> + <I>Wed Jun 24 11:18:50 CEST 2015</I> + <P><UL> + <LI>Previous message: <A HREF="000539.html">[99s-extend] Help to use frameset in index.html +</A></li> + <LI>Next message: <A HREF="000541.html">[99s-extend] Websocket vs. Request-Response msg pair +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#540">[ date ]</a> + <a href="thread.html#540">[ thread ]</a> + <a href="subject.html#540">[ subject ]</a> + <a href="author.html#540">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>hello, + +According to you grate support I got from you at yesterday, I could +continue my project, where I use Cowboy webserver and using Websocket. Now +I made an own web page with basic features I need, so the server and client +can communicates to eachother. I like it. + +Now I would like to step forward, and I would like to implement a +Request-Response mechanism. I read few articles in to this topic, and all +of them has mentioned this "feature" is not part of the Websocket standard. +They were suggested to use some sub-protocols for this, but I did not see +any written in Erlang. + +So, I would like to ask you, do I understand right that Cowboy does not +have this feature too? If so, do you have some idea how can I implement a +basic request-response mechanism? Probably one of you guys in this forum +have some idea. + +Btw, the links I read about this topic: + +<A HREF="http://stackoverflow.com/questions/10882370/websocket-request-response-subprotocol">http://stackoverflow.com/questions/10882370/websocket-request-response-subprotocol</A> + <A HREF="http://alabor.me/articles/request-response-oriented-websockets/">http://alabor.me/articles/request-response-oriented-websockets/</A> + <A HREF="https://www.npmjs.com/package/primus-responder">https://www.npmjs.com/package/primus-responder</A> + +thanks for your help, +/Robi +-------------- next part -------------- +An HTML attachment was scrubbed... +URL: <<A HREF="http://lists.ninenines.eu/archives/extend/attachments/20150624/204c1308/attachment.html">http://lists.ninenines.eu/archives/extend/attachments/20150624/204c1308/attachment.html</A>> +</PRE> + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000539.html">[99s-extend] Help to use frameset in index.html +</A></li> + <LI>Next message: <A HREF="000541.html">[99s-extend] Websocket vs. Request-Response msg pair +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#540">[ date ]</a> + <a href="thread.html#540">[ thread ]</a> + <a href="subject.html#540">[ subject ]</a> + <a href="author.html#540">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://lists.ninenines.eu/listinfo/extend">More information about the Extend +mailing list</a><br> +</body></html> diff --git a/_build/static/archives/extend/2015-June/000541.html b/_build/static/archives/extend/2015-June/000541.html new file mode 100644 index 00000000..e0f25c6f --- /dev/null +++ b/_build/static/archives/extend/2015-June/000541.html @@ -0,0 +1,118 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] Websocket vs. Request-Response msg pair + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Websocket%20vs.%20Request-Response%20msg%20pair&In-Reply-To=%3CCAABECY1-3dxX337kaShnxa3EuH1OAUyKVgonLoM9qAOQN6DNvw%40mail.gmail.com%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="000540.html"> + <LINK REL="Next" HREF="000543.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] Websocket vs. Request-Response msg pair</H1> + <B>Graham Hay</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Websocket%20vs.%20Request-Response%20msg%20pair&In-Reply-To=%3CCAABECY1-3dxX337kaShnxa3EuH1OAUyKVgonLoM9qAOQN6DNvw%40mail.gmail.com%3E" + TITLE="[99s-extend] Websocket vs. Request-Response msg pair">grahamrhay at gmail.com + </A><BR> + <I>Wed Jun 24 12:19:39 CEST 2015</I> + <P><UL> + <LI>Previous message: <A HREF="000540.html">[99s-extend] Websocket vs. Request-Response msg pair +</A></li> + <LI>Next message: <A HREF="000543.html">[99s-extend] Websocket vs. Request-Response msg pair +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#541">[ date ]</a> + <a href="thread.html#541">[ thread ]</a> + <a href="subject.html#541">[ subject ]</a> + <a href="author.html#541">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>I think you'd have to roll your own, you just need some way to correlate +<<A HREF="http://www.enterpriseintegrationpatterns.com/CorrelationIdentifier.html">http://www.enterpriseintegrationpatterns.com/CorrelationIdentifier.html</A>> +responses +with the originating request. OTP does something similar under the hood +with gen_server calls <<A HREF="http://www.erlang.org/doc/man/gen_server.html#call-2">http://www.erlang.org/doc/man/gen_server.html#call-2</A>> +. + +It's also possible to treat the ws connection as a messaging channel, and +use something like selective consumer +<<A HREF="http://www.enterpriseintegrationpatterns.com/MessageSelector.html">http://www.enterpriseintegrationpatterns.com/MessageSelector.html</A>> to +de-multiplex the messages. e.g. you could add a type/channel field to each +message, and only subscribe to those messages. + +Remember that once you move into an async world, there are no guarantees +that you will receive a response! So you need to start thinking about +timeouts etc. + + +On 24 June 2015 at 10:18, Robert Balogh <<A HREF="https://lists.ninenines.eu/listinfo/extend">ethrbh at gmail.com</A>> wrote: + +><i> hello, +</I>><i> +</I>><i> According to you grate support I got from you at yesterday, I could +</I>><i> continue my project, where I use Cowboy webserver and using Websocket. Now +</I>><i> I made an own web page with basic features I need, so the server and client +</I>><i> can communicates to eachother. I like it. +</I>><i> +</I>><i> Now I would like to step forward, and I would like to implement a +</I>><i> Request-Response mechanism. I read few articles in to this topic, and all +</I>><i> of them has mentioned this "feature" is not part of the Websocket standard. +</I>><i> They were suggested to use some sub-protocols for this, but I did not see +</I>><i> any written in Erlang. +</I>><i> +</I>><i> So, I would like to ask you, do I understand right that Cowboy does not +</I>><i> have this feature too? If so, do you have some idea how can I implement a +</I>><i> basic request-response mechanism? Probably one of you guys in this forum +</I>><i> have some idea. +</I>><i> +</I>><i> Btw, the links I read about this topic: +</I>><i> +</I>><i> <A HREF="http://stackoverflow.com/questions/10882370/websocket-request-response-subprotocol">http://stackoverflow.com/questions/10882370/websocket-request-response-subprotocol</A> +</I>><i> <A HREF="http://alabor.me/articles/request-response-oriented-websockets/">http://alabor.me/articles/request-response-oriented-websockets/</A> +</I>><i> <A HREF="https://www.npmjs.com/package/primus-responder">https://www.npmjs.com/package/primus-responder</A> +</I>><i> +</I>><i> thanks for your help, +</I>><i> /Robi +</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="https://lists.ninenines.eu/listinfo/extend">https://lists.ninenines.eu/listinfo/extend</A> +</I>><i> +</I>><i> +</I>-------------- next part -------------- +An HTML attachment was scrubbed... +URL: <<A HREF="http://lists.ninenines.eu/archives/extend/attachments/20150624/6d15706e/attachment.html">http://lists.ninenines.eu/archives/extend/attachments/20150624/6d15706e/attachment.html</A>> +</PRE> + + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000540.html">[99s-extend] Websocket vs. Request-Response msg pair +</A></li> + <LI>Next message: <A HREF="000543.html">[99s-extend] Websocket vs. Request-Response msg pair +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#541">[ date ]</a> + <a href="thread.html#541">[ thread ]</a> + <a href="subject.html#541">[ subject ]</a> + <a href="author.html#541">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://lists.ninenines.eu/listinfo/extend">More information about the Extend +mailing list</a><br> +</body></html> diff --git a/_build/static/archives/extend/2015-June/000542.html b/_build/static/archives/extend/2015-June/000542.html new file mode 100644 index 00000000..f2fe6371 --- /dev/null +++ b/_build/static/archives/extend/2015-June/000542.html @@ -0,0 +1,93 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] Websocket vs. Request-Response msg pair + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Websocket%20vs.%20Request-Response%20msg%20pair&In-Reply-To=%3C558A8645.3010002%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="000544.html"> + + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] Websocket vs. Request-Response msg pair</H1> + <B>Loïc Hoguin</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Websocket%20vs.%20Request-Response%20msg%20pair&In-Reply-To=%3C558A8645.3010002%40ninenines.eu%3E" + TITLE="[99s-extend] Websocket vs. Request-Response msg pair">essen at ninenines.eu + </A><BR> + <I>Wed Jun 24 12:28:21 CEST 2015</I> + <P><UL> + <LI>Previous message: <A HREF="000544.html">[99s-extend] Websocket vs. Request-Response msg pair +</A></li> + + <LI> <B>Messages sorted by:</B> + <a href="date.html#542">[ date ]</a> + <a href="thread.html#542">[ thread ]</a> + <a href="subject.html#542">[ subject ]</a> + <a href="author.html#542">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>On 06/24/2015 11:18 AM, Robert Balogh wrote: +><i> Now I would like to step forward, and I would like to implement a +</I>><i> Request-Response mechanism. I read few articles in to this topic, and +</I>><i> all of them has mentioned this "feature" is not part of the Websocket +</I>><i> standard. They were suggested to use some sub-protocols for this, but I +</I>><i> did not see any written in Erlang. +</I>><i> +</I>><i> So, I would like to ask you, do I understand right that Cowboy does not +</I>><i> have this feature too? If so, do you have some idea how can I implement +</I>><i> a basic request-response mechanism? Probably one of you guys in this +</I>><i> forum have some idea. +</I> +Cowboy only comes with the Websocket protocol itself, all sub protocols +and mechanisms you want can then be implemented on top of it. + +I strongly recommend not to do RPC. Just send events to the server and +let the server send events to you. The difference is in the fact that +RPC tracks what requests were sent to tie requests and responses +together, while an event channel does not. You just send what the user +is doing and the server sends you what it wants the client to update or +do. Stay as stateless as possible. + +If you need to manage state to update the interface (locking a form +while waiting for the result, for example), do use timeouts to avoid +locking endlessly. + +Try and experiment, it's not very complicated. :-) + +-- +Loïc Hoguin +<A HREF="http://ninenines.eu">http://ninenines.eu</A> +Author of The Erlanger Playbook, +A book about software development using Erlang +</PRE> + + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000544.html">[99s-extend] Websocket vs. Request-Response msg pair +</A></li> + + <LI> <B>Messages sorted by:</B> + <a href="date.html#542">[ date ]</a> + <a href="thread.html#542">[ thread ]</a> + <a href="subject.html#542">[ subject ]</a> + <a href="author.html#542">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://lists.ninenines.eu/listinfo/extend">More information about the Extend +mailing list</a><br> +</body></html> diff --git a/_build/static/archives/extend/2015-June/000543.html b/_build/static/archives/extend/2015-June/000543.html new file mode 100644 index 00000000..222e4a75 --- /dev/null +++ b/_build/static/archives/extend/2015-June/000543.html @@ -0,0 +1,105 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] Websocket vs. Request-Response msg pair + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Websocket%20vs.%20Request-Response%20msg%20pair&In-Reply-To=%3C558A8639.2080901%40gmx.de%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="000541.html"> + <LINK REL="Next" HREF="000544.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] Websocket vs. Request-Response msg pair</H1> + <B>Bas Wegh</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Websocket%20vs.%20Request-Response%20msg%20pair&In-Reply-To=%3C558A8639.2080901%40gmx.de%3E" + TITLE="[99s-extend] Websocket vs. Request-Response msg pair">BasWegh at gmx.de + </A><BR> + <I>Wed Jun 24 12:28:09 CEST 2015</I> + <P><UL> + <LI>Previous message: <A HREF="000541.html">[99s-extend] Websocket vs. Request-Response msg pair +</A></li> + <LI>Next message: <A HREF="000544.html">[99s-extend] Websocket vs. Request-Response msg pair +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#543">[ date ]</a> + <a href="thread.html#543">[ thread ]</a> + <a href="subject.html#543">[ subject ]</a> + <a href="author.html#543">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>hello Robi, + +you might be interested in erwa: +<A HREF="https://github.com/bwegh/erwa">https://github.com/bwegh/erwa</A> + +Cheers, +Bas + +On 06/24/2015 11:18 AM, Robert Balogh wrote: +><i> hello, +</I>><i> +</I>><i> According to you grate support I got from you at yesterday, I could +</I>><i> continue my project, where I use Cowboy webserver and using Websocket. +</I>><i> Now I made an own web page with basic features I need, so the server +</I>><i> and client can communicates to eachother. I like it. +</I>><i> +</I>><i> Now I would like to step forward, and I would like to implement a +</I>><i> Request-Response mechanism. I read few articles in to this topic, and +</I>><i> all of them has mentioned this "feature" is not part of the Websocket +</I>><i> standard. They were suggested to use some sub-protocols for this, but +</I>><i> I did not see any written in Erlang. +</I>><i> +</I>><i> So, I would like to ask you, do I understand right that Cowboy does +</I>><i> not have this feature too? If so, do you have some idea how can I +</I>><i> implement a basic request-response mechanism? Probably one of you guys +</I>><i> in this forum have some idea. +</I>><i> +</I>><i> Btw, the links I read about this topic: +</I>><i> <A HREF="http://stackoverflow.com/questions/10882370/websocket-request-response-subprotocol">http://stackoverflow.com/questions/10882370/websocket-request-response-subprotocol</A> +</I>><i> <A HREF="http://alabor.me/articles/request-response-oriented-websockets/">http://alabor.me/articles/request-response-oriented-websockets/</A> +</I>><i> <A HREF="https://www.npmjs.com/package/primus-responder">https://www.npmjs.com/package/primus-responder</A> +</I>><i> +</I>><i> thanks for your help, +</I>><i> /Robi +</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="https://lists.ninenines.eu/listinfo/extend">https://lists.ninenines.eu/listinfo/extend</A> +</I> +-------------- next part -------------- +An HTML attachment was scrubbed... +URL: <<A HREF="http://lists.ninenines.eu/archives/extend/attachments/20150624/b67122b6/attachment.html">http://lists.ninenines.eu/archives/extend/attachments/20150624/b67122b6/attachment.html</A>> +</PRE> + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000541.html">[99s-extend] Websocket vs. Request-Response msg pair +</A></li> + <LI>Next message: <A HREF="000544.html">[99s-extend] Websocket vs. Request-Response msg pair +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#543">[ date ]</a> + <a href="thread.html#543">[ thread ]</a> + <a href="subject.html#543">[ subject ]</a> + <a href="author.html#543">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://lists.ninenines.eu/listinfo/extend">More information about the Extend +mailing list</a><br> +</body></html> diff --git a/_build/static/archives/extend/2015-June/000544.html b/_build/static/archives/extend/2015-June/000544.html new file mode 100644 index 00000000..c6d63e63 --- /dev/null +++ b/_build/static/archives/extend/2015-June/000544.html @@ -0,0 +1,119 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] Websocket vs. Request-Response msg pair + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Websocket%20vs.%20Request-Response%20msg%20pair&In-Reply-To=%3CCAA4OwwWP5oiZ6fYwAH8qz2FyjZL2MfDFD2B2vMe8J2rUerFU0g%40mail.gmail.com%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="000543.html"> + <LINK REL="Next" HREF="000542.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] Websocket vs. Request-Response msg pair</H1> + <B>Robert Balogh</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Websocket%20vs.%20Request-Response%20msg%20pair&In-Reply-To=%3CCAA4OwwWP5oiZ6fYwAH8qz2FyjZL2MfDFD2B2vMe8J2rUerFU0g%40mail.gmail.com%3E" + TITLE="[99s-extend] Websocket vs. Request-Response msg pair">ethrbh at gmail.com + </A><BR> + <I>Wed Jun 24 12:41:16 CEST 2015</I> + <P><UL> + <LI>Previous message: <A HREF="000543.html">[99s-extend] Websocket vs. Request-Response msg pair +</A></li> + <LI>Next message: <A HREF="000542.html">[99s-extend] Websocket vs. Request-Response msg pair +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#544">[ date ]</a> + <a href="thread.html#544">[ thread ]</a> + <a href="subject.html#544">[ subject ]</a> + <a href="author.html#544">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>hello, + +I would like to thanks the response to all of you. I will try keep all +these in my mind. + +@Bas, thanks for your note about erwa <<A HREF="https://github.com/bwegh/erwa">https://github.com/bwegh/erwa</A>>, I +will take a look. + +thanks again, +/Robi + +2015-06-24 12:28 GMT+02:00 Bas Wegh <<A HREF="https://lists.ninenines.eu/listinfo/extend">BasWegh at gmx.de</A>>: + +><i> hello Robi, +</I>><i> +</I>><i> you might be interested in erwa: +</I>><i> <A HREF="https://github.com/bwegh/erwa">https://github.com/bwegh/erwa</A> +</I>><i> +</I>><i> Cheers, +</I>><i> Bas +</I>><i> +</I>><i> On 06/24/2015 11:18 AM, Robert Balogh wrote: +</I>><i> +</I>><i> hello, +</I>><i> +</I>><i> According to you grate support I got from you at yesterday, I could +</I>><i> continue my project, where I use Cowboy webserver and using Websocket. Now +</I>><i> I made an own web page with basic features I need, so the server and client +</I>><i> can communicates to eachother. I like it. +</I>><i> +</I>><i> Now I would like to step forward, and I would like to implement a +</I>><i> Request-Response mechanism. I read few articles in to this topic, and all +</I>><i> of them has mentioned this "feature" is not part of the Websocket standard. +</I>><i> They were suggested to use some sub-protocols for this, but I did not see +</I>><i> any written in Erlang. +</I>><i> +</I>><i> So, I would like to ask you, do I understand right that Cowboy does not +</I>><i> have this feature too? If so, do you have some idea how can I implement a +</I>><i> basic request-response mechanism? Probably one of you guys in this forum +</I>><i> have some idea. +</I>><i> +</I>><i> Btw, the links I read about this topic: +</I>><i> +</I>><i> <A HREF="http://stackoverflow.com/questions/10882370/websocket-request-response-subprotocol">http://stackoverflow.com/questions/10882370/websocket-request-response-subprotocol</A> +</I>><i> <A HREF="http://alabor.me/articles/request-response-oriented-websockets/">http://alabor.me/articles/request-response-oriented-websockets/</A> +</I>><i> <A HREF="https://www.npmjs.com/package/primus-responder">https://www.npmjs.com/package/primus-responder</A> +</I>><i> +</I>><i> thanks for your help, +</I>><i> /Robi +</I>><i> +</I>><i> +</I>><i> _______________________________________________ +</I>><i> Extend mailing <A HREF="https://lists.ninenines.eu/listinfo/extend">listExtend at lists.ninenines.euhttps</A>://lists.ninenines.eu/listinfo/extend +</I>><i> +</I>><i> +</I>><i> +</I>-------------- next part -------------- +An HTML attachment was scrubbed... +URL: <<A HREF="http://lists.ninenines.eu/archives/extend/attachments/20150624/72689ab9/attachment-0001.html">http://lists.ninenines.eu/archives/extend/attachments/20150624/72689ab9/attachment-0001.html</A>> +</PRE> + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000543.html">[99s-extend] Websocket vs. Request-Response msg pair +</A></li> + <LI>Next message: <A HREF="000542.html">[99s-extend] Websocket vs. Request-Response msg pair +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#544">[ date ]</a> + <a href="thread.html#544">[ thread ]</a> + <a href="subject.html#544">[ subject ]</a> + <a href="author.html#544">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://lists.ninenines.eu/listinfo/extend">More information about the Extend +mailing list</a><br> +</body></html> diff --git a/_build/static/archives/extend/2015-June/author.html b/_build/static/archives/extend/2015-June/author.html new file mode 100644 index 00000000..c3d02dbc --- /dev/null +++ b/_build/static/archives/extend/2015-June/author.html @@ -0,0 +1,117 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <title>The Extend June 2015 Archive by author</title> + <META NAME="robots" CONTENT="noindex,follow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <a name="start"></A> + <h1>June 2015 Archives by author</h1> + <ul> + <li> <b>Messages sorted by:</b> + <a href="thread.html#start">[ thread ]</a> + <a href="subject.html#start">[ subject ]</a> + + <a href="date.html#start">[ date ]</a> + + <li><b><a href="https://lists.ninenines.eu/listinfo/extend">More info on this list... + </a></b></li> + </ul> + <p><b>Starting:</b> <i>Fri Jun 19 15:47:14 CEST 2015</i><br> + <b>Ending:</b> <i>Wed Jun 24 12:41:16 CEST 2015</i><br> + <b>Messages:</b> 14<p> + <ul> + +<LI><A HREF="000532.html">[99s-extend] Help to use frameset in index.html +</A><A NAME="532"> </A> +<I>Robert Balogh +</I> + +<LI><A HREF="000536.html">[99s-extend] Help to use frameset in index.html +</A><A NAME="536"> </A> +<I>Robert Balogh +</I> + +<LI><A HREF="000539.html">[99s-extend] Help to use frameset in index.html +</A><A NAME="539"> </A> +<I>Robert Balogh +</I> + +<LI><A HREF="000540.html">[99s-extend] Websocket vs. Request-Response msg pair +</A><A NAME="540"> </A> +<I>Robert Balogh +</I> + +<LI><A HREF="000544.html">[99s-extend] Websocket vs. Request-Response msg pair +</A><A NAME="544"> </A> +<I>Robert Balogh +</I> + +<LI><A HREF="000534.html">[99s-extend] Help to use frameset in index.html +</A><A NAME="534"> </A> +<I>Graham Hay +</I> + +<LI><A HREF="000537.html">[99s-extend] Help to use frameset in index.html +</A><A NAME="537"> </A> +<I>Graham Hay +</I> + +<LI><A HREF="000541.html">[99s-extend] Websocket vs. Request-Response msg pair +</A><A NAME="541"> </A> +<I>Graham Hay +</I> + +<LI><A HREF="000531.html">[99s-extend] [ANN] The Erlanger Playbook early release +</A><A NAME="531"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000533.html">[99s-extend] Help to use frameset in index.html +</A><A NAME="533"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000535.html">[99s-extend] Help to use frameset in index.html +</A><A NAME="535"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000538.html">[99s-extend] Help to use frameset in index.html +</A><A NAME="538"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000542.html">[99s-extend] Websocket vs. Request-Response msg pair +</A><A NAME="542"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000543.html">[99s-extend] Websocket vs. Request-Response msg pair +</A><A NAME="543"> </A> +<I>Bas Wegh +</I> + + </ul> + <p> + <a name="end"><b>Last message date:</b></a> + <i>Wed Jun 24 12:41:16 CEST 2015</i><br> + <b>Archived on:</b> <i>Wed Jun 24 12:41:06 CEST 2015</i> + <p> + <ul> + <li> <b>Messages sorted by:</b> + <a href="thread.html#start">[ thread ]</a> + <a href="subject.html#start">[ subject ]</a> + + <a href="date.html#start">[ date ]</a> + <li><b><a href="https://lists.ninenines.eu/listinfo/extend">More info on this list... + </a></b></li> + </ul> + <p> + <hr> + <i>This archive was generated by + Pipermail 0.09 (Mailman edition).</i> + </BODY> +</HTML> + diff --git a/_build/static/archives/extend/2015-June/date.html b/_build/static/archives/extend/2015-June/date.html new file mode 100644 index 00000000..ea0c5202 --- /dev/null +++ b/_build/static/archives/extend/2015-June/date.html @@ -0,0 +1,117 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <title>The Extend June 2015 Archive by date</title> + <META NAME="robots" CONTENT="noindex,follow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <a name="start"></A> + <h1>June 2015 Archives by date</h1> + <ul> + <li> <b>Messages sorted by:</b> + <a href="thread.html#start">[ thread ]</a> + <a href="subject.html#start">[ subject ]</a> + <a href="author.html#start">[ author ]</a> + + + <li><b><a href="https://lists.ninenines.eu/listinfo/extend">More info on this list... + </a></b></li> + </ul> + <p><b>Starting:</b> <i>Fri Jun 19 15:47:14 CEST 2015</i><br> + <b>Ending:</b> <i>Wed Jun 24 12:41:16 CEST 2015</i><br> + <b>Messages:</b> 14<p> + <ul> + +<LI><A HREF="000531.html">[99s-extend] [ANN] The Erlanger Playbook early release +</A><A NAME="531"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000532.html">[99s-extend] Help to use frameset in index.html +</A><A NAME="532"> </A> +<I>Robert Balogh +</I> + +<LI><A HREF="000533.html">[99s-extend] Help to use frameset in index.html +</A><A NAME="533"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000534.html">[99s-extend] Help to use frameset in index.html +</A><A NAME="534"> </A> +<I>Graham Hay +</I> + +<LI><A HREF="000535.html">[99s-extend] Help to use frameset in index.html +</A><A NAME="535"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000536.html">[99s-extend] Help to use frameset in index.html +</A><A NAME="536"> </A> +<I>Robert Balogh +</I> + +<LI><A HREF="000537.html">[99s-extend] Help to use frameset in index.html +</A><A NAME="537"> </A> +<I>Graham Hay +</I> + +<LI><A HREF="000538.html">[99s-extend] Help to use frameset in index.html +</A><A NAME="538"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000539.html">[99s-extend] Help to use frameset in index.html +</A><A NAME="539"> </A> +<I>Robert Balogh +</I> + +<LI><A HREF="000540.html">[99s-extend] Websocket vs. Request-Response msg pair +</A><A NAME="540"> </A> +<I>Robert Balogh +</I> + +<LI><A HREF="000541.html">[99s-extend] Websocket vs. Request-Response msg pair +</A><A NAME="541"> </A> +<I>Graham Hay +</I> + +<LI><A HREF="000543.html">[99s-extend] Websocket vs. Request-Response msg pair +</A><A NAME="543"> </A> +<I>Bas Wegh +</I> + +<LI><A HREF="000542.html">[99s-extend] Websocket vs. Request-Response msg pair +</A><A NAME="542"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000544.html">[99s-extend] Websocket vs. Request-Response msg pair +</A><A NAME="544"> </A> +<I>Robert Balogh +</I> + + </ul> + <p> + <a name="end"><b>Last message date:</b></a> + <i>Wed Jun 24 12:41:16 CEST 2015</i><br> + <b>Archived on:</b> <i>Wed Jun 24 12:41:06 CEST 2015</i> + <p> + <ul> + <li> <b>Messages sorted by:</b> + <a href="thread.html#start">[ thread ]</a> + <a href="subject.html#start">[ subject ]</a> + <a href="author.html#start">[ author ]</a> + + <li><b><a href="https://lists.ninenines.eu/listinfo/extend">More info on this list... + </a></b></li> + </ul> + <p> + <hr> + <i>This archive was generated by + Pipermail 0.09 (Mailman edition).</i> + </BODY> +</HTML> + diff --git a/_build/static/archives/extend/2015-June/index.html b/_build/static/archives/extend/2015-June/index.html new file mode 120000 index 00000000..db4b46f7 --- /dev/null +++ b/_build/static/archives/extend/2015-June/index.html @@ -0,0 +1 @@ +thread.html
\ No newline at end of file diff --git a/_build/static/archives/extend/2015-June/subject.html b/_build/static/archives/extend/2015-June/subject.html new file mode 100644 index 00000000..61715ef2 --- /dev/null +++ b/_build/static/archives/extend/2015-June/subject.html @@ -0,0 +1,117 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <title>The Extend June 2015 Archive by subject</title> + <META NAME="robots" CONTENT="noindex,follow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <a name="start"></A> + <h1>June 2015 Archives by subject</h1> + <ul> + <li> <b>Messages sorted by:</b> + <a href="thread.html#start">[ thread ]</a> + + <a href="author.html#start">[ author ]</a> + <a href="date.html#start">[ date ]</a> + + <li><b><a href="https://lists.ninenines.eu/listinfo/extend">More info on this list... + </a></b></li> + </ul> + <p><b>Starting:</b> <i>Fri Jun 19 15:47:14 CEST 2015</i><br> + <b>Ending:</b> <i>Wed Jun 24 12:41:16 CEST 2015</i><br> + <b>Messages:</b> 14<p> + <ul> + +<LI><A HREF="000531.html">[99s-extend] [ANN] The Erlanger Playbook early release +</A><A NAME="531"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000532.html">[99s-extend] Help to use frameset in index.html +</A><A NAME="532"> </A> +<I>Robert Balogh +</I> + +<LI><A HREF="000533.html">[99s-extend] Help to use frameset in index.html +</A><A NAME="533"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000534.html">[99s-extend] Help to use frameset in index.html +</A><A NAME="534"> </A> +<I>Graham Hay +</I> + +<LI><A HREF="000535.html">[99s-extend] Help to use frameset in index.html +</A><A NAME="535"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000536.html">[99s-extend] Help to use frameset in index.html +</A><A NAME="536"> </A> +<I>Robert Balogh +</I> + +<LI><A HREF="000537.html">[99s-extend] Help to use frameset in index.html +</A><A NAME="537"> </A> +<I>Graham Hay +</I> + +<LI><A HREF="000538.html">[99s-extend] Help to use frameset in index.html +</A><A NAME="538"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000539.html">[99s-extend] Help to use frameset in index.html +</A><A NAME="539"> </A> +<I>Robert Balogh +</I> + +<LI><A HREF="000540.html">[99s-extend] Websocket vs. Request-Response msg pair +</A><A NAME="540"> </A> +<I>Robert Balogh +</I> + +<LI><A HREF="000541.html">[99s-extend] Websocket vs. Request-Response msg pair +</A><A NAME="541"> </A> +<I>Graham Hay +</I> + +<LI><A HREF="000543.html">[99s-extend] Websocket vs. Request-Response msg pair +</A><A NAME="543"> </A> +<I>Bas Wegh +</I> + +<LI><A HREF="000542.html">[99s-extend] Websocket vs. Request-Response msg pair +</A><A NAME="542"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000544.html">[99s-extend] Websocket vs. Request-Response msg pair +</A><A NAME="544"> </A> +<I>Robert Balogh +</I> + + </ul> + <p> + <a name="end"><b>Last message date:</b></a> + <i>Wed Jun 24 12:41:16 CEST 2015</i><br> + <b>Archived on:</b> <i>Wed Jun 24 12:41:06 CEST 2015</i> + <p> + <ul> + <li> <b>Messages sorted by:</b> + <a href="thread.html#start">[ thread ]</a> + + <a href="author.html#start">[ author ]</a> + <a href="date.html#start">[ date ]</a> + <li><b><a href="https://lists.ninenines.eu/listinfo/extend">More info on this list... + </a></b></li> + </ul> + <p> + <hr> + <i>This archive was generated by + Pipermail 0.09 (Mailman edition).</i> + </BODY> +</HTML> + diff --git a/_build/static/archives/extend/2015-June/thread.html b/_build/static/archives/extend/2015-June/thread.html new file mode 100644 index 00000000..993cb69f --- /dev/null +++ b/_build/static/archives/extend/2015-June/thread.html @@ -0,0 +1,141 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <title>The Extend June 2015 Archive by thread</title> + <META NAME="robots" CONTENT="noindex,follow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <a name="start"></A> + <h1>June 2015 Archives by thread</h1> + <ul> + <li> <b>Messages sorted by:</b> + + <a href="subject.html#start">[ subject ]</a> + <a href="author.html#start">[ author ]</a> + <a href="date.html#start">[ date ]</a> + + <li><b><a href="https://lists.ninenines.eu/listinfo/extend">More info on this list... + </a></b></li> + </ul> + <p><b>Starting:</b> <i>Fri Jun 19 15:47:14 CEST 2015</i><br> + <b>Ending:</b> <i>Wed Jun 24 12:41:16 CEST 2015</i><br> + <b>Messages:</b> 14<p> + <ul> + +<!--0 01434721634.531- --> +<LI><A HREF="000531.html">[99s-extend] [ANN] The Erlanger Playbook early release +</A><A NAME="531"> </A> +<I>Loïc Hoguin +</I> + +<!--0 01435048096.532- --> +<LI><A HREF="000532.html">[99s-extend] Help to use frameset in index.html +</A><A NAME="532"> </A> +<I>Robert Balogh +</I> + +<UL> +<!--1 01435048096.532-01435049762.533- --> +<LI><A HREF="000533.html">[99s-extend] Help to use frameset in index.html +</A><A NAME="533"> </A> +<I>Loïc Hoguin +</I> + +<UL> +<!--2 01435048096.532-01435049762.533-01435050395.534- --> +<LI><A HREF="000534.html">[99s-extend] Help to use frameset in index.html +</A><A NAME="534"> </A> +<I>Graham Hay +</I> + +<UL> +<!--3 01435048096.532-01435049762.533-01435050395.534-01435050567.535- --> +<LI><A HREF="000535.html">[99s-extend] Help to use frameset in index.html +</A><A NAME="535"> </A> +<I>Loïc Hoguin +</I> + +<!--3 01435048096.532-01435049762.533-01435050395.534-01435050567.535-01435050702.536- --> +<LI><A HREF="000536.html">[99s-extend] Help to use frameset in index.html +</A><A NAME="536"> </A> +<I>Robert Balogh +</I> + +<!--3 01435048096.532-01435049762.533-01435050395.534-01435050567.535-01435050710.537- --> +<LI><A HREF="000537.html">[99s-extend] Help to use frameset in index.html +</A><A NAME="537"> </A> +<I>Graham Hay +</I> + +<!--3 01435048096.532-01435049762.533-01435050395.534-01435050567.535-01435050710.537-01435050776.538- --> +<LI><A HREF="000538.html">[99s-extend] Help to use frameset in index.html +</A><A NAME="538"> </A> +<I>Loïc Hoguin +</I> + +<!--3 01435048096.532-01435049762.533-01435050395.534-01435050567.535-01435050710.537-01435050776.538-01435050905.539- --> +<LI><A HREF="000539.html">[99s-extend] Help to use frameset in index.html +</A><A NAME="539"> </A> +<I>Robert Balogh +</I> + +</UL> +</UL> +</UL> +<!--0 01435137530.540- --> +<LI><A HREF="000540.html">[99s-extend] Websocket vs. Request-Response msg pair +</A><A NAME="540"> </A> +<I>Robert Balogh +</I> + +<UL> +<!--1 01435137530.540-01435141179.541- --> +<LI><A HREF="000541.html">[99s-extend] Websocket vs. Request-Response msg pair +</A><A NAME="541"> </A> +<I>Graham Hay +</I> + +<!--1 01435137530.540-01435141689.543- --> +<LI><A HREF="000543.html">[99s-extend] Websocket vs. Request-Response msg pair +</A><A NAME="543"> </A> +<I>Bas Wegh +</I> + +<UL> +<!--2 01435137530.540-01435141689.543-01435142476.544- --> +<LI><A HREF="000544.html">[99s-extend] Websocket vs. Request-Response msg pair +</A><A NAME="544"> </A> +<I>Robert Balogh +</I> + +</UL> +<!--1 01435137530.540-01435141701.542- --> +<LI><A HREF="000542.html">[99s-extend] Websocket vs. Request-Response msg pair +</A><A NAME="542"> </A> +<I>Loïc Hoguin +</I> + +</UL> + </ul> + <p> + <a name="end"><b>Last message date:</b></a> + <i>Wed Jun 24 12:41:16 CEST 2015</i><br> + <b>Archived on:</b> <i>Wed Jun 24 12:41:06 CEST 2015</i> + <p> + <ul> + <li> <b>Messages sorted by:</b> + + <a href="subject.html#start">[ subject ]</a> + <a href="author.html#start">[ author ]</a> + <a href="date.html#start">[ date ]</a> + <li><b><a href="https://lists.ninenines.eu/listinfo/extend">More info on this list... + </a></b></li> + </ul> + <p> + <hr> + <i>This archive was generated by + Pipermail 0.09 (Mailman edition).</i> + </BODY> +</HTML> + |