Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gRPC + global ConfigureHttpClient error #2425

Closed
JamesNK opened this issue Apr 30, 2024 · 2 comments
Closed

gRPC + global ConfigureHttpClient error #2425

JamesNK opened this issue Apr 30, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@JamesNK
Copy link
Member

JamesNK commented Apr 30, 2024

There is now a global ConfigureHttpClient option to configure all clients created by client factory. This feature conflicts with gRPC integration into the factory, which throws an error if the global ConfigureHttpClient is used. See dotnet/extensions#4924 (comment)

Options to improve:

  • Add a flag to suppress this error.
  • Detect when this configuration is global and automatically don't error.
@iliar-turdushev
Copy link

@JamesNK Does the following PR #2448 fixes current issue? Thanks.

@JamesNK
Copy link
Member Author

JamesNK commented Aug 13, 2024

Yes. Thanks for the heads up.

@JamesNK JamesNK closed this as completed Aug 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants