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

An error occurred in the Server Components render #53400

Closed
1 task done
k-kaundal opened this issue Jul 31, 2023 · 2 comments
Closed
1 task done

An error occurred in the Server Components render #53400

k-kaundal opened this issue Jul 31, 2023 · 2 comments
Labels
bug Issue was opened via the bug report template. Pages Router Related to Pages Router. stale The issue has not seen recent activity.

Comments

@k-kaundal
Copy link

Verify canary release

  • I verified that the issue exists in the latest Next.js canary release

Provide environment information

'strict-transport-security': 'max-age=63072000; includeSubDomains; preload',
      'x-powered-by': 'Express',
      'x-robots-tag': 'noindex',
      'x-vercel-cache': 'MISS',
      'x-vercel-id': 'bom1:iad1::iad1::h6kxw-1690825375394-0efb242f2580',
      connection: 'close'
    },
    config: {
      transitional: [Object],
      adapter: [Array],
      transformRequest: [Array],
      transformResponse: [Array],
      timeout: 0,
      xsrfCookieName: 'XSRF-TOKEN',
      xsrfHeaderName: 'X-XSRF-TOKEN',
      maxContentLength: -1,
      maxBodyLength: -1,
      env: [Object],
      validateStatus: [Function: validateStatus],
      headers: [AxiosHeaders],
      method: 'get',
      url: 'https://dark-evil-club-api-widgethubs.vercel.app/api/sites/admin.dev-techietownspace.com',
      data: undefined
    },
    request: <ref *1> ClientRequest {
      _events: [Object: null prototype],
      _eventsCount: 7,
      _maxListeners: undefined,
      outputData: [],
      outputSize: 0,
      writable: true,
      destroyed: true,
      _last: true,
      chunkedEncoding: false,
      shouldKeepAlive: false,
      maxRequestsOnConnectionReached: false,
      _defaultKeepAlive: true,
      useChunkedEncodingByDefault: false,
      sendDate: false,
      _removedConnection: false,
      _removedContLen: false,
      _removedTE: false,
      strictContentLength: false,
      _contentLength: 0,
      _hasBody: true,
      _trailer: '',
      finished: true,
      _headerSent: true,
      _closed: true,
      socket: [TLSSocket],
      _header: 'GET /api/sites/admin.dev-techietownspace.com HTTP/1.1\r\n' +
        'Accept: application/json, text/plain, */*\r\n' +
        'User-Agent: axios/1.4.0\r\n' +
        'Accept-Encoding: gzip, compress, deflate, br\r\n' +
        'x-vercel-id: bom1::drmdh-1690825366837-0ad610781883\r\n' +
        'Host: dark-evil-club-api-widgethubs.vercel.app\r\n' +
        'Connection: close\r\n' +
        '\r\n',
      _keepAliveTimeout: 0,
      _onPendingData: [Function: nop],
      agent: [Agent],
      socketPath: undefined,
      method: 'GET',
      maxHeaderSize: undefined,
      insecureHTTPParser: undefined,
      joinDuplicateHeaders: undefined,
      path: '/api/sites/admin.dev-techietownspace.com',
      _ended: true,
      res: [IncomingMessage],
      aborted: false,
      timeoutCb: null,
      upgradeOrConnect: false,
      parser: null,
      maxHeadersCount: null,
      reusedSocket: false,
      host: 'dark-evil-club-api-widgethubs.vercel.app',
      protocol: 'https:',
      _redirectable: [Writable],
      [Symbol(kCapture)]: false,
      [Symbol(kBytesWritten)]: 0,
      [Symbol(kNeedDrain)]: false,
      [Symbol(corked)]: 0,
      [Symbol(kOutHeaders)]: [Object: null prototype],
      [Symbol(errored)]: null,
      [Symbol(kUniqueHeaders)]: null
    },
    data: {
      statusCode: 404,
      message: 'Cannot GET /api/sites/admin.dev-techietownspace.com',
      error: 'Not Found'
    }
  }
}
[Error: An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error.] {
  digest: '3624208878'
}
[Error: An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error.] {
  digest: '3624208878',
  page: '/admin.dev-techietownspace.com'
}
RequestId: cb58eb70-55ce-409e-a0f3-9ebb0cea56c0 Error: Runtime exited with error: exit status 1
Runtime.ExitError

Which area(s) of Next.js are affected? (leave empty if unsure)

Data fetching (gS(S)P, getInitialProps)

