<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Answers to: How can I configure IIS 8.0 and Primepush</title><link>https://answers.axonivy.com/questions/1457/how-can-i-configure-iis-8-0-and-primepush</link><description>&lt;p&gt;Hello Everybody!&lt;/p&gt;
&lt;p&gt;I have deployed an Ivy project behind IIS8 and all functionalities works fine except primepush. Could you please give me some tips or guidelines to configure IIS8 to work with primepush?&lt;/p&gt;
&lt;p&gt;Thanks for your help,&lt;/p&gt;</description><atom:link href="https://answers.axonivy.com/questions/1457/how-can-i-configure-iis-8-0-and-primepush" rel="self"></atom:link><language>en</language><lastBuildDate>Tue, 08 Sep 2015 14:35:07 -0400</lastBuildDate><item><title>Answer by Reguel Wermelinger</title><link>https://answers.axonivy.com/questions/1457/how-can-i-configure-iis-8-0-and-primepush/1466</link><description>&lt;p&gt;The IIS load balancer communicates to the ivy server via AJP protocol. 
But it seems like the AJP protocol does not support websockets: &lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://stackoverflow.com/questions/10536718/tomcat-7-websockects-through-ajp-not-working-any-suggestions"&gt;http://stackoverflow.com/questions/10536718/tomcat-7-websockects-through-ajp-not-working-any-suggestions&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://stackoverflow.com/questions/25658871/is-there-a-solution-for-ajp-proxied-websocket-connections"&gt;http://stackoverflow.com/questions/25658871/is-there-a-solution-for-ajp-proxied-websocket-connections&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;A possible work around could be that you use Apache as laod balancer instead of IIS. As there seems to be a module which supports proxied websockets:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://httpd.apache.org/docs/2.4/mod/mod_proxy_wstunnel.html"&gt;mod_ proxy_wstunnel&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://events.linuxfoundation.org/sites/events/files/slides/TomcatConnectorsEU_0.pdf"&gt;TomcatConnectors comparision&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img alt="alt text" src="http://answers.axonivy.com/upfiles/tomcatConnector_conclusion.PNG"&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Reguel Wermelinger</dc:creator><pubDate>Tue, 08 Sep 2015 14:35:07 -0400</pubDate><guid>https://answers.axonivy.com/questions/1457/how-can-i-configure-iis-8-0-and-primepush/1466</guid></item><item><title>Comment by Reguel Wermelinger on Hap Em's question</title><link>https://answers.axonivy.com/questions/1457/how-can-i-configure-iis-8-0-and-primepush#1465</link><description>&lt;p&gt;can you provide more informations out of the atmosphere framework? &lt;/p&gt;
&lt;p&gt;I'd try to raise the log level for Atmosphere. To do so copy the following xml into your &lt;code&gt;engine/configuration/log4jconfig.xml&lt;/code&gt;:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;&amp;lt;category name="org.atmosphere.cpr.AtmosphereFramework" class="ch.ivyteam.log.Logger"&amp;gt;
    &amp;lt;priority value="INFO"/&amp;gt;
