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

Azure dotnet-isolated durable function Vnet integration throws: The HTTP/2 server sent invalid data on the connection. HTTP/2 error code 'PROTOCOL_ERROR' #1500

Closed
Ushimaster opened this issue Apr 28, 2023 · 6 comments

Comments

@Ushimaster
Copy link

Context:

  1. .NET7,
  2. Azure App Service Plan on Linux
  3. Azure durable function: 1 orchestrator client, 1 orchestrator and 2 activities
  4. Orchestrator client read/write data from/to Azure Storage table
  5. Function integrated into VNet
  6. Storage table inside same VNet
  7. Connection between function and storage account via user managed identity

The function does not even start.

Without VNet integration, all components work as expected but VNet is a requirement.

image

@ghost ghost assigned kshyju Apr 28, 2023
@fabiocav
Copy link
Member

fabiocav commented May 3, 2023

@Ushimaster as this is likely related to VNET configuration, do you have the ability to engage support to take a closer look at VNET configuration and potential issues with that?

@Ushimaster
Copy link
Author

Hello @fabiocav,

Well, I haven't contacted support. What I did in another "experiment" was to use an in-process durable function with the same VNet, user managed identity and storage account configuration that I have for the isolated one and run without any issue, so I don't think it's a VNet related issue.

dotnet-isolated is the requirement.

Thanks!

@ceekaay
Copy link

ceekaay commented May 11, 2023

Same error ... is there a fix/workaround?

@SymbioticKilla
Copy link

Same issue here.
There is also good documented case on stackoverflow
https://stackoverflow.com/questions/74075905/http2connectionexception-http-2-error-code-protocol-error-0x1-error-when

@ceekaay
Copy link

ceekaay commented May 17, 2023

These lines of code were the problem

.ConfigureAppConfiguration((context, builder) => { builder. AddEnvironmentVariables(); })

I could solve the problem by removing .AddEnvironmentVariables() . It is not required to load the environment variables in Azure.

@kshyju
Copy link
Member

kshyju commented May 18, 2023

Closing this as #1547 will improve this behavior.

@kshyju kshyju closed this as completed May 18, 2023
@ghost ghost locked as resolved and limited conversation to collaborators Jun 17, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants