Custom Managed Components can't call Workers

Custom Managed Components can't call Workers 🧵
3 Replies
Mackenly
Mackenly•5mo ago
When creating a managed component that makes an HTTP request to a Worker the request will return 522, which is the error code returned when a Worker requests another Worker on the same zone. Since custom managed components run as workers, this makes sense, but when attempting to send a request to a worker based analytics tool, this seems to break. Is there a potential workaround for this? I'm attempting to use a workers based analytics tool which means I can't use the same domain for analytics and the site.
Unknown User
Unknown User•5mo ago
Message Not Public
Sign In & Join Server To View
Mackenly
Mackenly•5mo ago
Was considering that but would rely on the worker names being the same for anyone who uses it. (Planning to make this public) That does seem like the best route even still though. Thanks!