&amp;lt;/category&amp;gt;
&lt;/code&gt;&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Reguel Wermelinger</dc:creator><pubDate>Tue, 08 Sep 2015 14:30:29 -0400</pubDate><guid>https://answers.axonivy.com/questions/1457/how-can-i-configure-iis-8-0-and-primepush#1465</guid></item><item><title>Comment by Hap Em on Hap Em's question</title><link>https://answers.axonivy.com/questions/1457/how-can-i-configure-iis-8-0-and-primepush#1464</link><description>&lt;p&gt;For more information!&lt;br&gt;
Log in AJP:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;[Tue Sep 08 19:04:15.860 2015] [11936:13156] [debug] ajp_unmarshal_response::jk_ajp_common.c (681): status = 101
[Tue Sep 08 19:04:15.910 2015] [11936:13156] [debug] ajp_unmarshal_response::jk_ajp_common.c (688): Number of headers is = 4
[Tue Sep 08 19:04:15.944 2015] [11936:13156] [debug] ajp_unmarshal_response::jk_ajp_common.c (744): Header[0] [X-Atmosphere-tracking-id] = [dfce62b7-969c-42a1-900b-3001e445ee38]
[Tue Sep 08 19:04:15.965 2015] [11936:13156] [debug] ajp_unmarshal_response::jk_ajp_common.c (744): Header[1] [Upgrade] = [websocket]
[Tue Sep 08 19:04:15.986 2015] [11936:13156] [debug] ajp_unmarshal_response::jk_ajp_common.c (744): Header[2] [Connection] = [upgrade]
[Tue Sep 08 19:04:16.036 2015] [11936:13156] [debug] ajp_unmarshal_response::jk_ajp_common.c (744): Header[3] [Sec-WebSocket-Accept] = [U9wIIOvWI6YoaALUs6e7o45zmmQ=]
[Tue Sep 08 19:04:16.069 2015] [11936:13156] [debug] start_response::jk_isapi_plugin.c (1026): Starting response for URI '/ivy/primepush/Inbox/810/FL01/12989' (protocol HTTP/1.1)
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Log in IIS: &lt;/p&gt;
&lt;pre&gt;&lt;code&gt;Headers
Upgrade: Websocket
Server: Microsoft-IIS/8.0
X-Atmosphere-tracking-id: dfce62b7-969c-42a1-900b-3001e445ee38
Sec-WebSocket-Accept: U9wIIOvWI6YoaALUs6e7o45zmmQ=
Connection: Upgrade

ErrorCode
The parameter is incorrect.
 (0x80070057)
&lt;/code&gt;&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Hap Em</dc:creator><pubDate>Tue, 08 Sep 2015 14:17:10 -0400</pubDate><guid>https://answers.axonivy.com/questions/1457/how-can-i-configure-iis-8-0-and-primepush#1464</guid></item><item><title>Comment by Hap Em on Hap Em's question</title><link>https://answers.axonivy.com/questions/1457/how-can-i-configure-iis-8-0-and-primepush#1460</link><description>&lt;p&gt;Yes, I have implemented like the existing answer for 5.1 and it works fine when i run primepush directly through Ivy server link.&lt;/p&gt;

&lt;p&gt;I just got a problem when I run primepush through IIS.&lt;br&gt;
It showed a message in chrome console:&lt;br&gt;
&lt;i&gt;WebSocket connection to 'ws://winserver2012:8019/ivy/primepush/Inbox/810/FL01/12989?X-Atmosphere-tracking-id=0&amp;amp;X-Atmosphere-Framework=2.2.0-javascript&amp;amp;X-Atmosphere-Transport=websocket&amp;amp;X-Atmosphere-TrackMessageSize=true&amp;amp;X-Cache-Date=0&amp;amp;X-atmo-protocol=true' failed: Error during WebSocket handshake: net::ERR_CONNECTION_RESET&lt;/i&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Hap Em</dc:creator><pubDate>Mon, 07 Sep 2015 17:35:35 -0400</pubDate><guid>https://answers.axonivy.com/questions/1457/how-can-i-configure-iis-8-0-and-primepush#1460</guid></item><item><title>Comment by Reguel Wermelinger on Hap Em's question</title><link>https://answers.axonivy.com/questions/1457/how-can-i-configure-iis-8-0-and-primepush#1459</link><description>&lt;p&gt;Did you check the existing answer for 5.0 and 5.1? I assume that you problem has nothing to do with IIS 8 - but with the primefaces and ivy version you use.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://answers.axonivy.com/questions/10/can-i-use-primepush-in-xpert-ivy"&gt;http://answers.axonivy.com/questions/10/can-i-use-primepush-in-xpert-ivy&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Reguel Wermelinger</dc:creator><pubDate>Mon, 07 Sep 2015 16:35:20 -0400</pubDate><guid>https://answers.axonivy.com/questions/1457/how-can-i-configure-iis-8-0-and-primepush#1459</guid></item></channel></rss>