iflytek/astron-agent · error · X

SERVER_UNKNOWN_ERROR

SERVER_UNKNOWN_ERROR

Error message

Server unknown error: /api/v1/app/config/get?appId

What it means

Fallback getAppConfig error when the config fetch fails without a usable HTTP status (network error, timeout, or unparseable response). Indicates the request never completed normally rather than a specific HTTP error.

Solutions

  1. Check network connectivity/proxy to the avatar service host
  2. Look for fetch timeout or CORS failures in browser console
  3. Retry the avatar session after confirming service health
Defensive patterns

Strategy: retry

When it happens

Trigger: Thrown at console/frontend/src/utils/avatar-sdk-web_3.1.2.1002/xrtc-player-BJTnVhG9.js:13002 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of iflytek/astron-agent@5e758547a8 (2026-09-12). Data as JSON: /api/errors/eb34d3bf70148077. Report an issue: GitHub.

Appendix: source

Thrown at console/frontend/src/utils/avatar-sdk-web_3.1.2.1002/xrtc-player-BJTnVhG9.js:13002

                    i.extendInfo.location &&
                    (a += '&location='.concat(i.extendInfo.location)),
                  t && ((i.privateKey = t), (a += '&privateKey='.concat(t))),
                  (c = function () {
                    return fetch(a, {
                      method: 'GET',
                      headers: o,
                      signal: s.signal,
                    });
                  }),
                  r.abrupt(
                    'return',
                    Promise.race([
                      i.timeoutPromise(i.timeout, s, 'getAppConfig'),
                      c(),
                    ])
                      .then(function (e) {
                        if (e.ok) return e.json();
                        throw new X(
                          401 === e.status
                            ? {
                                code: B.AUTHORIZATION_FAILED,
                                message:
                                  'Authorization failed: /api/v1/app/config/get?appId',
                              }
                            : 404 === e.status
                              ? {
                                  code: B.GET_SERVER_NODE_FAILED,
                                  message: '404: /api/v1/app/config/get?appId',
                                }
                              : 408 === e.status
                                ? {
                                    code: B.REQUEST_TIMEOUT,
                                    message: ''.concat(
                                      e.statusText,
                                      ': /api/v1/app/config/get?appId'
                                    ),

View on GitHub (pinned to 5e758547a8)