Issues logging in after v1.29.1 on self hosted instance

Describe the problem/error/question

I have a self hosted instance of n8n installed via npm. After updating from 1.29.1, I enter my credentials in the login screen and it looks like I am being logged in but I get a 401 error from all of the REST backend calls. I think the problem happens during the login process because if I login on v1.29.1, stop the service on the host, update to 1.3x.x and restart the service everything works as expected until I logout and attempt to log back in.

Has anyone experienced something similar?

What is the error message (if any)?

AxiosError: Request failed with status code 401
at It (http://hostaddress/assets/axios-s2RMMPhA.js:3:1033)
at XMLHttpRequest.S (http://hostaddress/assets/axios-s2RMMPhA.js:3:4216)
at j.request (http://hostaddress/assets/axios-s2RMMPhA.js:5:3091)
at async $x (http://hostaddress/assets/n8n-oSulVm5C.js:1:2558)
at async Xr (http://hostaddress/assets/n8n-oSulVm5C.js:1:3052)
at async Ve (http://hostaddress/assets/MainSidebar-YIkYQNvU.js:1:5142)
at async x (http://hostaddress/assets/MainSidebar-YIkYQNvU.js:1:5469)
at async k (http://hostaddress/assets/MainSidebar-YIkYQNvU.js:1:5558)

Information on your n8n setup

  • n8n version: 1.30.0 and up
  • Database (default: SQLite): SQLite
  • n8n EXECUTIONS_PROCESS setting (default: own, main): default
  • Running n8n via (Docker, npm, n8n cloud, desktop app): npm
  • Operating system: Ubuntu 22.04

Hey @tmorello,

The below should be what you are after.

Yep, that did it.

Thank you.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.