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

"How do I configure a proxy in RapidMiner Server"

User13User13 Member Posts: 155 Maven
edited May 2019 in Knowledge Base

Symptom:

RapidMiner Server cannot execute Web mining operators or open files from URLs.

Problem:

In many corporate networks, network access is possible only via a proxy. If that is not configured correctly, RapidMiner Server cannot access the Internet.

Solution:

In RapidMiner Studio, proxy settings can be made via Tools > Preferences > System. Enable proxies for the individual protocols, HTTP, HTTPS, and FTP independently. Ask your network administrator for proxy host, port, and credentials. Note that oftentimes it is not necessary to use a proxy in Intranets. That means that if you to connect RapidMiner Studio to RapidMiner Server you may want to bypass the proxy. In that case, enter the hostname running RapidMiner Server into the field http.nonProxyHosts and https.nonProxyHosts. RapidMiner Studio needs to be restarted for these settings to take effect.

The same settings can be applied for RapidMiner Server, but it may be wise to check the settings in RapidMiner before applying them to the server. Once the correct settings are known, you need to edit the configuration file.

  • On Windows, edit the file bin\standalone.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/standalone.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"


Tagged:
Sign In or Register to comment.