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. |
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. |
Hi,
Yes, changing the JAVA_OPTS in server.startup did the trick. JAVA_OPTS="-Dhttp.proxyHost=<proxyhost> -Dhttp.proxyPort=<proxyport> $JAVA_OPTS" Thanks for the input! |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.