Closed Bobris closed 8 years ago
Hi, will you accept pull request, because this is only thing which currently blocks me to publish Nowin middleware.
I'd like to reproduce the error first before I fix anything that I don't understand. What exactly are you doing to cause this call to hang? How are you calling this code? Which runtime are you using?
I added ConfigureAwait(false) to async calls in AcmeClient. Depending on how you use the client, deadlocks may occur without ConfigureAwait(false). However, now calls to AcmeClient might return on a different thread than the one used to call its methods. Please try 0.0.0-beta-75 to see if this fixes your problem.
Yes, that's was problem. I can confirm 0.0.0-beta-75 works without problem.
Don't know why but it hangs on first Directory response and this fix makes it work: