❔ httpclient not sending request and no exception is thrown
hey I have an httpclient post request that is just hanging there, no exception thrown or anything, I
15 Replies
I tried to set a timeout, and set a breakpoint at the server API level, but none hit
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
in the init
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
private static HttpClient _httpClient = new HttpClient()
{
Timeout = TimeSpan.FromSeconds(10)
};
the thing is, my solution is running 5 projects in parallel, all the projects using this shared query method work fine
it's only in 1 project that it doesn't work, which is a blazor server project
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
how do I check that?
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
these are the only packages I see
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
but the method from which I call the client is in a shared project
all are net6
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
that's very complicated
is there any way to catch the problem? @jgallant
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.