app . NET can only access web service with Fiddler on

Asked

Viewed 55 times

0

I have a client application developed in . NET, I am not able to call a WS through the URL that was passed by my provider. I did the test using SOAP UI and it worked perfectly, I received the answer without problems, but my App only works when I am monitoring the connection using FIDDLER. I have already checked the following point:

  1. I have set up Fiddler not to work as a PROXY. My service . NET continues to work;

I’ve researched that Fiddler makes a copy of my machine’s PROXY settings, but I can’t understand why Fiddler works and without it it doesn’t work anymore. Note: last year this app already existed and worked perfectly, we had to stop it for a year and now when trying to resume I’m having this problem.

The error message I get is: The request failed with HTTP status 502: Proxy Error ( Forefront TMG denied the specified Uniform Resource Locator (URL). ).

PS: I didn’t put the source of the call because I don’t have it now, stay with another team but I can get it if you find it of utmost importance.

1 answer

1

This my problem was that the application . NET was run by a user who did not have enough privileges to complete the request to the web service. When I used FIDDLER it was with my user, who had the permissions. When swapping the user running the application for a user with permissions the problem has been solved.

A good practice that I will adopt is to run FIDDLER with the same user that runs the problematic application.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.