louiek22
louiek22
CDCloudflare Developers
Created by louiek22 on 10/14/2024 in #workers-help
fetch() sometimes returning 520 even though request to origin was successful
Using a database API via a non-standard port (I cannot test it with a standard port) sometimes returns a 520 status code even though the request actually succeeded. As far as I can tell, the origin database is actually sending back a 200 response, that cloudflare is somehow turning into a 520 before it reaches the worker. I've ran through basically every analytic I can measure and I haven't been able to figure out why only a very small portion of requests are just failing. Any insight would be much appreciated 🙏 I've also reviewed that the third-party server is not: - Sending headers > 16 KB - Blocking Cloudflare IPs
9 replies
CDCloudflare Developers
Created by louiek22 on 10/3/2024 in #workers-help
Billing for sub 1ms worker CPU time
Does anyone know how billing is handled for workers which have <1ms CPU time? For instance: Is a 0.7ms CPU time billed as 1ms or 0.7ms? Is a 1.1ms CPU time billed as 1ms, 1.1ms, or 2ms?
3 replies