Access Jasper with a proxy (401 UnAuthorized)

0

Hello everyone,

I have found an interesting medium tutorial to configure a proxy on an apache server

(https://medium.com/code-divoire/reverse-proxying-an-angular-cli-spa-with...)

 

I have followed this tutorial and updated my jasper configuration :

update of tomcat_path/config/server.xml :

<Connector port="8080" 
      connectionTimeout="20000" 
      redirectPort="8443"
      maxThreads="48" 
      minSpareThreads="10"           
      enableLookups="false"
      acceptCount="10" 
      debug="0" 
      URIEncoding="UTF-8"
      protocol="HTTP/1.1"
      hostname="my_custom_domain.tk"
      proxyName="my_custom_domain.tk"
      proxyPort="80" 
      scheme="http">
    </Connector>

update of tomcat_path/webapps/jasperserver-pro/webinf/js.config.properties with my proxy adress :

deploy.base.url = "http://my_custom_domain.tk"
report.scheduler.web.deployment.uri = "http://my_custom_domain.tk"

But when I launch the jasper server and sign in, I have a 401 unauthorized message and my webpage is reloading over and over without interruption.

Has someone already ran into that kind of problem before ?

 

jeanpierrepolnareff91's picture
Joined: May 22 2019 - 1:10am
Last seen: 3 days 3 hours ago

0 Answers:

No answers yet
Feedback