Link to the code that reproduces this issue or a replay of the bug

npx create-next-app -e reproduction-template-app-dir

To Reproduce

 'strict-transport-security': 'max-age=63072000; includeSubDomains; preload',
  'x-powered-by': 'Express',
  'x-robots-tag': 'noindex',
  'x-vercel-cache': 'MISS',
  'x-vercel-id': 'bom1:iad1::iad1::h6kxw-1690825375394-0efb242f2580',
  connection: 'close'
},
config: {
  transitional: [Object],
  adapter: [Array],
  transformRequest: [Array],
  transformResponse: [Array],
  timeout: 0,
  xsrfCookieName: 'XSRF-TOKEN',
  xsrfHeaderName: 'X-XSRF-TOKEN',
  maxContentLength: -1,
  maxBodyLength: -1,
  env: [Object],
  validateStatus: [Function: validateStatus],
  headers: [AxiosHeaders],
  method: 'get',
  url: 'https://dark-evil-club-api-widgethubs.vercel.app/api/sites/admin.dev-techietownspace.com',
  data: undefined
},
request: <ref *1> ClientRequest {
  _events: [Object: null prototype],
  _eventsCount: 7,
  _maxListeners: undefined,
  outputData: [],
  outputSize: 0,
  writable: true,
  destroyed: true,
  _last: true,
  chunkedEncoding: false,
  shouldKeepAlive: false,
  maxRequestsOnConnectionReached: false,
  _defaultKeepAlive: true,
  useChunkedEncodingByDefault: false,
  sendDate: false,
  _removedConnection: false,
  _removedContLen: false,
  _removedTE: false,
  strictContentLength: false,
  _contentLength: 0,
  _hasBody: true,
  _trailer: '',
  finished: true,
  _headerSent: true,
  _closed: true,
  socket: [TLSSocket],
  _header: 'GET /api/sites/admin.dev-techietownspace.com HTTP/1.1\r\n' +
    'Accept: application/json, text/plain, */*\r\n' +
    'User-Agent: axios/1.4.0\r\n' +
    'Accept-Encoding: gzip, compress, deflate, br\r\n' +
    'x-vercel-id: bom1::drmdh-1690825366837-0ad610781883\r\n' +
    'Host: dark-evil-club-api-widgethubs.vercel.app\r\n' +
    'Connection: close\r\n' +
    '\r\n',
  _keepAliveTimeout: 0,
  _onPendingData: [Function: nop],
  agent: [Agent],
  socketPath: undefined,
  method: 'GET',
  maxHeaderSize: undefined,
  insecureHTTPParser: undefined,
  joinDuplicateHeaders: undefined,
  path: '/api/sites/admin.dev-techietownspace.com',
  _ended: true,
  res: [IncomingMessage],
  aborted: false,
  timeoutCb: null,
  upgradeOrConnect: false,
  parser: null,
  maxHeadersCount: null,
  reusedSocket: false,
  host: 'dark-evil-club-api-widgethubs.vercel.app',
  protocol: 'https:',
  _redirectable: [Writable],
  [Symbol(kCapture)]: false,
  [Symbol(kBytesWritten)]: 0,
  [Symbol(kNeedDrain)]: false,
  [Symbol(corked)]: 0,
  [Symbol(kOutHeaders)]: [Object: null prototype],
  [Symbol(errored)]: null,
  [Symbol(kUniqueHeaders)]: null
},
data: {
  statusCode: 404,
  message: 'Cannot GET /api/sites/admin.dev-techietownspace.com',
  error: 'Not Found'
}

}
}
[Error: An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error.] {
digest: '3624208878'
}
[Error: An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error.] {
digest: '3624208878',
page: '/admin.dev-techietownspace.com'
}
RequestId: cb58eb70-55ce-409e-a0f3-9ebb0cea56c0 Error: Runtime exited with error: exit status 1
Runtime.ExitError

