Heya -
Tried to deploy a gRPC application with App Platform the other day, and found that calls would hang. My naïve guess is that HTTP/2 is unsupported.
Is that the case, or is http/2 expected to work? If not, any plans to add that support?
Thanks!
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
While the App Platform may express your application as HTTP/2 in connections from your end-users to our edge gateways, connections from our edge to your application are currently always made using plaintext HTTP.
HTTP/2 must be negotiated via ALPN extensions on a TLS encrypted connection. This means that in order to support HTTP/2 your application server would need to listen as a TLS server with keys and certificates recognized by our edge gateways. Offering this functionality in the future would require either both our router and your application explicitly enable h2c (which is not widely supported), OR injecting a key/certificate pair into the application. Neither option offers a gentle fallback or is broadly standardized. We may implement this functionality in the future if standardization improves, or the functionality is frequently requested.
Hey!
Quick update here!
App Platform now supports the HTTP/2 protocol.
This allows you to use gRPC, multiplexing, and other HTTP/2 features.
- Bobby
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.