Advertisement
Guest User

403

a guest
Sep 1st, 2021
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 8.00 KB | None | 0 0
  1. { Error: Forbidden
  2.     at Request.callback (/usr/local/lib/node_modules/smee-client/node_modules/superagent/lib/node/index.js:883:15)
  3.     at IncomingMessage.<anonymous> (/usr/local/lib/node_modules/smee-client/node_modules/superagent/lib/node/index.js:1126:20)
  4.     at IncomingMessage.emit (events.js:203:15)
  5.     at endReadableNT (_stream_readable.js:1145:12)
  6.     at process._tickCallback (internal/process/next_tick.js:63:19)
  7.   status: 403,
  8.   response:
  9.    Response {
  10.      _events: [Object: null prototype] {},
  11.      _eventsCount: 0,
  12.      _maxListeners: undefined,
  13.      res:
  14.       IncomingMessage {
  15.         _readableState: [ReadableState],
  16.         readable: false,
  17.         _events: [Object],
  18.         _eventsCount: 4,
  19.         _maxListeners: undefined,
  20.         socket: [Socket],
  21.         connection: [Socket],
  22.         httpVersionMajor: 1,
  23.         httpVersionMinor: 1,
  24.         httpVersion: '1.1',
  25.         complete: true,
  26.         headers: [Object],
  27.         rawHeaders: [Array],
  28.         trailers: {},
  29.         rawTrailers: [],
  30.         aborted: false,
  31.         upgrade: false,
  32.         url: '',
  33.         method: null,
  34.         statusCode: 403,
  35.         statusMessage: 'Forbidden',
  36.         client: [Socket],
  37.         _consuming: false,
  38.         _dumped: false,
  39.         req: [ClientRequest],
  40.         text:
  41.          '<html>\n<head>\n<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>\n<title>Error 403 No valid crumb was included in the request</title>\n</head>\n<body><h2>HTTP ERROR 403 No valid crumb was included in the request</h2>\n<table>\n<tr><th>URI:</th><td>/bitbucket-hook/</td></tr>\n<tr><th>STATUS:</th><td>403</td></tr>\n<tr><th>MESSAGE:</th><td>No valid crumb was included in the request</td></tr>\n<tr><th>SERVLET:</th><td>Stapler</td></tr>\n</table>\n<hr><a href="https://eclipse.org/jetty">Powered by Jetty:// 9.4.39.v20210325</a><hr/>\n\n</body>\n</html>\n' },
  42.      request:
  43.       Request {
  44.         _events: [Object: null prototype] {},
  45.         _eventsCount: 0,
  46.         _maxListeners: undefined,
  47.         _enableHttp2: false,
  48.         _agent: false,
  49.         _formData: null,
  50.         method: 'POST',
  51.         url: 'http://127.0.0.1:8080/bitbucket-hook/',
  52.         _header: [Object],
  53.         header: [Object],
  54.         writable: true,
  55.         _redirects: 0,
  56.         _maxRedirects: 5,
  57.         cookies: '',
  58.         qs: {},
  59.         _query: [],
  60.         qsRaw: [],
  61.         _redirectList: [],
  62.         _streamRequest: false,
  63.         _data: [Object],
  64.         req: [ClientRequest],
  65.         protocol: 'http:',
  66.         host: '127.0.0.1:8080',
  67.         _endCalled: true,
  68.         _callback: [Function],
  69.         res: [IncomingMessage],
  70.         _resBuffered: true,
  71.         response: [Circular],
  72.         called: true },
  73.      req:
  74.       ClientRequest {
  75.         _events: [Object],
  76.         _eventsCount: 3,
  77.         _maxListeners: undefined,
  78.         output: [],
  79.         outputEncodings: [],
  80.         outputCallbacks: [],
  81.         outputSize: 0,
  82.         writable: true,
  83.         _last: true,
  84.         chunkedEncoding: false,
  85.         shouldKeepAlive: false,
  86.         useChunkedEncodingByDefault: true,
  87.         sendDate: false,
  88.         _removedConnection: false,
  89.         _removedContLen: false,
  90.         _removedTE: false,
  91.         _contentLength: 7360,
  92.         _hasBody: true,
  93.         _trailer: '',
  94.         finished: true,
  95.         _headerSent: true,
  96.         socket: [Socket],
  97.         connection: [Socket],
  98.         _header:
  99.          'POST /bitbucket-hook/ HTTP/1.1\r\nhost: smee.io\r\nAccept-Encoding: gzip, deflate\r\ncontent-type: application/json\r\nconnection: close\r\nx-event-key: repo:push\r\nx-hook-uuid: 3763f13b-237c-4a56-9b65-94065d969ff7\r\nx-event-time: Wed, 01 Sep 2021 14:54:09 GMT\r\nuser-agent: Bitbucket-Webhooks/2.0\r\nx-attempt-number: 1\r\nx-request-uuid: f9e91787-5ff3-477f-b62e-c3f495ec8bda\r\nx-b3-traceid: 3e13542bbae18215\r\nx-b3-spanid: 3e13542bbae18215\r\nx-b3-sampled: 1\r\naccept: */*\r\nx-request-id: b254466f-a8a7-40ee-89a7-7ac0a2127e36\r\nx-forwarded-for: %IP-address%\r\nx-forwarded-proto: https\r\nx-forwarded-port: 443\r\nvia: 1.1 vegur\r\nconnect-time: 0\r\nx-request-start: 1630508050595\r\ntotal-route-time: 0\r\ncontent-length: 7360\r\ntimestamp: 1630508050599\r\n\r\n',
  100.         _onPendingData: [Function: noopPendingOutput],
  101.         agent: [Agent],
  102.         socketPath: undefined,
  103.         timeout: undefined,
  104.         method: 'POST',
  105.         insecureHTTPParser: undefined,
  106.         path: '/bitbucket-hook/',
  107.         _ended: true,
  108.         res: [IncomingMessage],
  109.         aborted: undefined,
  110.         timeoutCb: null,
  111.         upgradeOrConnect: false,
  112.         parser: null,
  113.         maxHeadersCount: null,
  114.         [Symbol(isCorked)]: false,
  115.         [Symbol(outHeadersKey)]: [Object] },
  116.      text:
  117.       '<html>\n<head>\n<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>\n<title>Error 403 No valid crumb was included in the request</title>\n</head>\n<body><h2>HTTP ERROR 403 No valid crumb was included in the request</h2>\n<table>\n<tr><th>URI:</th><td>/bitbucket-hook/</td></tr>\n<tr><th>STATUS:</th><td>403</td></tr>\n<tr><th>MESSAGE:</th><td>No valid crumb was included in the request</td></tr>\n<tr><th>SERVLET:</th><td>Stapler</td></tr>\n</table>\n<hr><a href="https://eclipse.org/jetty">Powered by Jetty:// 9.4.39.v20210325</a><hr/>\n\n</body>\n</html>\n',
  118.      body: {},
  119.      files: undefined,
  120.      buffered: true,
  121.      headers:
  122.       { connection: 'close',
  123.         'x-content-type-options': 'nosniff',
  124.         'cache-control': 'must-revalidate,no-cache,no-store',
  125.         'content-type': 'text/html;charset=iso-8859-1',
  126.         'content-length': '558',
  127.         server: 'Jetty(9.4.39.v20210325)' },
  128.      header:
  129.       { connection: 'close',
  130.         'x-content-type-options': 'nosniff',
  131.         'cache-control': 'must-revalidate,no-cache,no-store',
  132.         'content-type': 'text/html;charset=iso-8859-1',
  133.         'content-length': '558',
  134.         server: 'Jetty(9.4.39.v20210325)' },
  135.      statusCode: 403,
  136.      status: 403,
  137.      statusType: 4,
  138.      info: false,
  139.      ok: false,
  140.      redirect: false,
  141.      clientError: true,
  142.      serverError: false,
  143.      error:
  144.       { Error: cannot POST /bitbucket-hook/ (403)
  145.           at Response.toError (/usr/local/lib/node_modules/smee-client/node_modules/superagent/lib/node/response.js:98:13)
  146.           at ResponseBase._setStatusProperties (/usr/local/lib/node_modules/smee-client/node_modules/superagent/lib/response-base.js:119:48)
  147.           at new Response (/usr/local/lib/node_modules/smee-client/node_modules/superagent/lib/node/response.js:44:8)
  148.           at Request._emitResponse (/usr/local/lib/node_modules/smee-client/node_modules/superagent/lib/node/index.js:930:18)
  149.           at IncomingMessage.<anonymous> (/usr/local/lib/node_modules/smee-client/node_modules/superagent/lib/node/index.js:1126:42)
  150.           at IncomingMessage.emit (events.js:203:15)
  151.           at endReadableNT (_stream_readable.js:1145:12)
  152.           at process._tickCallback (internal/process/next_tick.js:63:19)
  153.         status: 403,
  154.         text:
  155.          '<html>\n<head>\n<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>\n<title>Error 403 No valid crumb was included in the request</title>\n</head>\n<body><h2>HTTP ERROR 403 No valid crumb was included in the request</h2>\n<table>\n<tr><th>URI:</th><td>/bitbucket-hook/</td></tr>\n<tr><th>STATUS:</th><td>403</td></tr>\n<tr><th>MESSAGE:</th><td>No valid crumb was included in the request</td></tr>\n<tr><th>SERVLET:</th><td>Stapler</td></tr>\n</table>\n<hr><a href="https://eclipse.org/jetty">Powered by Jetty:// 9.4.39.v20210325</a><hr/>\n\n</body>\n</html>\n',
  156.         method: 'POST',
  157.         path: '/bitbucket-hook/' },
  158.      created: false,
  159.      accepted: false,
  160.      noContent: false,
  161.      badRequest: false,
  162.      unauthorized: false,
  163.      notAcceptable: false,
  164.      forbidden: true,
  165.      notFound: false,
  166.      unprocessableEntity: false,
  167.      type: 'text/html',
  168.      charset: 'iso-8859-1',
  169.      links: {},
  170.      setEncoding: [Function: bound ],
  171.      redirects: [],
  172.      pipe: [Function] } }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement