Failed to save Add Key


#1

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

getsockopt: connection refused


#2

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


#3

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


#4

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


#5

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


#6

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.