Our C# .Net Core project is using Google.Cloud.Firestore API version 2.5.0 and works just fine. However, the next version available is 3.0.0 and the latest is 3.5.1. To take advantage of the new features or bug fixes I am trying to update it to the latest version but without a success. Version 2.5.0 works flawlessly when we call DocumentReference..SetAsync() method but the moment I try to update the API to later or latest version I get this error.
Status(StatusCode="Internal", Detail="Error starting gRPC call. HttpRequestException: Unable to get subchannel from HttpRequestMessage. (proxy.domain.com:8080) InvalidOperationException: Unable to get subchannel from HttpRequestMessage.", DebugException="System.Net.Http.HttpRequestException: Unable to get subchannel from HttpRequestMessage. (proxy.domain.com:8080)
I tried to get answer from the internet but not successful. Therefore, I am asking this question here. What has changed in version 3.x and above and why is it not working in those versions? How can I get around this error?
Any help is greatly appreciated.
Thanks,
Vincent
Solved! Go to Solution.
@ms4446 Thank you for the information. I have not contacted the Support but while discussing the issue internally I was informed that we need to update the hosts files with some new entries. However, doing so did not make any difference. Then my lead suggested to either delete or rename the HTTP_PROXY, HTTPS_PROXY environment variables and see if that works. Yes, renaming these two environment variables did the trick.
So, it seems like HTTP_PROXY, HTTPS_PROXY environment variables were needed prior to 3.x version but from 3.x onwards we no longer need these variables.
Hope, this helps someone if they encounter the same issue.