Hello Everybody!

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?

Thanks for your help,

asked 07.09.2015 at 14:17

Hap%20Em's gravatar image

Hap Em
accept rate: 0%

edited 06.09.2018 at 06:32

Reguel%20Wermelinger's gravatar image

Reguel Werme... ♦♦

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.


(07.09.2015 at 16:35) Reguel Werme... ♦♦ Reguel%20Wermelinger's gravatar image

Yes, I have implemented like the existing answer for 5.1 and it works fine when i run primepush directly through Ivy server link.

I just got a problem when I run primepush through IIS.
It showed a message in chrome console:
WebSocket connection to 'ws://winserver2012:8019/ivy/primepush/Inbox/810/FL01/12989?X-Atmosphere-tracking-id=0&X-Atmosphere-Framework=2.2.0-javascript&X-Atmosphere-Transport=websocket&X-Atmosphere-TrackMessageSize=true&X-Cache-Date=0&X-atmo-protocol=true' failed: Error during WebSocket handshake: net::ERR_CONNECTION_RESET

(07.09.2015 at 17:35) Hap Em Hap%20Em's gravatar image

For more information!
Log in AJP:

[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)

Log in IIS:

Upgrade: Websocket
Server: Microsoft-IIS/8.0
X-Atmosphere-tracking-id: dfce62b7-969c-42a1-900b-3001e445ee38
Sec-WebSocket-Accept: U9wIIOvWI6YoaALUs6e7o45zmmQ=
Connection: Upgrade

The parameter is incorrect.
(08.09.2015 at 14:17) Hap Em Hap%20Em's gravatar image

can you provide more informations out of the atmosphere framework?

I'd try to raise the log level for Atmosphere. To do so copy the following xml into your engine/configuration/log4jconfig.xml:

<category name="org.atmosphere.cpr.AtmosphereFramework" class="ch.ivyteam.log.Logger">
    <priority value="INFO"/>
(08.09.2015 at 14:30) Reguel Werme... ♦♦ Reguel%20Wermelinger's gravatar image

The IIS load balancer communicates to the ivy server via AJP protocol. But it seems like the AJP protocol does not support websockets:

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:

alt text


answered 08.09.2015 at 14:35

Reguel%20Wermelinger's gravatar image

Reguel Werme... ♦♦
accept rate: 70%

edited 08.09.2015 at 15:10

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: 07.09.2015 at 14:17

Seen: 3,853 times

Last updated: 06.09.2018 at 06:32