Unknown application error occurred
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 38/100
- issue の種類
- バグ
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- javascript, node.js
調査の方向性
リンクされている issue 再現用リポジトリから始め、yarn を実行し、説明されているとおりに api/login/checksecurityans を実行してください。api/login/checksecurityans.js から api/services/jwt-token-service.js、jsonwebtoken/sign.js までスタックを追跡します。報告された PEM エラーが jsonwebtoken で再現可能なのか、それとも再現環境に固有なのかを特定できれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Description
I have been working with Vercel support to resolve an issue where the jsonwebtoken package is encountering an error, "Unknown application error occurred". Vercel has directed me to open an issue here.
Reproduction
https://github.com/vercel-support/issue-reproduction
Here are my steps.
- Clone the repo https://github.com/vercel-support/issue-reproduction
- run, "yarn"
- run the code in the api/login/checksecurityans file
- Open Postman and POST to localhost:3000/api/login/checksecurityans
- Get this error if you ran the code using 'vercel dev'
Or if you ran the file using node you might see an error like this one
[POST] /api/login/checksecurityans
17:08:28:62
2021-03-22T22:08:28.686Z 6d89535a-42b6-4836-89cd-1de6611f75ea ERROR Unhandled Promise Rejection {"errorType":"Runtime.UnhandledPromiseRejection","errorMessage":"Error: error:0909006C:PEM routines:get_name:no start line","reason":{"errorType":"Error","errorMessage":"error:0909006C:PEM routines:get_name:no start line","code":"ERR_OSSL_PEM_NO_START_LINE","library":"PEM routines","function":"get_name","reason":"no start line","stack":["Error: error:0909006C:PEM routines:get_name:no start line"," at Sign.sign (internal/crypto/sig.js:110:29)"," at Object.sign (/var/task/api/node_modules/jwa/index.js:152:45)"," at Object.jwsSign [as sign] (/var/task/api/node_modules/jws/lib/sign-stream.js:32:24)"," at Object.module.exports [as sign] (/var/task/api/node_modules/jsonwebtoken/sign.js:204:16)"," at JwtTokenService.generateJwt (/var/task/api/services/jwt-token-service.js:57:29)"," at checkSecurityAns (/var/task/api/login/checksecurityans.js:4:33)"," at Server.<anonymous> (/var/task/___vc_helpers.js:813:19)"," at Server.emit (events.js:315:20)"," at parserOnIncoming (_http_server.js:874:12)"," at HTTPParser.parserOnHeadersComplete (_http_common.js:126:17)"]},"promise":{},"stack":["Runtime.UnhandledPromiseRejection: Error: error:0909006C:PEM routines:get_name:no start line"," at process.<anonymous> (/var/runtime/index.js:35:15)"," at process.emit (events.js:327:22)"," at process.emit (/var/task/___vc_sourcemap_support.js:587:21)"," at processPromiseRejections (internal/process/promises.js:245:33)"," at processTicksAndRejections (internal/process/task_queues.js:94:32)"]}
Unknown application error occurred
I do have a package.json file and it does include jsonwebtoken.
Environment
"jsonwebtoken": "8.5.1"
Node v14
- 主要言語
- JavaScript
- スター
- 18.2k
- フォーク
- 1.3k
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
auth0/node-jsonwebtoken のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
auth0/node-jsonwebtoken#1042 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
auth0/node-jsonwebtoken#1000 · コメント 2 件 · リアクション 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 65/100
auth0/node-jsonwebtoken#1046 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 10/100
auth0/node-jsonwebtoken#1034 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 48/100
auth0/node-jsonwebtoken#1032 ·
auth0/node-jsonwebtoken の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
antfu-collective/icones#398 ·
-
ECmail.com オープン
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
wesbos/burner-email-providers#554 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
radiantearth/stac-browser#1023 ·
-
HMR stops working オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
components-web-app/docs#92 ·