Announcements
The Google Cloud Community will be in read-only from July 16 - July 22 as we migrate to a new platform; refer to this community post for more details.
Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Virtual host throwing a 404 after setup

I've created a simple passthrough proxy and associated with a virtual host and consistently get a 404. The proxy works as expected when using the default secure host.

We’ve:

  • created a DNS entry that points api-sandbox.xxxx.com to xxxx-prod-sandbox.apigee.net.
  • Validated that api-sandbox.xxxx.com has propagated
  • Implemented a valid TLS cert in the Keystore.
  • Created the VH successfully
  • Validated that its show up for the proxy

Any help is greatly appreciated.

Solved Solved
1 3 287
1 ACCEPTED SOLUTION

deboraelkin
Former Googler

You could also try invoking your API using curl with the -v option. This will show info about the certificate being presented. See if it matches the certificate you associated with the new virtual host.

I've seen that sometimes there is a problem when creating the virtual host, and all API requests are routed to an existing virtual host (eg: secure), if your proxy is not listening on that old virtual host, you'l get the 404 message

View solution in original post

3 REPLIES 3