I used docker to install tyk and tyk-dashboard。I need to enter the certificate information on login, and I need to register an account, I registered an account, and get a free certificate, but this time gave me three pieces of mail, they include the certificate, and the certificate is not the same, I tried this three different certificate, can successful landing, I confirm that my account and password is correct, I tried several times, can visit the official website.
Hi,
you should enter your license in your analytics.conf
at the "license_key"
key.
The credentials to access the Dashboard are not the ones you used to signup and get the license.
If you have followed this guide the setup script should have recreated a temporary user for you.
Did it execute without any errors ?
Thanks,
Kos
when i run the setup.sh
File "/usr/lib64/python2.7/json/__init__.py", line 338, in loads
return _default_decoder.decode(s)
File "/usr/lib64/python2.7/json/decoder.py", line 366, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib64/python2.7/json/decoder.py", line 384, in raw_decode
raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded
ORG ID:
Adding new user
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib64/python2.7/json/__init__.py", line 290, in load
**kw)
File "/usr/lib64/python2.7/json/__init__.py", line 338, in loads
return _default_decoder.decode(s)
File "/usr/lib64/python2.7/json/decoder.py", line 366, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib64/python2.7/json/decoder.py", line 384, in raw_decode
raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib64/python2.7/json/__init__.py", line 290, in load
**kw)
File "/usr/lib64/python2.7/json/__init__.py", line 338, in loads
return _default_decoder.decode(s)
File "/usr/lib64/python2.7/json/decoder.py", line 366, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib64/python2.7/json/decoder.py", line 384, in raw_decode
raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded
USER AUTH:
USER ID:
Setting password
this is my tyk_analytics.conf
{
"listen_port": 3000,
"tyk_api_config": {
"Host": "http://tyk_gateway",
"Port": "8080",
"Secret": "352d20ee67be67f6340b4c0605b044b7"
},
"mongo_url": "mongodb://mongo:27017/tyk_analytics",
"page_size": 10,
"admin_secret": "12345",
"shared_node_secret": "352d20ee67be67f6340b4c0605b044b7",
"redis_port": 6379,
"redis_host": "redis",
"redis_password": "",
"enable_cluster": false,
"force_api_defaults": false,
"notify_on_change": true,
"license_key": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhbGxvd2VkX25vZGVzIjoiYTYzMDM4NDMtMjkxMy00YzQzLTY3NTctMDk5MmI3OWI2ZjJmIiwiZXhwIjoxNTQ1MjE3NTUzLCJvd
25lciI6IjVhMzhmMjkxNDVmOTJlMWI3NzBiMTJmOSJ9.kBDM_adtwbmENdlcTotWkfoOOxO8LqKxKGwEVSjh4vGQoHkPmV6au812V9hAY04S5X_H7K35E6YUPWWroZLzZE0YNWu29tULZlm2K7rcv0sn4xsE3S
QeatUPPengO6g8Sq7peqfVTdxfjUpMyES2gRJFAhprmejr7JOXhWJ3gky21HgEPed6mEmC0AuU2i-xiz6ECN7qIP0UMxKOP1cGlO3SS8W_YGsifU4VgspJkaQLYSgVLtGQPSSLPSCLyNak3bpuh588czk7Afoo
3gio13vXl7T1gDPHHbleOFfTAR-qwqL22O1ch-msGmZ6vC0WQcerhEPEJJZNGcLG6866zA",
"redis_database": 0,
"redis_hosts": null,
"hash_keys": true,
"email_backend": {
"enable_email_notifications": false,
"code": "",
"settings": null,
"default_from_email": "",
"default_from_name": ""
},
"hide_listen_path": false,
"sentry_code": "",
"sentry_js_code": "",
"use_sentry": false,
"enable_master_keys": false,
"enable_duplicate_slugs": true,
"show_org_id": true,
"host_config": {
"enable_host_names": false,
"disable_org_slug_prefix": true,
"hostname": "",
"override_hostname": "www.tyk-portal-test.com",
"portal_domains": {},
"portal_root_path": "/portal"
},
"http_server_options": {
"use_ssl": false,
"certificates": [
{
"domain_name": "",
"cert_file": "",
"key_file": ""
}
],
"min_version": 0
},
"ui": {
"login_page": {},
"nav": {},
"uptime": {},
"portal_section": null,
"designer": {},
"dont_show_admin_sockets": false,
"dont_allow_license_management": false,
"dont_allow_license_management_view": false
},
"home_dir": "/opt/tyk-dashboard",
"identity_broker": {
"enabled": false,
"host": {
"connection_string": "",
"secret": ""
}
},
"tagging_options": {
"tag_all_apis_by_org": false
}
}
ok, i made it! thanks man
1 Like