The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here

Rapidanalytics Proxy Settings

simonssimons Member Posts: 2 Contributor I
edited November 2018 in Help
Hi,

my RA Server runs in an internal network but needs/can get outside access via a proxy.

But I am wondering what are the correct settings (in the RA gui) to apply for this to work.

I tried:
ftp.proxyHost = proxy.server.at
ftp.proxyPort = proxy.server.at
ftp.proxySet = true

http.proxyHost = proxy.server.at
http.proxyPort = proxy.server.at
http.proxySet = true

https.proxyHost = proxy.server.at
https.proxyPort = proxy.server.at
https.proxySet = true

socksProxyHost = proxy.server.at
socksProxyPort = proxy.server.at

in several variations (without socks and empty string instead of "true") but neither seems to work.

Also modifying the run.config with the -DproxySet=true -DproxyHost=.. creates an "infinite memory leak" situation in my setup.


So what is the correct way to this?
Tagged:

Answers

  • simonssimons Member Posts: 2 Contributor I
    So I looked source for the RapidMiner.Init method, my property names seem correct.


    But still did anybody use RA behind a proxy and got outside? I am trying to use RM for a project that might be getting a lot bigger but without outside access the usability is greatly/nearby fataly reduced.
  • Marco_BoeckMarco_Boeck Administrator, Moderator, Employee-RapidMiner, Member, University Professor Posts: 1,996 RM Engineering
    Hi,

    the settings are the same as in RapidMiner. So when RapidMiner can connect to the outside world via Proxy, the same settings should work for RapidAnalytics.
    However the settings need to be added to the Java launch options, otherwise they will not work.

    Once the correct settings are known, you need to edit the configuration file in the RapidAnalytics folder.

       On Windows, edit the file bin\run.conf.bat. The last line should read

       :JAVA_OPTS_SET

       Before that line, add two lines saying

       set JAVA_OPTS="%JAVA_OPTS% -Dhttp.proxySet=true -Dhttp.proxyHost=host -Dhttp.proxyUsername=user -Dhttp.proxyPassword=password"
       set JAVA_OPTS="%JAVA_OPTS% -Dhttps.proxySet=true -Dhttps.proxyHost=host -Dhttps.proxyUsername=user -Dhttps.proxyPassword=password"

       On Linux and Unix, you should edit the file bin/run.conf. At the end, add two lines

       JAVA_OPTS="$JAVA_OPTS -Dhttp.proxySet=true -Dhttp.proxyHost=host -Dhttp.proxyUsername=user -Dhttp.proxyPassword=password"
       JAVA_OPTS="$JAVA_OPTS -Dhttps.proxySet=true -Dhttps.proxyHost=host -Dhttps.proxyUsername=user -Dhttps.proxyPassword=password"

    Regards,
    Marco
Sign In or Register to comment.