License update issue

HI,
we tried to renew on our development environment the non commercial license but we noticed an issue. We started the dashboard and it required to submit the new license and we added it without issues. We checked from the web UI under “Nodes and Licenses” and we have 1 node available.

We started the gateway but we noticed this error "time=“May 23 09:59:59” level=error msg=“Response failed with code 404; retrying in 5s” and the error time=“May 23 10:01:04” level=error msg=“No nodes available” from the dashboard.

The issue is related to the gateway registration method.

Could it be related to invalid license?

Thanks,
Marcello

Any chance you can post full gateway log here?

Thank you!

The full log is:

time="May 23 10:46:00" level=info msg="Setting up analytics normaliser" 
time="May 23 10:46:00" level=info msg="PIDFile location set to: ./tyk-gateway.pid" 
time="May 23 10:46:00" level=info msg="Initialising Tyk REST API Endpoints" 
time="May 23 10:46:00" level=info msg="Redis connection pools are ready after number of retires" currRetry=0 
time="May 23 10:46:00" level=info msg="Redis connection pools are ready" 
time="May 23 10:46:00" level=info msg="--> Standard listener (http)" port=":8080" 
time="May 23 10:46:00" level=info msg="Setting up Server" 
time="May 23 10:46:00" level=info msg="Registering node." 
time="May 23 10:46:00" level=error msg="Response failed with code 404; retrying in 5s" 
time="May 23 10:46:02" level=warning msg="Insecure configuration detected (allowing)!" 
time="May 23 10:46:02" level=info msg="Hostname set with dashboard zeroconf signal" 
time="May 23 10:46:05" level=error msg="Response failed with code 404; retrying in 5s" 
time="May 23 10:46:10" level=error msg="Response failed with code 404; retrying in 5s" 
time="May 23 10:46:15" level=error msg="Response failed with code 404; retrying in 5s" 
time="May 23 10:46:20" level=error msg="Response failed with code 404; retrying in 5s" 
time="May 23 10:46:25" level=error msg="Response failed with code 404; retrying in 5s" 
time="May 23 10:46:30" level=error msg="Response failed with code 404; retrying in 5s" 
time="May 23 10:46:35" level=error msg="Response failed with code 404; retrying in 5s" 
time="May 23 10:46:40" level=info msg="Starting Poller" 
time="May 23 10:46:40" level=error msg="Response failed with code 404; retrying in 5s" 
time="May 23 10:46:45" level=error msg="Response failed with code 404; retrying in 5s" 
time="May 23 10:46:50" level=error msg="Response failed with code 404; retrying in 5s" 
time="May 23 10:46:55" level=error msg="Response failed with code 404; retrying in 5s" 
time="May 23 10:47:00" level=error msg="Response failed with code 404; retrying in 5s" 
time="May 23 10:47:05" level=error msg="Response failed with code 404; retrying in 5s" 
time="May 23 10:47:10" level=error msg="Response failed with code 404; retrying in 5s" 
time="May 23 10:47:15" level=error msg="Response failed with code 404; retrying in 5s" 
time="May 23 10:47:20" level=error msg="Response failed with code 404; retrying in 5s" 
time="May 23 10:47:25" level=error msg="Response failed with code 404; retrying in 5s" 
time="May 23 10:47:30" level=error msg="Response failed with code 404; retrying in 5s" 
time="May 23 10:47:35" level=error msg="Response failed with code 404; retrying in 5s" 
time="May 23 10:47:40" level=error msg="Response failed with code 404; retrying in 5s" 
time="May 23 10:47:45" level=error msg="Response failed with code 404; retrying in 5s" 
time="May 23 10:47:50" level=error msg="Response failed with code 404; retrying in 5s" 
time="May 23 10:47:56" level=error msg="Response failed with code 404; retrying in 5s" 
time="May 23 10:48:01" level=error msg="Response failed with code 404; retrying in 5s" 
time="May 23 10:48:06" level=error msg="Response failed with code 404; retrying in 5s" 
time="May 23 10:48:11" level=error msg="Response failed with code 404; retrying in 5s" 
time="May 23 10:48:16" level=error msg="Response failed with code 404; retrying in 5s" 
time="May 23 10:48:21" level=error msg="Response failed with code 404; retrying in 5s" 
time="May 23 10:48:26" level=error msg="Response failed with code 404; retrying in 5s" 
time="May 23 10:48:31" level=error msg="Response failed with code 404; retrying in 5s" 
time="May 23 10:48:36" level=error msg="Response failed with code 404; retrying in 5s"

Do your dashboard protected with some kind of additional proxy like nginx?

Re-check your dashboard connection string in tyk.conf

The dashboard is installed into Openshift as docker container and in front of it is present an haproxy. This configuration works for one year but after the license expiration is not working.

Marcello

Have you tried restarting dashboard?

When you go to “Nodes” screen on dashboard, what does it says?

Thank you.

I restarted the dashboard but it requires to insert the license key. I identify the issue and it’s related to the dashboard and the license. I added the license directly into the tyk_analytics.conf file as license_key parameter and now the node is registered correctly.

The issue is related to the license details from the web ui, because there aren’t present details related to the date and code of it.

Marcello

1 Like

Hi Marcello, just to confirm, did the above resolve your issue? Good to hear you’ve been using Tyk for more than a year. Would you be able to share a little more on how you are using Tyk? We’re always keen to share with the community how other users are working with Tyk