Failed to save Add Key

Failed to save new session object to Tyk: Failed to create key: Post

getsockopt: connection refused

Hi Sandro,

Are you able to provide further details regarding this issue? I think it would help if we could see the cURL request that produced this error.
Also, please be sure to have a look through our tutorials if you haven’t done so already.

Kind regards,
Jess @ Tyk

Failed to save new session object to Tyk: Failed to create key: Post http://localhost:8080/tyk/keys/create: dial tcp [::1]:8080: getsockopt: connection refused

Hi Sandro,

Unfortunately that doesn’t really provide us with enough information to troubleshoot the issue. Could you please attach the cURL request that you sent right before you received this error message? If that isn’t possible, could you please provide the steps that were taken before you encountered this issue?

Kind regards,
Jess @ Tyk

Jess, I was just registering a key, and when I clicked create it gave this error.

Your dashboard cannot see the gateway, check the gateway connection string in your tyk_analytics.conf file and also make sure that the gateway service is running on thhat server on the port specified.