Worker fetch failing with several Microsoft domains

fetch requests to several Microsoft domains are failing with response status code 526.

Here’s a test script:

export default {
  async fetch(request, env) {
    const pn = new URL(request.url).pathname;
    if (pn == '/test2') {
      /* Should get 200 */
      return fetch('')
    else if (pn == '/test3') {
      /* Should get 401 */
      return fetch('')
    else {
      return new Response(null, {status: 404})

Works as expected in the quick edit console, but you’ll get 526 responses with the actual deployment.

Hi there,

I believe this issue was resolved, could you please try again? Thanks.

Yes, it was resolved by the time I tested again about 12 hours ago.

1 Like