External RSS feeds in dashboard while RTC server firewalled
How do you configure RTC to use a HTTP proxy server to access external content to display in the dashboard(s)?
Using:
...does not seem to work. I'm using the packaged Tomcat as application server.
Using:
CATALINA_OPTS="$CATALINA_OPTS -Dhttp.proxyHost=<proxyserver>
CATALINA_OPTS="$CATALINA_OPTS -Dhttp.proxyPort=<proxyport>
...does not seem to work. I'm using the packaged Tomcat as application server.
2 answers
Hi Herman,
I don't believe there's any official support for this, but the dashboard fetches its feeds using the normal java API:
HttpURLConnection connection = (HttpURLConnection)new URL(url).openConnection();
So it should be affected by any global settings like the ones you've tried, although if the proxy requires authentication, we'd probably need to add code to support this. But otherwise I can't see any reason why the params you've specified wouldn't work. Can you confirm these are the VM arguments, and not program arguments ? Otherwise, I'd recommend checking the logs, or trying it out on a simple Java class that just opens the connection, and see what the exception says.
I don't believe there's any official support for this, but the dashboard fetches its feeds using the normal java API:
HttpURLConnection connection = (HttpURLConnection)new URL(url).openConnection();
So it should be affected by any global settings like the ones you've tried, although if the proxy requires authentication, we'd probably need to add code to support this. But otherwise I can't see any reason why the params you've specified wouldn't work. Can you confirm these are the VM arguments, and not program arguments ? Otherwise, I'd recommend checking the logs, or trying it out on a simple Java class that just opens the connection, and see what the exception says.