4
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

vercel デプロイ時のエラー確認方法(502: BAD_GATEWAY)

Last updated at Posted at 2021-01-29

Next.jsのプロジェクトを優秀なvercelを使ってデプロイしようとした時にエラーが発生。
完成したコミットをプッシュして自動でビルドが始まる。
ビルドが終わって正常に完了したかと思えば502: BAD_GATEWAY

image.png

Application Error
The error occurred in the hosted application

An error occurred with this application.
This is an error with the application itself, not the platform.

502: BAD_GATEWAY
Code: NO_RESPONSE_FROM_FUNCTION

何が原因かを調べるにはvercelのサービス上にあるRealtimeLogsを確認すればエラー出力が確認できる。

FunctionsからErrorsのタブを選択すれば真っ赤なエラーログにありつける

image.png

4
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?