#1 2019-03-04 03:18:01

pipchan
Member
Registered: 2014-11-25

ReportServer unable to list reporttree via reverse proxy using host IP

vGTOhaSZMlSRAlZOQVkQzXCN

If access by localhost via Apache reverse proxy, the reportmanger_ds will return normal to frontend. But if I turn to use the host IP or host name to access the reportserver via apache reverse proxy. It will have the following problem.

BjiYGWtgJzeCnakiwZzRKcSl

The reportserver3 (v3.0.5 with Jboss config) installed on the JBoss EAP 7.1 with Apache2.4 reverse proxy.  Same setup of Apache reverse proxy has been used for the Jboss EAP 7.0 with ReportServer 3.0.3 EE setup. This testing environment we updated the JBoss to 7.1 and ReportServer to 3.0.5 CE.


Apache config
it use jk_mod for reverse proxy for JBoss

jk_mod.conf

LoadModule jk_module modules/mod_jk.so
JkWorkersFile conf/jk/workers.properties
JkLogFile "|bin/rotatelogs.exe -l -f C:/Apache24/logs/mod_jk.%Y-%m-%d.log 86400 "
JkLogLevel debug
JkLogStampFormat  "[%a %b %d %H:%M:%S %Y]"
JkOptions +ForwardKeySize -ForwardDirectories
JkRequestLogFormat "%w %V %T"
JkMountFile conf/jk/uriworkermap.properties
JkShmFile logs/jk.shm
<Location /jkstatus/>
JkMount status
</Location>

uriworkermap.properties

/reportserver3/*=host01  

workers.properties

worker.list=template,host01
worker.template.host=localhost
worker.template.type=ajp13
worker.template.ping_mode=A
worker.template.socket_timeout=10
# Define Node11
worker.node11.reference=worker.template
worker.node11.port=8109
                  #8009+100                
worker.node11.lbfactor=1
# Load-balancing behavior
worker.host01.type=lb
worker.host01.balance_workers=node11

We did tried the normal reverse proxy, config as below also failed

ProxyPass         "/reportserver3/"  "balancer://reportservergroup/reportserver3/" nocanon
ProxyPassReverse  "/reportserver3/"  "balancer://reportservergroup/reportserver3/" nocanon     

where reportservergroup is configured as below

<Proxy "balancer://reportservergroup">
    BalancerMember "http://localhost:8180" route=1
    ProxySet stickysession=ROUTEID
</Proxy>    

From this setup, I tested in clear Chrome at remote host, and the last reportmanager_tree return abnormal string array when compare with the localhost:8180 direct access OR localhost with reverse proxy at local host to the JBoss instance.

There is no server error belong logged which looks related to the above issue.

Last edited by pipchan (2019-03-04 03:20:00)

Offline

Board footer

Powered by FluxBB