I deployed a Nodejs app that uses JSON rpc as transport on top of app platform. I deployed it using docker and the http endpoints seem to be working well including the healthcheck endpoint. However, the JSON rpc endpoints are timing out and not returning any response. Does JSON rpc 2.0 work on app platform, are there any other configurations i’m missing ? Someone please help
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!
Hi there,
As far as I can see in the docs the App Platform supports HTTP/2, however you need to configure your app to use the protocol.
The App Platform’s edge servers negotiate HTTP/2 connections from supported clients, but if your app is not configured to receive these requests, App Platform downgrades these requests to HTTP/1.1 when relayed to the app’s container.
Also apps support gRPC once you have enabled HTTP/2.
Let me know if this works for you.
- 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.