Classification Failed for host http://org-environment.apigee.net

Not applicable

User Question:

When I try to access 'org-environment.apigee.net' through a browser, I get the following:

<fault> 
  <faultstring> Classification failed for host org-environment.apigee.net</faultstring>
  <detail> 
    <errorcode>CLASSIFICATION_FAILED</errorcode> 
  </detail>
</fault>

Does this mean that 'org-environment.apigee.net' is NOT set up?

0 5 1,032
5 REPLIES 5

Not applicable

This actually means that the org-environment.apigee.net is setup but you are recovering the 'Classification Failed' error code because no proxy matches the base path '/'.

example: http://org-environment.apigee.net/

Your best option would be to setup a 'default' api proxy and have a raise fault policy that gives back a '404 Not Found' error.

Example:

<RaiseFault name="404">
 <IgnoreUnresolvedVariables>true</IgnoreUnresolvedVariables>
 <FaultResponse>
   <Set>
     <StatusCode>404</StatusCode>
     <ReasonPhrase>Not Found</ReasonPhrase>
     <Payload>The resource requested was not found</Payload>
   </Set>
 </FaultResponse>
</RaiseFault>

You can also find additional information here!

Not applicable

This can also mean your access pattern(host and port) do not match the virtualhost configuration for your environment.

Not applicable

If the host does not match the virtualhost configuration the connection will be terminated either with "Hostname was NOT found..." or "Could not resolve host:.."

If the port(s) used to connect on do not match the virtualhost configuration the connection will timeout. On standard ports 80 and 443 the connection will come back with "port 80 failed: Connection refused". None standard ports 8080, 8443, and etc the connection will timeout with, "port 8080 failed: Operation timed out"

Maybe we are saying the same thing.

  1. What happens when you have environment which has 2 vhosts - http and https. Your proxy is deployed on http only. When you make an HTTPS request you get classification failed.
  2. Lets assume you have configured you vhost with a IP address x.x.x.x You access the proxy with IP y.y.y.y - then you get classfication failure. BTW both x.x.x.x and y.y.y.y are valid IP of the router.

We are are on the same page.

1. Yes, in this scenario and vice a versa you will get "classification failure".