Which is user / password http://my-tyk-instance.com:3000

Run the configuration steps (vagrant) but failed log

The last step of returning the below, but fails access.


vagrant@precise64:~$ more pss_bootstrap.txt
DONE

Login at http://XXX.XXX.XXX.XXX:3000/
User: [email protected]
Pass: test123

Can you share the log? I assume it has some python errors.

My guess: You need to set the hosts entry both inside and outside the vagrant host.

I am very new in the world TyK, what file you need?, you know the path?

thanks

When you rant the command, it will have produced some output in your console, can you share that?

Also, it might be worth doing as I said and re-running the bootstrap script after you have set the hosts file up both within your vagrant box and outside you vagrant box to point at the vagrant host from the host name you are targeting.

Hello,

I have run the command again, I attached the traces of execution.

When attempting to enter ‘http://my-tyk-instance.com:3000/’ with the data that returns the script fails ‘Credentials are incorrect, please try again

A greeting;


vagrant@precise64:~$ sudo /opt/tyk-dashboard/install/bootstrap.sh XXX.XXX.XXX.XXX >> bootstrap.log
Traceback (most recent call last):
File “”, line 1, in
File “/usr/lib/python2.7/json/init.py”, line 278, in load
**kw)
File “/usr/lib/python2.7/json/init.py”, line 326, in loads
return _default_decoder.decode(s)
File “/usr/lib/python2.7/json/decoder.py”, line 366, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File “/usr/lib/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 “”, line 1, in
File “/usr/lib/python2.7/json/init.py”, line 278, in load
**kw)
File “/usr/lib/python2.7/json/init.py”, line 326, in loads
return _default_decoder.decode(s)
File “/usr/lib/python2.7/json/decoder.py”, line 366, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File “/usr/lib/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 “”, line 1, in
File “/usr/lib/python2.7/json/init.py”, line 278, in load
**kw)
File “/usr/lib/python2.7/json/init.py”, line 326, in loads
return _default_decoder.decode(s)
File “/usr/lib/python2.7/json/decoder.py”, line 366, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File “/usr/lib/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

vagrant@precise64:~$ more bootstrap.log
Creating Organisation
ORGID:
Adding new user
USER AUTH:
NEW ID:
Setting password

DONE

Login at http://XXX.XXX.XXX.XXX:3000/
User: [email protected]
Pass: test123

vagrant@precise64:~$

Did you try and set the hosts file up as I requested?

forgive, forget it.

You talk about these files.

My Host

Vagrant

Yes, add these entries:

127.0.0.1    my-tyk-instance.com
127.0.0.1    portal-instance.com

To the Vagrant file

Then your bootstrap command should be (from inside vagrant):

sudo /opt/tyk-dashboard/install/bootstrap.sh my-tyk-instance.com

Tyk is very strict when it binds to domains., so it probably isn;t listening on the IP address.

Tk, all perfect.

I see the dashboard.

:wink: