I have a strange error that I’ve been trying for several hours to diagnose, and have tried many things without success.
I have a proxy route configured. A “web.get” request from Notecard shows this:
error routing to <url-redacted>: Get "<url-redacted>": stream error: stream ID 5; INTERNAL_ERROR; received from peer
Or sometimes I see PROTOCOL_ERROR.
The HTTP response code in notehub is 0, while Notecard shows a 503.
I have tested the URL (as printed in the error message) with curl and in a browser and both work as expected, both with HTTP/1.1 and HTTP/2.
The proxy route doesn’t do anything other than forward to the URL given. No headers, no jsonata etc. The cloud function is as simple as can be - just returns a success result with a json body. I’ve also tried with other cloud functions that are in active use via regular HTTP routes, and these too generate the same error when used as the proxy endpoint. I also see the same error when I use a url that points to a non-existent cloud function.
The problem appeared 37 hours ago at the time of writing (around 9pm PST, Nov 19.)
Thinking it might be project-related, I also tried creating a proxy route in a different notehub account and project, but same result.
Routing to the Notehub API works, but for some reason not to my cloud functions. These were working fine prior to the error appearing yesterday, and I’ve reduced as much as possible to a minimal test example.
So puzzling! I wonder if you have more details about the error in server logs etc.. Can DM any project details needed.
Thanks!