Since 2024-07-17 our application hosting gRPC Services isn’t accessible on Azure anymore and I can’t figure out any configuration issues from my side. We didn’t change anything and it suddenly isn’t accessible anymore.
- The App is hosted as App Service (Linux) with Service Plan B2
- ‘HTTP Version’ is set 2.0
- ‘HTTP 2.0 Proxy’ is set to ‘gRPC only’
- ‘SSH’ is on
- ‘HTTPS Only’ is on
- Min. inbound TLS is set to ‘1.2’
- Environment variable ‘HTTP20_ONLY_PORT’ is set to ‘8585’ according to the Microsoft Learn documentation
Accessing the app using a HTTPS GET returns the ‘Communication with gRPC endpoints must be made through a gRPC client.’ correctly. But connecting with a gRPC client isn’t possible. Always Error 502 (Service unavailable)
I’ve tried without success:
- ‘HTTP 2.0 Proxy’ changed from ‘gRPC Only’ to ‘on’
- ‘HTTP 2.0 Proxy’ changed to ‘off’ and accessing the App Service using the port-number 8585 in the URL
Accessing the App using HTTP 1.1/GET works returning ‘Communication with gRPC endpoints must be made through a gRPC client’. But there are no signs in the log for HTTP 2.0 communication at all!
Peter is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.