Page 2 of 2

Re: Upgrade to Primefaces 6.2, Primeface Extensions6.2.2, Atlantis 1.0.3

Posted: 08 May 2018, 15:44
by daniel.lichtenberger
We started to get similar log messages one or two months ago without upgrading PrimeFaces, using Wildfly 10.1.0. The post in the Wildfly/JBoss mailing list describes an issue with HTTPS or HTTP/2, but we only use HTTP 1.1. Also, in our case, the application works as usual - the only annoyance is these log messages about broken pipes.

I also use Firefox and looked into the actual TCP requests via Wireshark. The log messages correspond to HTTP requests that are canceled immediately after submitting them, before the server could send the response. I strongly suspect the "Race Cache With Network" feature which was enabled in Firefox 59 (released March 13) to be the cause.

With this feature, Firefox _may_ send requests for cached resources concurrently to the local disk cache and the actual network server. Whichever result arrives first is used - the other request is canceled (which would cause a log message about a "Broken pipe", as with other connection aborts).

The feature can be disabled in Firefox in about:config by setting network.http.rcwn.enabled to false. For me, I stopped getting log messages after setting this to false. Of course this is not a solution, but the log messages seem to be benign in our case and could be ignored.

For more information about this Firefox feature, see https://slides.com/valentingosu/race-ca ... twork-2017
I believe a future version of Firefox might also mark these "racing" requests in the network panel, which would make identifying problems like this a lot easier.

Re: Upgrade to Primefaces 6.2, Primeface Extensions6.2.2, Atlantis 1.0.3

Posted: 17 May 2018, 13:54
by Melloware
Nice post. To me this sounds like a risky feature of Firefox leading to potential problems like the one you discovered. To me Firefox should make this feature "off" by default and allow users to enable it!

Re: Upgrade to Primefaces 6.2, Primeface Extensions6.2.2, Atlantis 1.0.3

Posted: 22 May 2018, 09:19
by mert.sincan
Thanks a lot, @daniel.lichtenberger :)

Re: Upgrade to Primefaces 6.2, Primeface Extensions6.2.2, Atlantis 1.0.3

Posted: 31 Oct 2018, 22:16
by Quix0r
General idea: There is a fixed version 1.0.4 out, maybe upgrade to it?

Re: Upgrade to Primefaces 6.2, Primeface Extensions6.2.2, Atlantis 1.0.3

Posted: 01 Nov 2018, 07:53
by mert.sincan
@Quix0r, +1 ;)

Re: Upgrade to Primefaces 6.2, Primeface Extensions6.2.2, Atlantis 1.0.3

Posted: 15 Nov 2018, 12:51
by tandraschko
JFYI:
we removed the logging of stacktrace in case of a ClientAbort in MyFaces: https://issues.apache.org/jira/browse/MYFACES-3736