OTA updates are not working in production when connected to wifi

Please provide the following:

  1. SDK Version:36
  2. Platforms(Android/iOS/web/all):Android/iOS

OTA updates in an ejected app are not being downloaded in production apps when it’s connected to a WiFi connection, it works fine if the phone is only using its own mobile data.

Logging the error for the Updates module for android returns this:

{
  "framesToPop": 1,
  "nativeStackAndroid": [
    {
      "methodName": "onFailure",
      "lineNumber": 1,
      "file": "ExponentManifest.java",
      "class": "host.exp.exponent.g$b"
    },
    {
      "methodName": "a",
      "lineNumber": 34,
      "file": "ExponentHttpClient.java",
      "class": "host.exp.exponent.s.e"
    },
    {
      "methodName": "a",
      "lineNumber": 1,
      "file": "ExponentHttpClient.java",
      "class": "host.exp.exponent.s.e"
    },
    {
      "methodName": "onResponse",
      "lineNumber": 4,
      "file": "ExponentHttpClient.java",
      "class": "host.exp.exponent.s.e$d"
    },
    {
      "methodName": "execute",
      "lineNumber": 5,
      "file": "RealCall.java",
      "class": "okhttp3.RealCall$AsyncCall"
    },
    {
      "methodName": "run",
      "lineNumber": 3,
      "file": "NamedRunnable.java",
      "class": "okhttp3.internal.NamedRunnable"
    },
    {
      "methodName": "processTask",
      "lineNumber": 1187,
      "file": "ThreadPoolExecutor.java",
      "class": "java.util.concurrent.ThreadPoolExecutor"
    },
    {
      "methodName": "runWorker",
      "lineNumber": 1152,
      "file": "ThreadPoolExecutor.java",
      "class": "java.util.concurrent.ThreadPoolExecutor"
    },
    {
      "methodName": "run",
      "lineNumber": 641,
      "file": "ThreadPoolExecutor.java",
      "class": "java.util.concurrent.ThreadPoolExecutor$Worker"
    },
    {
      "methodName": "run",
      "lineNumber": 784,
      "file": "Thread.java",
      "class": "java.lang.Thread"
    }
  ],
  "userInfo": null,
  "message": null,
  "code": "E_FETCH_MANIFEST_FAILED",
  "line": 20,
  "column": 1111,
  "sourceURL": "/data/user/0/com.optimizeapp.optimizeapp/files/36.0.0/cached-bundle-experience-%40samyoptimize%2Foptimize_app-1658896835-36.0.0"
}

for ios

