conductor-sdk / conductor-csharp

The conductor-csharp repository provides the client SDKs to build task workers in C#
Apache License 2.0
41 stars 16 forks source link

PollAsync 403 error in .net 6 #18

Closed jegadjame closed 2 years ago

jegadjame commented 2 years ago

It is working fine when I use Target Framework as .NET core 3.1).

Now, When I upgrade the .NET framework to .NET 6.0, I am getting 403 error. StatusCode: 403, ReasonPhrase: 'Forbidden', Version: 1.1, Content: System.Net.Http.HttpConnectionResponseContent, Headers: { Date: Fri, 14 Oct 2022 16:42:51 GMT Connection: keep-alive Via: HTTP/1.1 m_proxy_mum1 Content-Length: 0 } var response = await httpClient.SendAsync(request, HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false);

jegadjame commented 2 years ago

It is working now.. It was Proxy Issue in my system..

Thanks, Jegadeesh