Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[GRAPHQL-CLIENT] NETWORK ERROR ENCOUNTERED error when trying to connect from WAN

Featured Replies

Hello, I'm trying to connect remotely from WAN via my FQDN LAN 0 address and getting no response. I checked the unraid-api logs and found the following:

[11:04:49.779] INFO: Applying modification: auth-request - Default behavior is to apply modifications if the file exists {"apiVersion":"4.15.1+6edd3a3","logger":"api","context":
"UnraidFileModificationService"}
[11:04:49.796] INFO: Modification applied successfully: auth-request {"apiVersion":"4.15.1+6edd3a3","logger":"api","context":"UnraidFileModificationService"}
[11:04:49.796] INFO: Applying modification: default-page-layout - Default behavior is to apply modifications if the file exists {"apiVersion":"4.15.1+6edd3a3","logger":"api","co
ntext":"UnraidFileModificationService"}
[11:04:49.797] ERROR: Failed to apply static patch to /usr/local/emhttp/plugins/dynamix/include/DefaultPageLayout.php, continuing with dynamic patch {"apiVersion":"4.15.1+6edd3a
3","logger":"api","context":"UnraidFileModificationService"}
[11:04:49.802] INFO: Modification applied successfully: default-page-layout {"apiVersion":"4.15.1+6edd3a3","logger":"api","context":"UnraidFileModificationService"}
[11:04:49.802] INFO: Applying modification: hosts - Default behavior is to apply modifications if the file exists {"apiVersion":"4.15.1+6edd3a3","logger":"api","context":"Unraid
FileModificationService"}
[11:04:49.802] WARN: Could not load pregenerated patch for: hosts {"apiVersion":"4.15.1+6edd3a3","logger":"api","context":"UnraidFileModificationService"}
[11:04:49.803] ERROR: Failed to apply patch to /etc/hosts: Error: Invalid Patch Format: No hunks found for /etc/hosts {"apiVersion":"4.15.1+6edd3a3","logger":"api","context":"Un
raidFileModificationService"}
[11:04:49.803] ERROR: Failed to apply modification: hosts: {} {"apiVersion":"4.15.1+6edd3a3","logger":"api","context":"UnraidFileModificationService"}
[11:04:49.804] INFO: Applying modification: notifications-page - Default behavior is to apply modifications if the file exists {"apiVersion":"4.15.1+6edd3a3","logger":"api","con
text":"UnraidFileModificationService"}
........
[11:05:32.586] WARN: [GRAPHQL-CLIENT] NETWORK ERROR ENCOUNTERED {"name":"ServerError","response":{},"statusCode":400,"result":{"errors":[{"message":"Cannot query field \"unraid\" on typ
e \"InfoVersions\".","locations":[{"line":6,"column":7}],"extensions":{"code":"GRAPHQL_VALIDATION_FAILED"}},{"message":"Cannot query field \"display\" on type \"Query\".","locations":[{"line":23,"c
olumn":3}],"extensions":{"code":"GRAPHQL_VALIDATION_FAILED"}}]}} {"apiVersion":"4.15.1+6edd3a3","logger":"api","context":"InternalGraphQLClientFactory"}
[11:05:32.587] ERROR: Response not successful: Received status code 400 {"apiVersion":"4.15.1+6edd3a3","logger":"api","context":"MothershipSubscriptionHandler"}
    err: {
      "type": "ApolloError",
      "message": "Response not successful: Received status code 400: Response not successful: Received status code 400",
      "stack":
          ApolloError: Response not successful: Received status code 400
              at new ApolloError (file:///usr/local/unraid-api/node_modules/@apollo/client/errors/index.js:40:28)
              at file:///usr/local/unraid-api/node_modules/@apollo/client/core/QueryManager.js:820:71
              at both (file:///usr/local/unraid-api/node_modules/@apollo/client/utilities/observables/asyncMap.js:22:31)
              at file:///usr/local/unraid-api/node_modules/@apollo/client/utilities/observables/asyncMap.js:11:72
              at new Promise (<anonymous>)
              at Object.then (file:///usr/local/unraid-api/node_modules/@apollo/client/utilities/observables/asyncMap.js:11:24)
              at Object.error (file:///usr/local/unraid-api/node_modules/@apollo/client/utilities/observables/asyncMap.js:24:49)
              at notifySubscription (/usr/local/unraid-api/node_modules/zen-observable/lib/Observable.js:140:18)
              at onNotify (/usr/local/unraid-api/node_modules/zen-observable/lib/Observable.js:179:3)
              at SubscriptionObserver.error (/usr/local/unraid-api/node_modules/zen-observable/lib/Observable.js:240:7)
          caused by: ServerError: Response not successful: Received status code 400
              at throwServerError (file:///usr/local/unraid-api/node_modules/@apollo/client/link/utils/throwServerError.js:2:17)
              at parseJsonBody (file:///usr/local/unraid-api/node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js:120:9)
              at file:///usr/local/unraid-api/node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js:176:48
              at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
      "name": "ApolloError",
      "graphQLErrors": [],
      "protocolErrors": [],
      "clientErrors": [],
      "networkError": {
        "type": "Error",
        "message": "Response not successful: Received status code 400",
        "stack":
            ServerError: Response not successful: Received status code 400
                at throwServerError (file:///usr/local/unraid-api/node_modules/@apollo/client/link/utils/throwServerError.js:2:17)
                at parseJsonBody (file:///usr/local/unraid-api/node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js:120:9)
                at file:///usr/local/unraid-api/node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js:176:48
                at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
        "name": "ServerError",
        "response": {},
        "statusCode": 400,
        "result": {
          "errors": [
            {
              "message": "Cannot query field \"unraid\" on type \"InfoVersions\".",
              "locations": [
                {
                  "line": 6,
                  "column": 7
                }
              ],
              "extensions": {
                "code": "GRAPHQL_VALIDATION_FAILED"
              }
            },
            {
              "message": "Cannot query field \"display\" on type \"Query\".",
              "locations": [
                {
                  "line": 23,
                  "column": 3
                }
              ],
              "extensions": {
                "code": "GRAPHQL_VALIDATION_FAILED"
              }
            }
          ]
        }
      }
    }

what unraid version are you running? also, does running unraid-api restart fix this specific error? and does your server show up in the Connect Dashboard (ie it's online and you can see the server's details)?

Edited by pujitm

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.