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_febrojanuary_febro Member Posts: 12 Contributor II
edited November 2018 in Help

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:

Answers

  • Edin_KlapicEdin_Klapic Employee-RapidMiner, RMResearcher, Member Posts: 299 RM Data Scientist

    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

  • kevin_reifkevin_reif Member Posts: 6 Learner III

    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

  • Edin_KlapicEdin_Klapic Employee-RapidMiner, RMResearcher, Member Posts: 299 RM Data Scientist

    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

  • hardiktechiehardiktechie Member Posts: 1 Learner II


    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.

Sign In or Register to comment.