Getting 404s on Some, not all, REST endpoints

Greetings!

I am setting up self-hosted n8n with an enterprise license and running into an issue.

These endpoints all return HTTP 404.
/rest/external-secrets/providers
/rest/external-secrets/secrets
/rest/source-control/preferences

However, other endpoints like these work just fine:
/rest/settings
/rest/login
/rest/projects/personal

We are running in EKS in AWS, using the gear8 helm chart. N8N Version 1.99.1

Any ideas what might be going wrong?

Hello,

Running an enterprise license here and have precisely the same problem.

If anyone could shed some light into this, it’d be highly appreciated.

1 Like

That’s interesting. My original problem actually disappeared after a few days on its own and didn’t come back so I just let it be. However, just a week or two ago, I created some new n8n instances in kubernetes, and one of them is exhibiting this same behavior! I was starting to wonder if it was the load balancer somehow, but that wouldn’t explain why it works fine for the other /rest endpoints and for the other instances.

I’ll be sure to update here if I find a solution.

I just got the error I had to go away by restarting the container. have you tried that?

My previous errors also went away as silently as they came, but possibly due to restarting that happened as I was deploying changes.

Hey @Justin_C , that was it. It appears that after the license is activated, the node process needs to be restarted and until it is, the service behaves in an inconsistent manner.

I’m running a simple deployment, on the basic SQLite DB. Hopped in the container and cycled the node service, rather than the POD.

Thank you very much for your help, appreciated.

1 Like

Hi there!

Once this issue occurs again, could you please try to open the “Usage & Plan” section in your instances’ settings panel? This will retrigger the license renewal and therefore should refresh the features set for your instance. An instance restart also triggers the license renewal.

Let me know if this helps!

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