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
ERR_CONNECTION_REFUSED (refused to connect) on web service created
january_febro
Member Posts: 12 Contributor II
Hi Experts,
I created a webservice and it works fine when i test it but if i use the direct link on my browser it gives me an error of
This site cant be reached.
<hostname> refused to connect
ERR_CONNECTION_REFUSED
I already created an anonymous user and set the permission rights as well as setting the ff. to true:
com.rapidanalytics.web.anonymous_resources | true |
com.rapidanalytics.web.anonymous_services | true |
and i also read from another forum to add "public"
http://january:8080/api/rest/public_process/forMODEL?
What seems to be the problem?
Thank you
Tagged:
0
Answers
Hi january_febro,
did you create the user anonymous?
Since recent API changes the path for anonymous webservices changed to
/api/rest/public/process/<webserviceID>
You will find all other information regarding this topic on http://docs.rapidminer.com/server/administration/user-management/special-users.html
Best regards,
Edin
Hey,
I have similar problems. I created an anonymous user and gave it all the rights. But when i call a web service like this:
/api/rest/public/process/
it can not be found and I get error 404 page not found..
I can only call it like this:
/api/rest/process/
without the public, but that's not what I want..
Hope you can help me and best regards
kevin
Hi @kevin_reif,
Please check the name of the Webservice. Since it is an URL special characters like blanks need to be encoded. Just google for URL encoding. A blank is e.g. represented by %20
Happy Mining,
Edin
You might be facing err_connection_refused error from the browser side, first you must troubleshoot your browser issues and then make any changes on webservice. First apply some basic suggestions such as clearing data, creating new profile and cookies and then apply some advance level recommendations of changing the proxy settings. You can read all suggestions on https://wildtricks.com/chrome/err_connection_refused-chrome/ and check whether this error is fixed or not. One suggestion to troubleshoot browser will surely help you out.