🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

ERR_CONNECTION_REFUSED (refused to connect) on web service created

User: "january_febro"
New Altair Community Member
Updated by Jocelyn

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

Find more posts tagged with

Sort by:
1 - 4 of 41
    User: "Edin_Klapic"
    New Altair Community Member

    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

    User: "kevin_reif"
    New Altair Community Member

    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

    User: "Edin_Klapic"
    New Altair Community Member

    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

    User: "hardiktechie"
    New Altair Community Member


    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.