From george.labuschagne at megchem.co.za Mon Jul 30 08:09:29 2018 From: george.labuschagne at megchem.co.za (George Labuschagne) Date: Mon, 30 Jul 2018 14:09:29 +0200 Subject: [jboss-dev] X/Post from User List: After upgrading to JSF 2.3 - WildFly 13 Java EE 8 preview mode, iOS and Mac OSX fails to load HTTPS site getting UT005085 errors. Message-ID: <009001d427fe$2ace3300$806a9900$@megchem.co.za> Good day all I hope this is not frowned upon; if it is, sincerest apologies. I posted to the users list but perhaps there is a better chance getting an answer from the development list? Below is a copy and paste of the user list email chain so far: Good day According to this SO question's comments: https://stackoverflow.com/questions/51484592/site-rendering-broken-on-mobile -after-moving-to-jdk-10-and-jsf-2-3 and this error for Payara: https://github.com/payara/Payara/issues/2625 It seems to be a problem that has to do with HTTP/2 PUSH So why is this only effecting iOS and Mac OSX? And any suggestions on how to resolve this issue? Kind regards, George From: jboss-user-bounces at lists.jboss.org > On Behalf Of George Labuschagne Sent: Monday, 30 July 2018 11:29 To: 'The JBoss User main mailing list' > Subject: Re: [jboss-user] After upgrading to JSF 2.3 - WildFly 13 Java EE 8 preview mode, iOS and Mac OSX fails to load HTTPS site getting UT005085 errors. Good day I was able to get onto the local LAN with my phone and connected to a normal HTTP session from my iPhone. Works 100%, fast, beautifully rendered with no warnings or error in any logs. Kind regards, George From: jboss-user-bounces at lists.jboss.org > On Behalf Of George Labuschagne Sent: Monday, 30 July 2018 11:02 To: jboss-user at lists.jboss.org Subject: [jboss-user] After upgrading to JSF 2.3 - WildFly 13 Java EE 8 preview mode, iOS and Mac OSX fails to load HTTPS site getting UT005085 errors. Good day We are using WildFly 13 in Java EE 8 preview mode with TLS enabled for HTTPS However, since updating the POM file (contents included below) and a few places in the code itself, we are able to run JSF 2.3.5.SP1 with PrimeFaces 6.2.7 and OmniFaces 3.1 on all devices and browser combinations apart from Apple products without any issue. When connecting with a non Apple based device to the site, there are zero warnings or errors in the log file. Connecting using an Apple based device fails to load the site correctly as the log file (relevant snippets included below) shows lots of resources failing to load. The weird thing is that this only happens with iOS (even on iOS 12 beta 3) and latest Mac OSX (don't have older version of Mac OSX to test with). I logged this as a bug on Apple's site but it is my personal opinion based on past experience that the chances of getting a speedy reply from Apple on this is slim. The error log starts with these long one line errors: /* error log snippet line 1 2018-07-30 09:09:18,741 ERROR [io.undertow] (default task-3078) UT005085: Connection io.undertow.server.protocol.http2.Http2ServerConnection at 7e55834 for exchange HttpServerExchange{ GET /edsnext/javax.faces.resource/omnifaces.js.xhtml request {accept=[text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8], accept-language=[en-us], :authority=[edsnext.megchemsa.com:62543], accept-encoding=[gzip, deflate], :path=[/edsnext/javax.faces.resource/omnifaces.js.xhtml?ln=omnifaces&v=3.1], user-agent=[Mozilla/5.0 (iPhone; CPU iPhone OS 12_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0 Mobile/15E148 Safari/604.1], :scheme=[https], cookie=[JSESSIONID=U5X9u-A83bccAnpA1XUnEFzmngqI9iDJwuIiU_Qo], :method=[GET], Referer=[https://edsnext.megchemsa.com:62543/edsnext/], upgrade-insecure-requests=[1], Host=[edsnext.megchemsa.com:62543]} response {Expires=[Mon, 30 Jul 2018 09:57:18 GMT], ETag=[W/"5933-1532705069245"], Last-Modified=[Fri, 27 Jul 2018 15:24:29 GMT], Set-Cookie=[JSESSIONID=U5X9u-A83bccAnpA1XUnEFzmngqI9iDJwuIiU_Qo.edsnext; path=/edsnext], Content-Type=[application/javascript], Date=[Mon, 30 Jul 2018 07:09:18 GMT], :status=[200]}} was not closed cleanly, forcibly closing connection /* end of error log snippet line 1 It iterates over all the javax.faces.resources, giving one long error line per resource. Then it ends with long PrimeFaces warnings starting with: /* start of PrimeFaces warnings 2018-07-30 09:09:21,056 WARNING [javax.enterprise.resource.webcontainer.jsf.application] (default task-3091) JSF1064: Unable to find or serve resource, fa/fontawesome-webfont.eot, from library, primefaces. 2018-07-30 09:09:21,056 WARNING [javax.enterprise.resource.webcontainer.jsf.application] (default task-3084) JSF1064: Unable to find or serve resource, fonts/lato-regular-webfont.svg, from library, primefaces-omega. 2018-07-30 09:09:21,056 WARNING [javax.enterprise.resource.webcontainer.jsf.application] (default task-3082) JSF1064: Unable to find or serve resource, fa/fontawesome-webfont.ttf, from library, primefaces. 2018-07-30 09:09:21,056 WARNING [javax.enterprise.resource.webcontainer.jsf.application] (default task-3100) JSF1064: Unable to find or serve resource, fa/fontawesome-webfont.svg, from library, primefaces. 2018-07-30 09:09:21,056 WARNING [javax.enterprise.resource.webcontainer.jsf.application] (default task-3103) JSF1064: Unable to find or serve resource, fonts/lato-bold-webfont.svg, from library, primefaces-omega. 2018-07-30 09:09:21,056 WARNING [javax.enterprise.resource.webcontainer.jsf.application] (default task-3091) : java.nio.channels.ClosedChannelException /* end of PrimeFaces warnings This is followed by a stack trace dump from PrimeFaces But like I said previously, this only happens when browsing via iOS or Mac OSX. CentOS 7.5 with Chrome latest and FireFox Developer Edition latest as well as Windows 10 with all browsers works 100% no warnings or errors. Kind regards, George /* POM File 4.0.0 com.domain app 1.0-SNAPSHOT war ${project.artifactId} EDSNext http://edsnext.headoffice.megchem.co.za UTF-8 UTF-8 1.8 1.8 false JBoss public-jboss http://repository.jboss.org/nexus/content/groups/public-jboss/ java.net-maven2-SNAPSHOT-repository Java.net SNAPSHOT-Repository for Maven https://maven.java.net/content/repositories/snapshots/ default java.net-maven2-repository Java.net Repository for Maven https://maven.java.net/content/repositories/releases/ default oss.sonatype.org https://oss.sonatype.org/content/repositories/snapshots/ bintray-snapshot libs-snapshot http://oss.jfrog.org/artifactory/libs-snapshot false bintray-deluan-maven bintray http://dl.bintray.com/deluan/maven org.wildfly wildfly-spec-api 13.0.0.Final pom provided org.wildfly.bom wildfly-javaee7-with-tools provided pom 13.0.0.Final org.hibernate hibernate-core 5.3.1.Final provided org.hibernate.common hibernate-commons-annotations 5.0.2.Final provided org.hibernate.validator hibernate-validator 6.0.10.Final provided javax.persistence javax.persistence-api 2.2 org.hibernate hibernate-search-orm 5.5.8.Final provided org.jboss.spec.javax.faces jboss-jsf-api_2.3_spec 2.3.5.SP1 provided com.sun.faces jsf-impl 2.3.5.SP1 provided org.jboss.spec.javax.el jboss-el-api_3.0_spec 1.0.11.Final javax.el javax.el-api 3.0.1-b06 net.sf.jasperreports jasperreports 6.6.0 org.apache.httpcomponents httpclient 4.5.6 org.apache.httpcomponents httpcore 4.4.10 org.apache.shiro shiro-core 1.4.0 org.apache.shiro shiro-web 1.4.0 org.apache.shiro shiro-ehcache 1.4.0 org.primefaces primefaces 6.2.7 org.primefaces.extensions primefaces-extensions 6.2.7 org.omnifaces omnifaces 3.1 org.postgresql postgresql 42.2.4 org.apache.logging.log4j log4j-api 2.11.0 org.apache.logging.log4j log4j-core 2.11.0 org.apache.logging.log4j log4j-web 2.11.0 org.apache.logging.log4j log4j-slf4j-impl 2.11.0 com.intellij annotations 12.0 org.apache.commons commons-text 1.4 org.apache.poi poi 3.17 org.apache.poi poi-ooxml 3.17 org.apache.poi poi-scratchpad 3.17 org.apache.commons commons-lang3 3.7 commons-fileupload commons-fileupload 1.3.3 commons-io commons-io 2.6 org.projectlombok lombok 1.18.0 junit junit 4.12 test org.dbunit dbunit 2.5.4 test org.jboss.arquillian.junit arquillian-junit-container 1.4.0.Final test org.jboss.arquillian.extension arquillian-persistence-dbunit 1.0.0.Alpha7 test org.jboss.shrinkwrap.resolver shrinkwrap-resolver-impl-maven-archive 3.1.3 org.jboss.arquillian.graphene graphene-webdriver 2.3.2 pom test com.google.guava guava 25.1-jre test org.jboss.arquillian arquillian-bom 1.4.0.Final pom import org.jboss.arquillian.extension arquillian-drone-bom 2.5.1 pom import ${project.artifactId} org.apache.maven.plugins maven-enforcer-plugin 3.0.0-M2 enforce-maven enforce 3.3.9 /* end of POM file Disclaimer The information contained in this communication from the sender is confidential. It is intended solely for use by the recipient and others authorized to receive it. If you are not the recipient, you are hereby notified that any disclosure, copying, distribution or taking action in relation of the contents of this information is strictly prohibited and may be unlawful. This email has been scanned for viruses and malware, and automatically archived by Mimecast SA (Pty) Ltd, an innovator in Software as a Service (SaaS) for business. Mimecast Unified Email Management (UEM) offers email continuity, security, archiving and compliance with all current legislation. To find out more, visit http://www.mimecast.co.za/uem. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/jboss-development/attachments/20180730/fa30101f/attachment-0001.html