Describe the Bug

 'strict-transport-security': 'max-age=63072000; includeSubDomains; preload',
  'x-powered-by': 'Express',
  'x-robots-tag': 'noindex',
  'x-vercel-cache': 'MISS',
  'x-vercel-id': 'bom1:iad1::iad1::h6kxw-1690825375394-0efb242f2580',
  connection: 'close'
},
config: {
  transitional: [Object],
  adapter: [Array],
  transformRequest: [Array],
  transformResponse: [Array],
  timeout: 0,
  xsrfCookieName: 'XSRF-TOKEN',
  xsrfHeaderName: 'X-XSRF-TOKEN',
  maxContentLength: -1,
  maxBodyLength: -1,
  env: [Object],
  validateStatus: [Function: validateStatus],
  headers: [AxiosHeaders],
  method: 'get',
  url: 'https://dark-evil-club-api-widgethubs.vercel.app/api/sites/admin.dev-techietownspace.com',
  data: undefined
},
request: <ref *1> ClientRequest {
  _events: [Object: null prototype],
  _eventsCount: 7,
  _maxListeners: undefined,
  outputData: [],
  outputSize: 0,
  writable: true,
  destroyed: true,
  _last: true,
  chunkedEncoding: false,
  shouldKeepAlive: false,
  maxRequestsOnConnectionReached: false,
  _defaultKeepAlive: true,
  useChunkedEncodingByDefault: false,
  sendDate: false,
  _removedConnection: false,
  _removedContLen: false,
  _removedTE: false,
  strictContentLength: false,
  _contentLength: 0,
  _hasBody: true,
  _trailer: '',
  finished: true,
  _headerSent: true,
  _closed: true,
  socket: [TLSSocket],
  _header: 'GET /api/sites/admin.dev-techietownspace.com HTTP/1.1\r\n' +
    'Accept: application/json, text/plain, */*\r\n' +
    'User-Agent: axios/1.4.0\r\n' +
    'Accept-Encoding: gzip, compress, deflate, br\r\n' +
    'x-vercel-id: bom1::drmdh-1690825366837-0ad610781883\r\n' +
    'Host: dark-evil-club-api-widgethubs.vercel.app\r\n' +
    'Connection: close\r\n' +
    '\r\n',
  _keepAliveTimeout: 0,
  _onPendingData: [Function: nop],
  agent: [Agent],
  socketPath: undefined,
  method: 'GET',
  maxHeaderSize: undefined,
  insecureHTTPParser: undefined,
  joinDuplicateHeaders: undefined,
  path: '/api/sites/admin.dev-techietownspace.com',
  _ended: true,
  res: [IncomingMessage],
  aborted: false,
  timeoutCb: null,
  upgradeOrConnect: false,
  parser: null,
  maxHeadersCount: null,
  reusedSocket: false,
  host: 'dark-evil-club-api-widgethubs.vercel.app',
  protocol: 'https:',
  _redirectable: [Writable],
  [Symbol(kCapture)]: false,
  [Symbol(kBytesWritten)]: 0,
  [Symbol(kNeedDrain)]: false,
  [Symbol(corked)]: 0,
  [Symbol(kOutHeaders)]: [Object: null prototype],
  [Symbol(errored)]: null,
  [Symbol(kUniqueHeaders)]: null
},
data: {
  statusCode: 404,
  message: 'Cannot GET /api/sites/admin.dev-techietownspace.com',
  error: 'Not Found'
}

}
}
[Error: An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error.] {
digest: '3624208878'
}
[Error: An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error.] {
digest: '3624208878',
page: '/admin.dev-techietownspace.com'
}
RequestId: cb58eb70-55ce-409e-a0f3-9ebb0cea56c0 Error: Runtime exited with error: exit status 1
Runtime.ExitError

Expected Behavior

i want run this but it give me 500 in main domain

Which browser are you using? (if relevant)

No response

How are you deploying your application? (if relevant)

No response

@k-kaundal k-kaundal added the bug Issue was opened via the bug report template. label Jul 31, 2023
@github-actions github-actions bot added the Pages Router Related to Pages Router. label Jul 31, 2023
@nextjs-bot
Copy link
Collaborator

This issue has been automatically marked as stale due to two years of inactivity. It will be closed in 7 days unless there’s further input. If you believe this issue is still relevant, please leave a comment or provide updated details. Thank you.

@nextjs-bot nextjs-bot added the stale The issue has not seen recent activity. label Feb 18, 2025
@nextjs-bot
Copy link
Collaborator

This issue has been automatically closed due to two years of inactivity. If you’re still experiencing a similar problem or have additional details to share, please open a new issue following our current issue template. Your updated report helps us investigate and address concerns more efficiently. Thank you for your understanding!

@nextjs-bot nextjs-bot closed this as not planned Won't fix, can't repro, duplicate, stale Feb 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue was opened via the bug report template. Pages Router Related to Pages Router. stale The issue has not seen recent activity.
Projects
None yet
Development

No branches or pull requests

2 participants