Jump to content
Changes to the Jaspersoft community edition download ×

Jasperserver using https and Edge/Chrome browser


rene.j.bosch_1

Recommended Posts

Jasperserver 8.0.0 / Windows Server 2019

After upgrading to Jasperserver 8.0.0. I have set it up to use https rather than http.  As mentioned in the documentation I've added a connector in Tomcat's server.xml (port 8443) with a newly created keystore.  I changed Jaspersever's web.xml to accept SSL only.

Both locally and remotely this works reliably with Firefox and Safari, but not with Chrome based browsers such as Edge and Chrome itself.  Using Jasperserver is slow in any case (also with Safari and Firefox), but with Chrome/Edge it is even slower and more often than not ends with a blank screen.  Re-executing the URL will - usually after two or three attempts - give the desired result, but it is not really workable.  It can happen with any screen: log-in screen, home screen or a report result screen.

If I set up the system to use http rather than https, then everything works fine (and fast) with all browsers.

Did I do something wrong in the https set-up or missed an important step?

 

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

I think I cracked it.  I don't know for sure this is the solution but at least these changes coincided with differences in behaviour.

In de extra <connection> tag in Tomcat's server.xml I initially had the attribute:
protocol="http/1.1"
Which resulted in the erratice behaviour in Edge and Chrome.
I changed that to:
protocol="org.apache.coyote.http11.Http11NioProtocol"
Which strangely enough had the reverse effect.  HTTPS worked fine in Edge/Chrome but no longer in FF.
Then I noticed there is a third option: 

protocol="org.apache.coyote.http11.Http11Nio2Protocol"

in other words: with Nio2 in stead of Nio.
Again: whether that is actually the solution I'm not 100% sure, but for me it now works fine (and smooth) with all browsers I have available: Edge, Chrome, FF and Safari.

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...