Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User tried to check support of unsupported feature: rsc-handler-signIn #425

Open
coredevel opened this issue Feb 10, 2025 · 1 comment
Open

Comments

@coredevel
Copy link

This error keeps appearing quite often in the stackauth-server container within a docker compose env.

[API REQ] [shath3xsy3t2e2rw] POST http://0.0.0.0:8102/api/v1/check-feature-support
Captured error in check-feature-support: StackAssertionError: User tried to check support of unsupported feature: {
  "name": "rsc-handler-signIn"
}

This is likely an error in Stack. Please make sure you are running the newest version and report it.
    at Object.handler (/app/apps/backend/.next/server/app/api/latest/check-feature-support/route.js:483:66)
    at /app/apps/backend/.next/server/chunks/3759.js:4758:34
    at /app/apps/backend/.next/server/chunks/3838.js:147:26
    at AsyncLocalStorage.run (node:internal/async_local_storage/async_hooks:91:14)
    at Su.with (/app/apps/backend/.next/server/instrumentation.js:73282:16621)
    at ContextAPI.with (/app/apps/backend/.next/server/instrumentation.js:741:54)
    at vo.startActiveSpan (/app/apps/backend/.next/server/instrumentation.js:73269:61461)
    at traceSpan (/app/apps/backend/.next/server/chunks/3838.js:140:25)
    at invoke (/app/apps/backend/.next/server/chunks/3759.js:4746:60)
    at async /app/apps/backend/.next/server/chunks/3759.js:4767:26 {
  "extraData": {
    "req": {
      "auth": {
        "branchId": "main",
        "project": {
          "config": {
            "allow_localhost": true,
            "client_team_creation_enabled": false,
            "client_user_deletion_enabled": false,
            "create_team_on_sign_up": false,
            "credential_enabled": true,
            "domains": [],
            "email_config": { "type": "shared" },
            "enabled_oauth_providers": [],
            "id": "31b3ec5e-2db0-433d-9b7e-7079a634162c",
            "legacy_global_jwt_signing": false,
            "magic_link_enabled": false,
            "oauth_providers": [],
            "passkey_enabled": false,
            "sign_up_enabled": true,
            "team_creator_default_permissions": [],
            "team_member_default_permissions": [],
          },
          "created_at_millis": 1739094821224,
          "description": "Stack's admin dashboard",
          "display_name": "Stack Dashboard",
          "id": "internal",
          "is_production_mode": false,
          "user_count": 1,
        },
        "tenancy": {
          "branchId": "main",
          "config": Ref<value["extraData"]["req"]["auth"]["project"]["config"]>,
          "id": "336fba61-7f21-49a4-baf2-a5d46765e43e",
          "organization": null,
          "project": Ref<value["extraData"]["req"]["auth"]["project"]>,
        },
        "type": "client",
      },
      "body": { "name": "rsc-handler-signIn" },
      "clientVersion": {
        "platform": "js",
        "sdk": "@stackframe/stack",
        "version": "2.7.8",
      },
      "headers": {
        "accept": ["*/*"],
        "accept-encoding": ["gzip, deflate"],
        "accept-language": ["*"],
        "access-control-allow-headers": ["content-type, authorization, x-stack-project-id, x-stack-override-error-status, x-stack-random-nonce, x-stack-client-version, x-stack-disable-artificial-development-delay, x-stack-access-type, x-stack-publishable-client-key, x-stack-secret-server-key, x-stack-super-secret-admin-key, x-stack-admin-access-token, x-stack-refresh-token, x-stack-access-token, baggage, sentry-trace"],
        "access-control-allow-methods": ["GET, POST, PUT, PATCH, DELETE, OPTIONS"],
        "access-control-allow-origin": ["*"],
        "access-control-expose-headers": ["content-type, x-stack-actual-status, x-stack-known-error"],
        "access-control-max-age": ["86400"],
        "cache-control": ["no-cache"],
        "connection": ["keep-alive"],
        "content-length": ["29"],
        "content-type": ["application/json"],
        "host": ["localhost:8102"],
        "pragma": ["no-cache"],
        "sec-fetch-mode": ["cors"],
        "user-agent": ["node"],
        "x-forwarded-for": ["127.0.0.1"],
        "x-forwarded-host": ["localhost:8102"],
        "x-forwarded-port": ["8102"],
        "x-forwarded-proto": ["http"],
        "x-stack-access-type": ["client"],
        "x-stack-client-version": ["js @stackframe/[email protected]"],
        "x-stack-override-error-status": ["true"],
        "x-stack-project-id": ["internal"],
        "x-stack-publishable-client-key": ["XPZRApl4UUkkKl+0vlK7DOu2Xn+W1vvycJ2n5sillOo="],
        "x-stack-random-nonce": ["r2nnw51ckm98hfb7rgyg5ajanwr1fdqyzjqpm82pm5keg"],
      },
      "method": "POST",
      "params": {},
      "query": {},
      "url": "http://0.0.0.0:8102/api/v1/check-feature-support",
    },
  },
} {
  req: {
    body: { name: 'rsc-handler-signIn' },
    method: 'POST',
    auth: {
      tenancy: {
        id: '336fba61-7f21-49a4-baf2-a5d46765e43e',
        config: {
          id: '31b3ec5e-2db0-433d-9b7e-7079a634162c',
          allow_localhost: true,
          sign_up_enabled: true,
          credential_enabled: true,
          magic_link_enabled: false,
          passkey_enabled: false,
          create_team_on_sign_up: false,
          client_team_creation_enabled: false,
          client_user_deletion_enabled: false,
          legacy_global_jwt_signing: false,
          domains: [],
          oauth_providers: [],
          enabled_oauth_providers: [],
          email_config: { type: 'shared' },
          team_creator_default_permissions: [],
          team_member_default_permissions: []
        },
        branchId: 'main',
        organization: null,
        project: {
          id: 'internal',
          display_name: 'Stack Dashboard',
          description: "Stack's admin dashboard",
          created_at_millis: 1739094821224,
          user_count: 1,
          is_production_mode: false,
          config: {
            id: '31b3ec5e-2db0-433d-9b7e-7079a634162c',
            allow_localhost: true,
            sign_up_enabled: true,
            credential_enabled: true,
            magic_link_enabled: false,
            passkey_enabled: false,
            create_team_on_sign_up: false,
            client_team_creation_enabled: false,
            client_user_deletion_enabled: false,
            legacy_global_jwt_signing: false,
            domains: [],
            oauth_providers: [],
            enabled_oauth_providers: [],
            email_config: { type: 'shared' },
            team_creator_default_permissions: [],
            team_member_default_permissions: []
          }
        }
      },
      type: 'client',
      project: {
        id: 'internal',
        display_name: 'Stack Dashboard',
        description: "Stack's admin dashboard",
        created_at_millis: 1739094821224,
        user_count: 1,
        is_production_mode: false,
        config: {
          id: '31b3ec5e-2db0-433d-9b7e-7079a634162c',
          allow_localhost: true,
          sign_up_enabled: true,
          credential_enabled: true,
          magic_link_enabled: false,
          passkey_enabled: false,
          create_team_on_sign_up: false,
          client_team_creation_enabled: false,
          client_user_deletion_enabled: false,
          legacy_global_jwt_signing: false,
          domains: [],
          oauth_providers: [],
          enabled_oauth_providers: [],
          email_config: { type: 'shared' },
          team_creator_default_permissions: [],
          team_member_default_permissions: []
        }
      },
      branchId: 'main'
    },
    url: 'http://0.0.0.0:8102/api/v1/check-feature-support',
    headers: {
      accept: [ '*/*' ],
      'accept-encoding': [ 'gzip, deflate' ],
      'accept-language': [ '*' ],
      'access-control-allow-headers': [
        'content-type, authorization, x-stack-project-id, x-stack-override-error-status, x-stack-random-nonce, x-stack-client-version, x-stack-disable-artificial-development-delay, x-stack-access-type, x-stack-publishable-client-key, x-stack-secret-server-key, x-stack-super-secret-admin-key, x-stack-admin-access-token, x-stack-refresh-token, x-stack-access-token, baggage, sentry-trace'
      ],
      'access-control-allow-methods': [ 'GET, POST, PUT, PATCH, DELETE, OPTIONS' ],
      'access-control-allow-origin': [ '*' ],
      'access-control-expose-headers': [ 'content-type, x-stack-actual-status, x-stack-known-error' ],
      'access-control-max-age': [ '86400' ],
      'cache-control': [ 'no-cache' ],
      connection: [ 'keep-alive' ],
      'content-length': [ '29' ],
      'content-type': [ 'application/json' ],
      host: [ 'localhost:8102' ],
      pragma: [ 'no-cache' ],
      'sec-fetch-mode': [ 'cors' ],
      'user-agent': [ 'node' ],
      'x-forwarded-for': [ '127.0.0.1' ],
      'x-forwarded-host': [ 'localhost:8102' ],
      'x-forwarded-port': [ '8102' ],
      'x-forwarded-proto': [ 'http' ],
      'x-stack-access-type': [ 'client' ],
      'x-stack-client-version': [ 'js @stackframe/[email protected]' ],
      'x-stack-override-error-status': [ 'true' ],
      'x-stack-project-id': [ 'internal' ],
      'x-stack-publishable-client-key': [ 'XPZRApl4UUkkKl+0vlK7DOu2Xn+W1vvycJ2n5sillOo=' ],
      'x-stack-random-nonce': [ 'r2nnw51ckm98hfb7rgyg5ajanwr1fdqyzjqpm82pm5keg' ]
    },
    query: {},
    params: {},
    clientVersion: { platform: 'js', sdk: '@stackframe/stack', version: '2.7.8' }
  }
} 

@fomalhautb
Copy link
Contributor

Hi, this is just an error for us to log some feature request information. We will suppress it in the future and you can just ignore it for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants