2
1

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 1 year has passed since last update.

n8nセットアップ時に Request failed with status code 401 が表示されてセットアップできない問題への対応

Last updated at Posted at 2024-03-14

HTTPなローカル環境でn8nをセットアップしようとすると、以下のように「Request failed with status code 401」というメッセージが表示され、セットアップを進められない問題が発生します。(n8n 1.1.1およびそれ以降のバージョンで発生します)

スクリーンショット 2024-03-14 10.32.04.png

対応方法

Dockerでn8nを実行する場合は、以下のコマンドを実行します。

# docker run -it --rm --name n8n -e N8N_SECURE_COOKIE=false -p 5678:5678 -v n8n_data:/home/node/.n8n docker.n8n.io/n8nio/n8n

なお、Docker以外でも、 N8N_SECURE_COOKIE 環境変数を false に変更することで、同様に対応可能です。

参考情報

2
1
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
2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?