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
Problem Accessing Repositories from RapidMiner
Dear forum experts:
I've downloaded RapidAnalytics too. I have to agree with the previous comments that it is a really nice product with a lot of potential.
I can make it work without any problems in my local machine.
My problems start when I try to set up a real server in the web. I'm using Amazon EC2 (this is the largest provider of cloud computing here in the US).
I can set up the server. I can create users. I can login to the server for all those users.
My problem is repository access. When I try to access it from Rapid MIner (either the local version or the web version) i get an error that reads:
"Error fetching folder contents from the server. If the error message indicates that the server redirected the request too many times, this is probably due to an incorrect username/password and a basic authentication mechanism.
Then I get the details of the error. I don't know if I should post them.
It starts with:
"Exception: com.sum.xml.internal.ws.client
Message: HTTP transport error: java.net: UnknownHostException: ip-0AC33A91"
ip-0AC33A91 is the HOSTNAME of the virtual machine.
Thanks in advance to anybody for their help,
jlo
I've downloaded RapidAnalytics too. I have to agree with the previous comments that it is a really nice product with a lot of potential.
I can make it work without any problems in my local machine.
My problems start when I try to set up a real server in the web. I'm using Amazon EC2 (this is the largest provider of cloud computing here in the US).
I can set up the server. I can create users. I can login to the server for all those users.
My problem is repository access. When I try to access it from Rapid MIner (either the local version or the web version) i get an error that reads:
"Error fetching folder contents from the server. If the error message indicates that the server redirected the request too many times, this is probably due to an incorrect username/password and a basic authentication mechanism.
Then I get the details of the error. I don't know if I should post them.
It starts with:
"Exception: com.sum.xml.internal.ws.client
Message: HTTP transport error: java.net: UnknownHostException: ip-0AC33A91"
ip-0AC33A91 is the HOSTNAME of the virtual machine.
Thanks in advance to anybody for their help,
jlo
Tagged:
0
Answers
I found an article in the web that gave me the clue i needed ( http://stackoverflow.com/questions/2664991/amazon-ec2-and-jbossws ).
It turns out that all you have to do is rename the hostname from its private dns address (the default in amazon ec2) to its public dns address and the problem is solved. (For the newbees like myself : To rename just use sudo vi /etc/hostname. )
So now I'm running my first RapidAnalytics server for about $1.50/day. At this point, I'm only using it as a repository for data and the entry servers provide me with enough storage space.
Hope this is useful info for other people.
thanks for sharing your experiences! Actually, we planned to set up RapidAnalytics on the EC2 and I am sure your experiences will help us and others a lot.
Cheers,
Ingo
the reason for this is the following:
Open
http://yourhost:port/RAWS/RepositoryService?wsdl
and scroll down. You will see the hostname is listed in the WSDL. This must be a hostname that your client understands, Otherwise you'll confuse it. The solution you posted is the way to go.
Best,
Simon
I followed this post: http://rapid-i.com/rapidforum/index.php?topic=3737.5;wap2 but no luck when changing that file.
=====================
Hello,
I have a similar issue. I am able to connect to my EC2 RapidAnalytics Server via the browser, but when I try to connect through RapidMiner I get the following error:
Error fetching folder contents from the server. If the error message indicates that the server redirected the request too many times, this is probably due to an incorrect username/password and a BASIC authentication mechanism
HTTP transport error. java.net.ConnectException: Connection Refused
Reason: Connection Refused
The strange part is that when I point the Server URL on my web browser it works fine
Any idea what can be causing this issue?
Thanks!
does the RepositoryService?wsdl show the same URL you use in the browser?
Best,
Simon
I check my RA host wsdl file, the address location is pointing to "http://host1-desktop:8080/RAWS/RepositoryService"
To make the client able to access it remotely, instead of using "host1-desktop" am I need to change it to machine ip address?? For example, "http://172.16.30.98:8080/RAWS/RepositoryService", am I correct? If yes, how am I going to modify the wsdl file? where is it located?
Regards,
Alan
by "client understandable" I mean that this is a hostname that the DNS server your client uses resolves correctly. You can test that by entering it into the address field of your browser.
You cannot edit the WSDL file, but you can configure your server to fill in correct values. You specify the hostname in the installer, and you can edit them manually as is described here:
http://rapid-i.com/rapidforum/index.php/topic,3737.msg16236.html#msg16236
Best,
Simon