I have an application that is hosted on an azure website. Now that it is hosted on on a website, i removed the restriction from IP address to Website restriction. I've followed the documentation and the API will not work when on website restriction. I put on no restriction, and then it works. Currently, i have all these links and yet, none of them will work.
here are the current links that i have
*.---------.net
*.---------.net/*
https://---------.net/*
---------.net/*
It appears others have had this issue as well, but they didnt seem to be resolved, ie:
Link
any insight or help would be great.
hey, bro, try this :3
I think thath you're encountering issues with configuring IP restrictions for your Azure website, and the API is not functioning as expected when using website restrictions. Here are a few suggestions to troubleshoot and resolve this issue:
1. Double-check the configuration of your IP restrictions in the Azure portal. Ensure that you have correctly added the website restrictions and that they cover all necessary endpoints.
2. Probably you've added wildcard entries for your website (.yourwebsite.net), which should cover all subdomains and paths under your domain. However, ensure that these wildcard entries are correctly formatted and cover all variations of your endpoints.
3. Make sure that you're using the correct protocol (HTTP or HTTPS) in your API calls and that the website restrictions are configured accordingly. If your API requires HTTPS, ensure that the corresponding HTTPS restrictions are set up correctly.
4. Test your API endpoints using tools like cURL or Postman to verify if they are accessible with the configured restrictions. This can help identify any issues with the configuration or the API itself.
5. If you're receiving any error messages when accessing the API with website restrictions enabled, carefully review them to identify the root cause of the issue. The error messages may provide clues as to why the requests are failing.
It appears that we would need to inspect your account/project to help you with
your concern. So, we would suggest creating a support case in the Google Cloud
Console to open a personalized communication channel:
https://developers.google.com/maps/support/#creating-a-support-case