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!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
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