Share via

System.Net.WebException when call ObjectStore via web App on Azure App Service

Anonymous
2023-09-15T02:09:23.23+00:00

Hi, I deployed a web app to Azure App service, but the POST requests which are successful in localhost are never returning anything. Getting System.Net.WebException. Here is the link of the stack trace:
https://wpeditorialcurationapi.scm.azurewebsites.net/api/vfs/Data/DaaS/Reports/230915_0122238044/230915_0124450065/dw1sdwk000JU8/index.html

Azure App Service
Azure App Service

Azure App Service is a service used to create and deploy scalable, mission-critical web apps.

0 comments No comments

Answer accepted by question author

Bryan Trach 17,842 Reputation points Microsoft Employee Moderator
2023-09-19T03:11:59.83+00:00

@Anonymous Please note that nobody expect authorized users of your web app will be able to load your stack trace.

It sounds like you are experiencing issues with making POST requests from your Azure Web App to an ObjectStore. Here are some steps you can take to troubleshoot and resolve the issue:

Check the network security group (NSG) rules for your Azure Web App to ensure that they allow outbound traffic to the ObjectStore. You can do this by going to the Azure portal, selecting the Web App, and then selecting Networking > Outbound port rules. Make sure that the NSG rules allow traffic on the appropriate ports for your ObjectStore.

Check the firewall settings for your ObjectStore to ensure that they allow inbound traffic from your Azure Web App. You can do this by going to the ObjectStore management console and checking the firewall settings. Make sure that the firewall settings allow traffic on the appropriate ports for your Azure Web App.

Check the application code to ensure that it is correctly configured to connect to the ObjectStore. Make sure that the hostname and port number are correct, and that any authentication credentials are correct.

Check the Azure Service Health dashboard to see if there are any known issues with the Azure Web Apps service or the ObjectStore service in your region. If there are, you may need to wait for the issue to be resolved before you can make successful POST requests.

Check the logs for your Azure Web App to see if there are any error messages related to the POST requests. You can do this by going to the Azure portal, selecting the Web App, and then selecting Logs > Application logs. Look for any error messages related to the POST requests and try to troubleshoot the issue based on the error messages.

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.