The RapidMiner community is on read-only mode until further notice. Technical support via cases will continue to work as is. For any urgent licensing related requests from Students/Faculty members, please use the Altair academic forum here.
forgetful password
sgenzer
Administrator, Moderator, Employee, RapidMiner Certified Analyst, Community Manager, Member, University Professor, PM Moderator Posts: 2,959 Community Manager
hi...I notice that when I am running a process where it is doing Enrich Data by Webservice many times (i.e. >1000 or so), RapidMiner "forgets" the authentication password that I told it to "remember" when I entered it the first time. It seems sort of random when it does it, but it is rather annoying - particularly if I leave it running overnight and find out in the morning that after 4000 API calls, it now forgets the password and asks me to enter it again.
By the way, the API calls I am doing are using the new IBM Bluemix service. It's pretty cool.
Any ideas?
Scott
By the way, the API calls I am doing are using the new IBM Bluemix service. It's pretty cool.
Any ideas?
Scott
0
Answers
we are talking about HTTP Basic auth, correct? If so, I highly suggest using the method below to pass the credentials instead of having to rely on the internal Studio authentication cache (which is not intended for this sort of thing): The credentials are protected by SSL in case of a https call, so this is actually safe to do.
Regards,
Marco
Scott
is there anything special I need to consider if I'd like to do this with MailChimp?
When I try to access MailChimps API I get an error in the brwoser as well as in Rapidminer when using the Base Auth as described here, even as this method is described in the documentation.
The error is:
The call I used
But when I use the RESTED extension in Chrome where I can separately enter the user/password credentials it works as expected.
Any hints?
See BUG-Report: https://community.rapidminer.com/t5/RapidMiner-Studio-Forum/BUG-Enrich-Data-by-Webservice-Web-Mining-Does-not-pass-request/td-p/44049/jump-to/first-unread-message
hi @kludikovsky - so this actually works fine. Here's a sample call (API key deleted) with the JSON unparsed:
Scott
Hi @sgenzer,
I can repeat your process, even as there authentication.
I just c did a copy&paste into a new canvas and got a result. So I did no even need a API-key
But the protocol has no sign of the extra data sent:
Could you try this please with /lists/.
hello @kludikovsky - yes I see that. I was just accessing the schema. OK please be patient - I will investigate.
Scott
OK got it
Scott
@sgenzer confirm that it works with the "Get Page".
There are the request information included as can be seen in the trace:
While the same with "Enrich Data by Webservice" don't supply the information:
So this would conclude that the request properties are not passed on. Which possibly explains some other malfunction I have read on the web.
Thxs Scott.
yes exactly. Unfortunately the "Enrich Data via Webservice" has a lot of trouble with authentication - it's rather out-of-date at this point. I am finding that I see more success with "Get Page", and if that does not work, then "Execute Program" with some cURL statements or calling a shell script.
FWIW you may see a new extension dedicated completely to consuming the most popular APIs natively in RapidMiner (like we do already for Twitter) sometime in the future...
Scott