Firefox not displaying PDF in primefaces p:media component on a remote server - pdf

I have a JSF application that uses Primefaces 7.0. Some of its pages use the p:media component to display the content of PDF files. When installed on a remote linux server, the application does not show the content of the PDF if used with Firefox 67.0. It works fine with Chrome and IE. And it works perfectly on my Windows 10 PC, even with Firefox. To make it even wierder, inspecting the element makes it visible in my laptop, but not in my desktop computer. Has anyone else a similar problem? Please advice.
EDIT 11/11/2019: Today I learned that the problem occurs when using https instead of http. Therefore, it doesn't really matter that the server is remote; what happens is that on our remote (and public) server we use https

Related

Yosemite cert problems

On Yosemite, I am unable to access multiple pages using Chrome & Safari, but for some reason Firefox always works. But with this, I'm unable to install certain tools using terminal which is the real problem. For instance, python.org is unable to load because Safari can't establish a secure connection (same with chrome). Firefox opens the site just fine, is there any reason behind that?
Update
Not behind a proxy. I'll stick with GitHub.com as an example. It opens perfect on firefox, no problems. With Chrome, it will come up without any styling (css/images), just the plain text. If i open the developer console, there are a bunch of "Failed to load resource: net::ERR_INSECURE_RESPONSE", its all the styling that didn't load. Same with safari, text show but no styling.

Bootstrap 3 navigation toggle button always appearing in IE11 (on remote server)

I'm experiencing a very strange behaviour with Bootstrap 3 when viewing in Internet Explorer. My nav bar works perfectly locally (I'm using VS2012, so the page is being served by IIS Express), but when I deploy it to one of our internal servers (running full IIS) it always appears collapsed (even if I stretch the browser across both my monitors!)
If I user Chrome, it works perfectly.
I've compared the files that are downloaded in each case, and they are identical. I have even create a test file which uses the example nav bar from the bootstrap website, and I see the same behaviour.
So, to summarize:
Local / IE Works
Local / Chrome Works
Remote / IE Does not work
Remote / Chrome Works
Any pointers about this very strange behaviour would be very much appreciated!
I found the problem, and it is Internet Explorer's compatibility settings.
Under Tools > Compatibility View Settings dialog there is a checkbox which says "Display intranet sites in Compatibility View".
This setting meant IE used an older rendering engine, which did not work very well with Bootstrap. Once it was turned off everything was fine.

Apache CentOS HTTP Test Page displays - but only for my specific browser

A client's website was working fine, until they had some problems with their web host. Temporarily, the Apache CentOS Test Page was visible. The host claim the problem is fixed - and it seems to be - for everyone but me...
I'm using Safari 7 on OS X Mavericks and every single time when I visit their site I still see the test page.
When anyone else uses their own computer with any browser, it works fine...
When I use Chrome on my Mac it works fine... So the problem is just with Safari.
I've tried clearing Safari's cache
I've tried clearing the DNS cache
I've tried a restart
But I've got no idea why I can't access it. I need to access the site to work on it - yes I can use Chrome, but Safari is my primary browser. Any ideas?
It turned out this was caused by an issue in a Regex within Apache's Mod_Security. The Regex falsely identified a string contained within a cookie as being an SQL injection (it wasn't - purely coincidental).

Video not working in IE 10 without compatibility view enabled

i am trying to embed a video on a web page using video.js.
The video should play on mayor browsers. On Chrome and Firefox it is working fine, but i can not make it work in IE 10 on my local machine (Server 2008 R2). My html code is 100% of the supplied demo.html which is also not working on IE 10. I used absolute urls for video source and added mime types for video formats and additional files in IIS. When i use the compatibility view button, the movie works.
The following error code is displayed in the IE 10 console.
Video Error,[object Object]
The video is also working fine when i use another computer (windows 7, with IE 10, and without compatibility view) to surf to my dev machine, so i assume i have a local problem.
How can i debug this?

Apache not loading CSS files on remote browsers but works on localhost

I have an ubuntu installation on my laptop i use for web app development. When i type in http://localhost/blah.php i see my php web page as i normally would with all css style loaded and rendering fine.
When i try to connect to this same apache server from a remote machine by typing in the IP address the page loads but without any css styling at all. I also get the same problem trying to connect to the apache server from a virtual machine on the same box. I would like to get this working so i can test my web apps in IE but obviously css not loading is a problem. Any tips ?
Look into your source code and look how your style sheets are referenced.
If you have references to http://localhost/mystylesheet.css, that's your problem right there.
If that doesn't help, try to access a style sheet directly (enter the address in the browser) and tell us what happens. Also post the URL you are using. The head of the HTML document you are calling would also be helpful.