Jump to content
Daniel Inácio

Webservice em produção deixa de funcionar

Recommended Posts

Daniel Inácio

Boa tarde

 

Sou novo na comunidade, mas acho que estou na zona indicada para obter ajuda.

Programo com C# e criei um Webservice onde outras empresas  se conectam para integrar dados.

O webservice está e, produção e  instalado no iis num Windows 8.1 Pro. Acontece que aumentámos o número de clientesusuários, que não passam de 5 outras empresas, mas desde essa mudança que o webservice funciona e em alguns periodos do dia pára. Para voltar a restabeleceer o serviço, terei sempre que reiniciar o sitio web no iis.

Já aumentei a carga de stress e vi o número maximo de utilizadores que é um valor altissimo, mas não sei mais o que fazer.

Estou com este processo nas mãos, até porque nunca estou descansado, terei que estar sempre de prevenção a verificar se o serviço está parado ou não.

Alguem me pode ajudar?

 

Forte abraço a todos

Edited by Daniel Inácio

Share this post


Link to post
Share on other sites
AJBM

Olá Daniel,

Quando o serviço deixa de funcionar, retorna algum erro?  Tens logs?
Consegues explicar melhor o que se passa?

Share this post


Link to post
Share on other sites
Daniel Inácio

Olá AJBM

Não consigo obter nenhum erro, por isso não consigi perceber onde poderei solucionar a questão. Ainda agora às 21h47 tive que reiniciar o serviço manualmente.

Será por ser Windows 8.1 e não Windows Server. Se calhar o windows 8.1 não é apropriado para ser servidor. Ou existe alguma configuração que possa mexer no código do C#, para evitar estas paragens? 

Não sei o que faça, já consigo ver os logs do IIS, mas parece estar tudo normal.

Aqui segue um excerto dos logs do IIS:

