I am using a route with my worker, on the domain I have set the route i have authenticated pulls on. Everything works great in the cloudflare editor testing window and when doing static requests. However…if the worker does a request to a remote server where it needs to get data coming back (ie oauth) it fails with a 525 error on the screen.
Given that an authenticated pull is related to the communication with a server…and workers supposedly being serverless and working on their own…i think this might be a bug. If I turn off authenticated pulls and run it in a normal browser window it works. If I run the worker form worker.dev it works. If i run it with authenticated pulls on in the cloudflare testing environment it works.
It only does a 525 when running in a standard browser window and making a request to a third party with data with authenticated pulls on.
Turns out I really need that scenario to work…any ideas for a work around? Or if this is indeed a bug…cloudflare can you fix!? Thanks!