I am trying to wirte a CF-Worker. I am trying to create subrequests to an external service to collect information that shall be gathered and cached by the worker and returned to the user. I am requesting from the same domain with different parameters, not sure if this is relevant?
It seems that if I create more than 5 subrequests I get the following error response:
“Error: Response closed due to connection limit”
An example call would be: https://overpass2.kurviger.de/?fromLat=48.0&fromLon=8.0&toLat=49.0&toLon=8.4
Are there any limits in place that I couldn’t find in the documentation? I thought the limit would be 50 subrequests.
BTW: the script works if I run it locally with wrangler, but fails when being deployed.