2019-05-25 00:07:15 40.113.126.68 4033 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-25 00:07:30 40.113.126.68 4035 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-25 00:07:45 40.113.126.68 4037 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-25 00:08:00 40.113.126.68 4039 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-25 00:08:15 40.113.126.68 4041 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-25 00:08:35 40.113.126.68 4043 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-25 00:08:50 40.113.126.68 4045 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-25 00:09:05 40.113.126.68 4047 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-25 00:09:20 40.113.126.68 4049 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-25 00:09:35 40.113.126.68 3201 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-25 00:09:50 40.113.126.68 3203 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-25 00:10:05 40.113.126.68 3205 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-25 00:10:20 40.113.126.68 4035 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-25 00:10:35 40.113.126.68 4039 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-25 00:10:50 40.113.126.68 4050 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-25 00:11:05 40.113.126.68 4051 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-25 00:47:29 40.113.126.68 6145 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-25 00:47:49 40.113.126.68 6147 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-25 00:48:04 40.113.126.68 6149 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-25 00:48:19 40.113.126.68 6151 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-25 00:48:34 40.113.126.68 6153 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-25 00:48:49 40.113.126.68 6155 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-25 00:49:04 40.113.126.68 6157 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-25 00:49:19 40.113.126.68 6159 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-25 00:49:34 40.113.126.68 6721 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-25 00:49:49 40.113.126.68 7104 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-25 00:50:04 40.113.126.68 7041 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-25 00:50:19 40.113.126.68 6465 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-25 00:50:38 40.113.126.68 6467 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-25 00:50:54 40.113.126.68 6469 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-25 00:51:09 40.113.126.68 6471 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-25 00:51:24 40.113.126.68 6473 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-25 00:51:39 40.113.126.68 7106 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-25 01:29:15 40.113.126.68 6147 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-25 01:29:30 40.113.126.68 6149 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-25 01:29:45 40.113.126.68 6151 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-25 01:30:00 40.113.126.68 6153 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-25 01:30:15 40.113.126.68 6155 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-25 01:30:30 40.113.126.68 6157 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-25 01:30:45 40.113.126.68 6159 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-25 01:31:00 40.113.126.68 6161 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-25 01:31:15 40.113.126.68 6163 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-25 01:31:30 40.113.126.68 7105 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-25 01:31:50 40.113.126.68 7041 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-25 01:32:05 40.113.126.68 6721 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-25 01:32:20 40.113.126.68 6977 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-25 01:32:35 40.113.126.68 6983 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-25 01:32:50 40.113.126.68 7017 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-25 01:33:05 40.113.126.68 6740 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-25 01:33:20 40.113.126.68 6980 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-25 01:33:35 40.113.126.68 6982 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-25 02:05:20 40.113.126.68 7110 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-25 02:05:34 40.113.126.68 7133 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-25 02:05:49 40.113.126.68 7106 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-25 02:06:05 40.113.126.68 7108 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-25 02:06:20 40.113.126.68 7111 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-25 02:06:30 40.113.126.68 7113 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-25 02:06:45 40.113.126.68 7135 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-25 02:07:00 40.113.126.68 7137 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-25 02:07:15 40.113.126.68 7139 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-25 02:07:30 40.113.126.68 7115 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-25 02:07:45 40.113.126.68 7117 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-25 02:08:05 40.113.126.68 7118 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-25 02:08:20 40.113.126.68 7120 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-25 02:08:35 40.113.126.68 7121 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-25 02:08:50 40.113.126.68 7122 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-25 02:09:05 40.113.126.68 7113 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-25 02:09:20 40.113.126.68 7123 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-25 02:09:35 40.113.126.68 7125 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-25 09:13:40 193.188.22.56 822 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-26 12:32:17 40.113.126.68 3649 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-26 13:11:14 40.113.126.68 6657 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-26 13:11:34 40.113.126.68 6659 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-26 13:11:49 40.113.126.68 6661 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-26 13:12:04 40.113.126.68 6663 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-26 14:05:22 40.113.126.68 6785 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-26 14:05:37 40.113.126.68 6787 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-26 14:05:52 40.113.126.68 6789 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-26 14:06:07 40.113.126.68 6791 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-26 17:38:14 85.244.209.119 50381 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-26 17:38:19 85.244.209.119 56047 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-26 18:11:45 85.244.209.119 59046 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-27 07:00:26 66.249.93.219 61945 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-27 07:00:26 66.249.93.218 37484 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-27 08:48:52 141.98.80.117 815 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-27 11:35:24 185.209.0.12 521 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-27 13:30:38 40.113.126.68 4033 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-27 14:06:52 40.113.126.68 6337 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-27 14:07:07 40.113.126.68 6339 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-27 14:07:22 40.113.126.68 6358 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-27 14:07:37 40.113.126.68 6368 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-27 14:07:52 40.113.126.68 6720 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-27 14:50:21 40.113.126.68 4033 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-27 14:50:41 40.113.126.68 3072 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-27 14:50:56 40.113.126.68 3074 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-27 14:51:11 40.113.126.68 3076 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-27 14:51:26 40.113.126.68 3078 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-27 14:51:46 40.113.126.68 3080 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-27 14:54:48 40.113.126.68 4035 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-27 14:55:03 40.113.126.68 4037 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-27 14:55:18 40.113.126.68 4039 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-27 15:34:45 40.113.126.68 4033 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-27 15:35:05 40.113.126.68 4035 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-27 15:35:20 40.113.126.68 4037 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-27 15:35:35 40.113.126.68 4039 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-27 15:35:50 40.113.126.68 4041 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-27 15:36:05 40.113.126.68 4043 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-27 15:36:20 40.113.126.68 4045 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-27 15:36:35 40.113.126.68 4047 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-27 15:36:55 40.113.126.68 3073 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-27 15:37:10 40.113.126.68 3075 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-27 15:37:25 40.113.126.68 3077 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-27 15:37:40 40.113.126.68 3079 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-27 15:37:55 40.113.126.68 3081 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-27 15:38:10 40.113.126.68 3083 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-27 15:38:25 40.113.126.68 3085 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-27 15:38:40 40.113.126.68 3087 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-27 15:38:55 40.113.126.68 3905 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-27 16:18:21 40.113.126.68 4033 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-27 16:18:36 40.113.126.68 4035 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-27 16:18:51 40.113.126.68 4037 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-27 16:19:06 40.113.126.68 4039 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-27 16:19:21 40.113.126.68 4041 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-27 16:19:36 40.113.126.68 4043 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-27 16:19:51 40.113.126.68 4045 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-27 16:20:06 40.113.126.68 4047 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-27 16:20:26 40.113.126.68 4049 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-27 16:20:41 40.113.126.68 4051 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-27 16:20:56 40.113.126.68 4052 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-27 16:21:11 40.113.126.68 4053 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-27 16:21:26 40.113.126.68 4054 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-27 16:21:41 40.113.126.68 4055 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-27 16:21:56 40.113.126.68 4056 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-27 16:22:11 40.113.126.68 4057 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-27 16:22:26 40.113.126.68 4045 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-27 17:04:33 40.113.126.68 6156 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-27 17:04:48 40.113.126.68 6174 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-27 17:05:03 40.113.126.68 6147 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-27 17:05:18 40.113.126.68 6149 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-27 17:05:38 40.113.126.68 6151 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-27 17:05:53 40.113.126.68 6153 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-27 17:06:08 40.113.126.68 6155 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-27 17:06:23 40.113.126.68 6158 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-27 17:06:38 40.113.126.68 6160 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-27 17:06:53 40.113.126.68 6162 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-27 17:07:08 40.113.126.68 6163 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-27 17:07:23 40.113.126.68 6165 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-27 17:07:38 40.113.126.68 6166 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-27 17:07:53 40.113.126.68 6167 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-27 17:08:08 40.113.126.68 6168 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-27 17:08:28 40.113.126.68 6169 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-27 17:08:43 40.113.126.68 7041 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-27 17:08:58 40.113.126.68 6913 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-27 17:09:13 40.113.126.68 6915 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-27 17:09:28 40.113.126.68 7043 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-27 17:09:43 40.113.126.68 7045 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-27 17:09:58 40.113.126.68 7047 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-28 00:12:29 40.113.126.68 3395 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-28 00:50:28 40.113.126.68 6160 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-28 00:50:43 40.113.126.68 7105 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-28 01:31:45 40.113.126.68 6593 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-28 02:12:22 40.113.126.68 6145 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-28 02:54:53 40.113.126.68 6145 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-28 02:59:27 40.113.126.68 6146 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-28 03:01:57 40.113.126.68 6146 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-28 03:49:16 40.113.126.68 4033 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-28 03:49:31 40.113.126.68 4035 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-28 04:25:29 40.113.126.68 6145 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-28 04:29:32 40.113.126.68 6146 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-28 04:32:09 40.113.126.68 6146 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-28 05:13:03 40.113.126.68 6145 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-28 05:17:20 40.113.126.68 6146 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-28 05:53:05 40.113.126.68 6145 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-28 07:13:29 66.249.93.220 38759 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-28 09:23:24 77.247.109.242 51077 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-28 11:13:35 198.20.99.130 59347 192.168.8.208 443 - - - 400 - BadRequest -
2019-05-28 11:13:35 198.20.99.130 59387 192.168.8.208 443 - - - 400 - BadRequest -
2019-05-28 11:13:36 198.20.99.130 59416 192.168.8.208 443 - - - 400 - BadRequest -
2019-05-28 11:13:36 198.20.99.130 59440 192.168.8.208 443 - - - 400 - BadRequest -
2019-05-28 11:13:36 198.20.99.130 59519 192.168.8.208 443 - - - 400 - BadRequest -
2019-05-28 11:13:36 198.20.99.130 59536 192.168.8.208 443 - - - 400 - BadRequest -
2019-05-28 11:13:39 198.20.99.130 60064 192.168.8.208 443 - - - 400 - BadRequest -
2019-05-28 11:13:39 198.20.99.130 60112 192.168.8.208 443 HTTP/1.1 GET / 400 - Header -
#Software: Microsoft HTTP API 2.0
#Version: 1.0
#Date: 2019-05-28 17:55:01
#Fields: date time c-ip c-port s-ip s-port cs-version cs-method cs-uri sc-status s-siteid s-reason s-queuename
2019-05-28 17:55:01 77.247.109.242 49976 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-29 03:45:16 23.92.127.66 59896 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
#Software: Microsoft HTTP API 2.0
#Version: 1.0
#Date: 2019-05-29 12:59:54
#Fields: date time c-ip c-port s-ip s-port cs-version cs-method cs-uri sc-status s-siteid s-reason s-queuename
2019-05-29 12:59:54 81.84.233.42 1026 192.168.8.208 443 - - - - - Timer_ConnectionIdle -
2019-05-29 15:06:23 185.209.0.12 1898 192.168.8.208 443 - - - - - Timer_ConnectionIdle -

