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

Posts: 3
Joined: 26 Jan 2011, 16:30

08 May 2018, 15:44

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.

Posts: 2313
Joined: 22 Apr 2013, 15:48

17 May 2018, 13:54

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!
PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 8.0.3 / PF Extensions 8.0.4

Posts: 4580
Joined: 29 Jun 2013, 12:38

22 May 2018, 09:19

Thanks a lot, @daniel.lichtenberger :)

Posts: 16
Joined: 20 Jun 2018, 17:51
Location: Krefeld, Germany

31 Oct 2018, 22:16

General idea: There is a fixed version 1.0.4 out, maybe upgrade to it?

Posts: 4580
Joined: 29 Jun 2013, 12:38

01 Nov 2018, 07:53

@Quix0r, +1 ;)

PrimeFaces Core Developer
Posts: 3805
Joined: 03 Dec 2010, 14:11
Location: Bavaria, DE

15 Nov 2018, 12:51

we removed the logging of stacktrace in case of a ClientAbort in MyFaces: https://issues.apache.org/jira/browse/MYFACES-3736
Thomas Andraschko

PrimeFaces | PrimeFaces Extensions

Apache Member | OpenWebBeans, DeltaSpike, MyFaces, BVal, TomEE

Sponsor me: https://github.com/sponsors/tandraschko
Blog: http://tandraschko.blogspot.de/
Twitter: https://twitter.com/TAndraschko

Post Reply

Return to “Atlantis - PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 2 guests