0
I put a project JSF with primefaces stop rotating with https and when we enter the IE11 a surprise: it doesn’t work!
Triggers a browser error like this:
CSS3111: @font-face Detected an Unknown error. File: Sohogothicpro-Light.Woff
With http everything works a wonder, like SSL in the IE nay. Has anyone there been there? Any idea how to solve?
I believe that in HTTPS the "fallback" is not being loaded, it can also be a problem with CORS. It has how to provide details?
– Guilherme Nascimento
There is no secret. We developed the product without problems. When I put into production with reverse proxy doing SSL, IE11 does not work. I tried to open the CORS 100% and continued with the same error
– Fernando Franzini
Open CORS? Talk adjust headers? If this is ok, tell me outside this error, appears other errors on the console when on HTTPS?
– Guilherme Nascimento
That’s right. On the microsoft website it says: "An unknown problem has been found with the "Web Open Font Format (WOFF)", and "Embedded Opentype (EOT)" font of the Cascade Style Sheets (CSS)."
– Fernando Franzini
No one from the official forum answers me. I have tested prime version 5 up to 6.1. All generate this error.
– Fernando Franzini
How much runs the project without SSL. Everything works 100%. The problem is HTTPS.
– Fernando Franzini
Yes, that’s exactly what I said, a fallback problem (if there’s fallback to the source), assuming the fallback source hasn’t loaded so it ends up loading the other source, that error is actually quite ambiguous, there’s no way to know, I’m just guessing that it’s a problem when loading the fallback source for IE, so I asked if there are other errors, should not be in WOFF should be in fallback.
– Guilherme Nascimento
Only this error appears. There are no others!
– Fernando Franzini
Put the CSS part that has the sources, it is almost certain that it is a fallback problem, it can also be a cache problem and maybe the error is occurring "without SSL", but the cache is "tricking you", as I said the problem is ambiguous, no details have no way to respond.
– Guilherme Nascimento
There is no CSS. The error happens inside the.wof file. When I open it, it only has a broken character.
– Fernando Franzini
What is this fallback?
– Fernando Franzini
Probably is not inside the Fernanado font, the error may be inside the Woff, but understand that for IE it will use something other than the Woff, we call fallback, a feature or alternative resource, or alternative source, on its own
@font
vc configures multiple sources, the one that load will be used if it doesn’t work is loaded another, in the case when vc uses SSL IE is not recognizing the fallback (probably alternative source) and ends up trying to load the Woff source, so please post the CSS, because the error is ambiguous (could be anything) as I’ve said.– Guilherme Nascimento
Summarizing vc may be correct, but this error clearly can only be determined with minimal code to analyze and make sure it is in SSL. We need details, ambiguous errors can not be determined, always provide details.
– Guilherme Nascimento
Primefaces generates a huge css. I will post here?
– Fernando Franzini
Post the relevant part of the CSS, as I mentioned before, the part where you have
@font
, only select and copy, if you have an online link of the page also send– Guilherme Nascimento
@font-face{font-family:'Fontawesome';src:url("/ib2/javax.faces.Resource/fa/fontawesome-Webfont.eot.faces? ln=primefaces&v=6.1? v=4.7.0");src:url("/ib2/javax.faces.Resource/fa/fontawesome-Webfont.eot.faces? ln=primefaces&v=6.1&#iefix&v=4.7.0") format('Embedded-opentype'),url("/ib2/javax.faces.Resource/fa/fontawesome-Webfont.woff2.faces? ln=primefaces&v=6.1? v=4.7.0") format('woff2'),url("/ib2/javax.faces.Resource/fa/fontawesome-Webfont.woff.faces? ln=primefaces&v=6.1? v=4.7.0") format('Woff'),url("/ib2/javax.faces.Resource/fa/fontawesome-Webfont.ttf.faces? ln=primefaces&v=6.1? v=4.7.0") format('truetype
– Fernando Franzini
This is the beginning...
– Fernando Franzini
Edit the question Fernando, do not post in the comment.
– Guilherme Nascimento