{
  "framesToPop": 1,
  "code": "E_CHECK_UPDATE_FAILED",
  "message": "The request timed out.",
  "domain": "EXNetwork",
  "userInfo": {
    "_kCFStreamErrorDomainKey": 4,
    "NSErrorFailingURLKey": null,
    "_kCFStreamErrorCodeKey": -2102,
    "NSErrorFailingURLStringKey": "http://exp.host/@samyoptimize/optimize_app",
    "NSLocalizedDescription": "The request timed out.",
    "NSUnderlyingError": {
      "code": "-1001",
      "message": "underlying error",
      "domain": "kCFErrorDomainCFNetwork",
      "userInfo": {
        "_kCFStreamErrorDomainKey": 4,
        "_kCFStreamErrorCodeKey": -2102
      },
      "nativeStackIOS": [
        "0   optimizeapp                         0x000000010514d5bc _ZN8facebook5react11JSIExecutor21defaultTimeoutInvokerERKNSt3__18functionIFvvEEENS3_IFNS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEvEEE + 518316",
        "1   optimizeapp                         0x000000010514d7a8 _ZN8facebook5react11JSIExecutor21defaultTimeoutInvokerERKNSt3__18functionIFvvEEENS3_IFNS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEvEEE + 518808",
        "2   optimizeapp                         0x0000000105112718 _ZN8facebook5react11JSIExecutor21defaultTimeoutInvokerERKNSt3__18functionIFvvEEENS3_IFNS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEvEEE + 277000",
        "3   optimizeapp                         0x00000001050396b8 optimizeapp + 890552",
        "4   optimizeapp                         0x000000010500b910 optimizeapp + 702736",
        "5   optimizeapp                         0x0000000105012268 optimizeapp + 729704",
        "6   CFNetwork                           0x00000001c07b9be4 CFNetServiceBrowserSearchForServices + 93664",
        "7   CFNetwork                           0x00000001c07ca6f4 _CFHTTPMessageSetResponseProxyURL + 9540",
        "8   Foundation                          0x00000001bd92b410 503900AF-2ECD-329F-B742-C07C3E672BEB + 1131536",
        "9   Foundation                          0x00000001bd835138 503900AF-2ECD-329F-B742-C07C3E672BEB + 123192",
        "10  Foundation                          0x00000001bd92d698 503900AF-2ECD-329F-B742-C07C3E672BEB + 1140376",
        "11  Foundation                          0x00000001bd834dd0 503900AF-2ECD-329F-B742-C07C3E672BEB + 122320",
        "12  Foundation                          0x00000001bd92e090 503900AF-2ECD-329F-B742-C07C3E672BEB + 1142928",
        "13  Foundation                          0x00000001bd92db5c 503900AF-2ECD-329F-B742-C07C3E672BEB + 1141596",
        "14  libdispatch.dylib                   0x00000001bd216998 A3849F96-1C9F-36C5-A15F-70C566F14CFF + 260504",
        "15  libdispatch.dylib                   0x00000001bd233184 A3849F96-1C9F-36C5-A15F-70C566F14CFF + 377220",
        "16  libdispatch.dylib                   0x00000001bd20ce8c A3849F96-1C9F-36C5-A15F-70C566F14CFF + 220812",
        "17  libdispatch.dylib                   0x00000001bd20c600 A3849F96-1C9F-36C5-A15F-70C566F14CFF + 218624",
        "18  libdispatch.dylib                   0x00000001bd219110 A3849F96-1C9F-36C5-A15F-70C566F14CFF + 270608",
        "19  libdispatch.dylib                   0x00000001bd2198b0 A3849F96-1C9F-36C5-A15F-70C566F14CFF + 272560",
        "20  libsystem_pthread.dylib             0x00000001bd282b48 _pthread_wqthread + 212",
        "21  libsystem_pthread.dylib             0x00000001bd285760 start_wqthread + 8"
      ]
    },
    "errorCode": "NETWORK_ERROR"
  },
  "nativeStackIOS": [
    "0   optimizeapp                         0x000000010514d5bc _ZN8facebook5react11JSIExecutor21defaultTimeoutInvokerERKNSt3__18functionIFvvEEENS3_IFNS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEvEEE + 518316",
    "1   optimizeapp                         0x0000000105112718 _ZN8facebook5react11JSIExecutor21defaultTimeoutInvokerERKNSt3__18functionIFvvEEENS3_IFNS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEvEEE + 277000",
    "2   optimizeapp                         0x00000001050396b8 optimizeapp + 890552",
    "3   optimizeapp                         0x000000010500b910 optimizeapp + 702736",
    "4   optimizeapp                         0x0000000105012268 optimizeapp + 729704",
    "5   CFNetwork                           0x00000001c07b9be4 CFNetServiceBrowserSearchForServices + 93664",
    "6   CFNetwork                           0x00000001c07ca6f4 _CFHTTPMessageSetResponseProxyURL + 9540",
    "7   Foundation                          0x00000001bd92b410 503900AF-2ECD-329F-B742-C07C3E672BEB + 1131536",
    "8   Foundation                          0x00000001bd835138 503900AF-2ECD-329F-B742-C07C3E672BEB + 123192",
    "9   Foundation                          0x00000001bd92d698 503900AF-2ECD-329F-B742-C07C3E672BEB + 1140376",
    "10  Foundation                          0x00000001bd834dd0 503900AF-2ECD-329F-B742-C07C3E672BEB + 122320",
    "11  Foundation                          0x00000001bd92e090 503900AF-2ECD-329F-B742-C07C3E672BEB + 1142928",
    "12  Foundation                          0x00000001bd92db5c 503900AF-2ECD-329F-B742-C07C3E672BEB + 1141596",
    "13  libdispatch.dylib                   0x00000001bd216998 A3849F96-1C9F-36C5-A15F-70C566F14CFF + 260504",
    "14  libdispatch.dylib                   0x00000001bd233184 A3849F96-1C9F-36C5-A15F-70C566F14CFF + 377220",
    "15  libdispatch.dylib                   0x00000001bd20ce8c A3849F96-1C9F-36C5-A15F-70C566F14CFF + 220812",
    "16  libdispatch.dylib                   0x00000001bd20c600 A3849F96-1C9F-36C5-A15F-70C566F14CFF + 218624",
    "17  libdispatch.dylib                   0x00000001bd219110 A3849F96-1C9F-36C5-A15F-70C566F14CFF + 270608",
    "18  libdispatch.dylib                   0x00000001bd2198b0 A3849F96-1C9F-36C5-A15F-70C566F14CFF + 272560",
    "19  libsystem_pthread.dylib             0x00000001bd282b48 _pthread_wqthread + 212",
    "20  libsystem_pthread.dylib             0x00000001bd285760 start_wqthread + 8"
  ],
  "line": 22,
  "column": 1111,
  "sourceURL": "https://d1wp6m56sqw74a.cloudfront.net/%40samyoptimize%2Foptimize_app%2F0.3.230%2F278a8fa7d16012311a7d603043396d22-36.0.0-ios.js"
}

Had a similar issue with the WiFi problem a while back ExpoKit .apks for android crash when opening
Which was fixed based on this github issue https://github.com/expo/expo/issues/7304 so i’m not sure if it has to do with expo’s servers again