Problem with Basic Authentication

0

I have a project developed in Web asp.NET web api (WebService) which uses a basic authentication security. On the other hand I have an application developed in C # which calls the methods (WebService) to perform some processes. The problem is that although the application works correctly, I have detected that in some moments it is a bit slow and analyzing the log located in C:\inetpub\logs\LogFiles\W3SVC2 I found this:

#Software: Microsoft Internet Information Services 10.0
#Version: 1.0
#Date: 2018-02-12 09:30:48
#Fields: date time s-sitename s-computername s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs-version cs(User-Agent) cs(Cookie) cs(Referer) cs-host sc-status sc-substatus sc-win32-status time-taken
2018-02-12 09:30:45 W3SVC2 WS2016 XXX.XXX.XXX.XXX POST /ServiceMain.asmx wsdl 8090 - XXX.XXX.XXX.XXX HTTP/1.1 Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+2.0.50727.8825) - - XXX.XXX.XXX.XXX:8090 401 2 5 1216
2018-02-12 09:30:45 W3SVC2 WS2016 XXX.XXX.XXX.XXX POST /ServiceMain.asmx wsdl 8090 DOMAIN\USER XXX.XXX.XXX.XXX HTTP/1.1 Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+2.0.50727.8825) - - XXX.XXX.XXX.XXX:8090 200 0 0 308
2018-02-12 09:30:45 W3SVC2 WS2016 XXX.XXX.XXX.XXX POST /ServiceMain.asmx wsdl 8090 - XXX.XXX.XXX.XXX HTTP/1.1 Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+2.0.50727.8825) - - XXX.XXX.XXX.XXX:8090 401 2 5 57
2018-02-12 09:30:45 W3SVC2 WS2016 XXX.XXX.XXX.XXX POST /ServiceMain.asmx wsdl 8090 DOMAIN\USER XXX.XXX.XXX.XXX HTTP/1.1 Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+2.0.50727.8825) - - XXX.XXX.XXX.XXX:8090 200 0 0 6
2018-02-12 09:31:38 W3SVC2 WS2016 XXX.XXX.XXX.XXX POST /ServiceMain.asmx wsdl 8090 - XXX.XXX.XXX.XXX HTTP/1.1 Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+2.0.50727.8825) - - XXX.XXX.XXX.XXX:8090 401 2 5 47
2018-02-12 09:31:38 W3SVC2 WS2016 XXX.XXX.XXX.XXX POST /ServiceMain.asmx wsdl 8090 - XXX.XXX.XXX.XXX HTTP/1.1 Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+2.0.50727.8825) - - XXX.XXX.XXX.XXX:8090 401 2 5 48
2018-02-12 09:31:38 W3SVC2 WS2016 XXX.XXX.XXX.XXX POST /ServiceMain.asmx wsdl 8090 - XXX.XXX.XXX.XXX HTTP/1.1 Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+2.0.50727.8825) - - XXX.XXX.XXX.XXX:8090 401 2 5 52
2018-02-12 09:31:38 W3SVC2 WS2016 XXX.XXX.XXX.XXX POST /ServiceMain.asmx wsdl 8090 DOMAIN\USER XXX.XXX.XXX.XXX HTTP/1.1 Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+2.0.50727.8825) - - XXX.XXX.XXX.XXX:8090 200 0 0 17
2018-02-12 09:31:38 W3SVC2 WS2016 XXX.XXX.XXX.XXX POST /ServiceMain.asmx wsdl 8090 DOMAIN\USER XXX.XXX.XXX.XXX HTTP/1.1 Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+2.0.50727.8825) - - XXX.XXX.XXX.XXX:8090 200 0 0 1
2018-02-12 09:31:39 W3SVC2 WS2016 XXX.XXX.XXX.XXX POST /ServiceMain.asmx wsdl 8090 - XXX.XXX.XXX.XXX HTTP/1.1 Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+2.0.50727.8825) - - XXX.XXX.XXX.XXX:8090 401 2 5 6
2018-02-12 09:31:38 W3SVC2 WS2016 XXX.XXX.XXX.XXX POST /ServiceMain.asmx wsdl 8090 DOMAIN\USER XXX.XXX.XXX.XXX HTTP/1.1 Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+2.0.50727.8825) - - XXX.XXX.XXX.XXX:8090 200 0 0 80
2018-02-12 09:31:39 W3SVC2 WS2016 XXX.XXX.XXX.XXX POST /ServiceMain.asmx wsdl 8090 DOMAIN\USER XXX.XXX.XXX.XXX HTTP/1.1 Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+2.0.50727.8825) - - XXX.XXX.XXX.XXX:8090 200 0 0 58

I see that you are rejecting requests (401 2 5) but then you accept them (200 0 0) ...

The user of the domain I have put in the group of administrators to test if this was the problem and still failing.

I have tried many things that I have been reading in the forum, but I can not find the solution.

Does anyone have any ideas?

    
asked by Armando Martinez Aguayo 12.02.2018 в 11:56
source

0 answers