Hi,
I’m trying to redirect the shinyproxy traffic with Apache2 httpd and it only partially works with this config:
<VirtualHost *:80>
ServerName 127.0.0.1
ProxyRequests Off
ProxyPass / http://123.456.78.910:8080/
ProxyPassReverse / http://123.456.78.910:8080/
SSLProxyEngine on
The app page starts loading and text, header, logos loaded but the page becomes grey and stops loading and no other content appears (like shiny charts for instance), it looks like a Timeout issue.
Right after when the page greyed out I can see the following row in the DEBUG log:
response terminated for request to localhost/127.0.0.1:20000 /websocket/
I found this in the DEBUG logs, maybe these are missing and not mapped correctly…
o.s.s.w.u.matcher.AntPathRequestMatcher : Checking match of request : ‘/login’; against ‘/css/’
o.s.s.w.u.matcher.AntPathRequestMatcher : Checking match of request : ‘/login’; against '/img/’
o.s.s.w.u.matcher.AntPathRequestMatcher : Checking match of request : ‘/login’; against ‘/js/’
o.s.s.w.u.matcher.AntPathRequestMatcher : Checking match of request : ‘/login’; against '/assets/’
o.s.s.w.u.matcher.AntPathRequestMatcher : Checking match of request : ‘/login’; against ‘/webjars/**’
I tried also ProxyPassMatch “^/(.+)/websocket” “ws://123.456.78.910:8080/$1/websocket” keepalive=On based on Apache proxy in front of shinyproxy but no luck so far. Pages are still loaded partially.
Any help appreciated! Thanks,
Imre