Aguardo feedback, Obrigado

 

Posso passar o código do webservice se for necessário.

Edited by thoga31
Formatação do log

Share this post


Link to post
Share on other sites
Daniel Inácio

Existe algum comando (linha de comandos) que reinicie um sitio expecifico do iis?

Neste momemto apenas consigo a nível gráfico, rieniciar o serviço pretemddido.

O comando "iisreste", funciona, mas não reinicia os  serviços que pretendo, Reinicia o IIS, mas fica

Obrigado

 

Edited by Daniel Inácio

Share this post


Link to post
Share on other sites
momceras
C:\Windows\System32\inetsrv>

appcmd stop site /site.name:"default web site" && appcmd start site /site.name:"default web site"
"Default Web Site" parado com êxito
"Default Web Site" iniciado com êxito.

 

Edited by thoga31
Formatação para melhor apresentação

Share this post


Link to post
Share on other sites
Daniel Inácio

Bom dia momceras

Os comandos:

em: C:\Windows\System32\inetsrv>

appcmd stop site /site.name:"VentaskPtWs"

&&

appcmd start site /site.name:"VentaskPtWs"

Funcionam perffeitamente. Mas mesmo assim não me reinicia o sitio web "VentaskPtWs" tal como fica reiniciado quando manulalmente.

