Auth Token Authorization is getting failed

Martin,

I badly needs your help. After i edited the hosts file, not sure what happened… The whole tyk instance has gone down. is there anyway to uninstall tyk and reinstall from the first step.

Now, I have created the new setup. but here I am getting the error when i am trying to create a key like below.

Failed to save new session object to Tyk: Failed to unmarshal error: invalid character ‘p’ after top-level value

Please find the below conf files. Let me know if any amendments needed.

tyk.conf

{
“listen_port”: 8080,
“node_secret”: “XXXX”,
“secret”: “XXXXX”,
“template_path”: “/opt/tyk-gateway/templates”,
“tyk_js_path”: “/opt/tyk-gateway/js/tyk.js”,
“use_db_app_configs”: true,

tyk_analytics.conf:

{
“listen_port”: 3000,
“tyk_api_config”: {
“Host”: “http://localhost”,
“Port”: “8080”,
“Secret”: “XXXX”
},