Faz-me confusão, porque manualmente fica bem reiniciado, mas com os comandos indica que parou e iniciou corretamente, mas o serviço não fica a funcionar bem. É sempre preciso reiniciar manualmente.

 

Obrigado pela ajuda

Share this post


Link to post
Share on other sites
AJBM

Daniel,

 

Como é que sabes que o serviço deixa de funcionar? Qual é o código HTTP que recebes, quando o serviço está em baixo?

Share this post


Link to post
Share on other sites
Daniel Inácio

Olá ABJM

Criei um cliente para aceder ao serviço do webservice e obti o seguinte erro:

Este erro com o serviço parado.

system.servicemodel.faultexceptopm: el sercvidor no puede processarla solicitud Valor de tiempo de espera caducado.El periodo de tiempo de espera expiró antes de obtener uma conexión del grupo. esto puede suceder porque todas las conexiuones de la agrupación estaban en uso y se alcazón el máximo tamaño del grupo.

server strace trace :

 at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)

at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object ins, Object outs, TimeSpan timeout)

at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall,  ProxyOperationRuntime operation)

at System.ServiceModel.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

Exception rethrown at (O):

at System.Runtime.Remoting.Proxies.RealProxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)

at System.Runtime.Remoting.Proxies.RealProxies.RealProxy.PrivateInvoke(MessageDate& msgDate, Int32 type)

at

TesteeServicodesduplicacaoWs1.WsVentask.wsBlacklistVentaskSoap.DesduplicarContactBankintercard(DesduplicarContact BankintercardRequest request)

at

TesteeServicodesduplicacaoWs1.WsVentask.wsBlacklistVentaskSoapClient.TesteeServicodesduplicacaoWs1.wsVentask.wsBlacklistVentaskSoap.DesduplicarContactBankintercard(DesduplicarContact BankintercardRequest request) in d:\TesteeServicodesduplicacaoWs1\TesteeServicodesduplicacaoWs1\Service References\wsVentask\Reference.cs:line348

at

TesteeServicodesduplicacaoWs1.WsVentask.wsBlacklistVentaskSoapClient.TesteeServicodesduplicacaoWs1.wsVentask.wsBlacklistVentaskSoap.DesduplicarContactBankintercard(String telf_ext, String name_partner, String zipcode) in

d:\TesteeServicodesduplicacaoWs1\TesteeServicodesduplicacaoWs1\Service References\wsVentask\Reference.cs:line357

at TesteeServicodesduplicacaoWs1.Form1.btnDesduolicar_Click(Object sender, EventArgs e) in 

d:\TesteeServicodesduplicacaoWs1\TesteeServicodesduplicacaoWs1\Form1.cs:line 27

Espero que ajude a decifrar o que se passa.

 

Abraço

Edited by thoga31
Formatação para melhor apresentação

Share this post


Link to post
Share on other sites
Daniel Inácio

Olá ABJM

 

Já solucionei o problema do Webservice parar.

Muitas conexoes de SQL no código ficavam abertas e ao atingir 100 conexoes bloqueava. Bastou fechar as conexoes quando estas eram utilizadas. colocando por exempo "conection.Close();"

Mas obrigado por toda a ajuda.

 

Forte Abaço

Share this post


Link to post
Share on other sites
AJBM

Olá Daniel,

Ainda bem que já conseguiste resolver o problema.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

By using this site you accept our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.