I am busy trying Tyk out. I have installed the docker. I have bootstrapped. When I try create an api it saves, seems fine. But it seems to be creating a rest api, I require a rpc api. Does tyk support rpc api? If yes how do I get that part working.
I actually found it is a problem with the install. If I use docker pro demo and follow these steps Docker Pro Demo it doesn’t work. No api worked at all.
So when I use docker pro demo a basic api using http://httpbin.org/ keeps returning not found. This github seems to have instructions for the portal but due to base not working I didnt look at portal there. I have set hostnames, etc. But doesn’t work, but also running in cloud vps where guide seems to assume you doing on local machine.
The tyk-demo the base api works, but this github has no instructions for the portal. Inside TYK website, top right has option to open portal. Your developer portal → open your portal. It then tries open http://172.19.0.9:3000/portal which is not correct. So I assume i need to configure, setup, or do something. But no clear instructions found for this repo
It will work with either - can you describe or screen grab what you are seeing?
You say it ‘opens blank’ - do you get a 404 or a blank page, or a title and missing docs?
Is the Tyk dashboard working otherwise? It’s just the developer portal causing problems?
The error it shows is “the site cant be reached”. I set the domain to http://tyk-portal.localhost/portal. Also tried replacing tyk-portal.localhost with ip address. Also installed ubuntu remote desktop so I could login and try there by using localhost. No luck. Followed the steps in your link and was hoping it would work.
Did you try following step 2 and step 3 of the self managed section in the doc@James shared?
I have time zone issues in pasting the screen shot but the steps are below:
Step 2: Initialise all your portal settings
By default there is no Portal configured, you need to configure from the Portal settings screen, even if you don’t want to change the options. Select Portal Management > Settings. The notification view on the right will say that no configuration was detected so it was created. Your Portal won’t work without this step, so it’s important.
That’s it, now you need to create the home page.
Step 3: Create the home page
From Pages" click Add Page and give it any title you like (e.g. “Welcome”) and select Default Home Page Template from the Page Type drop-down list. Ensure Check to make this page the home page is selected.
Save the page.
If you still can’t see anything after this, then can you share your dashboard/analytics configuration. The host_config.portal_xxx is what is needed
There is some date and time issue restricting screenshots.
The file should be somewhere called tyk_analytics.conf. Depending on how you may have modified your setup, it may be named something different or you might be using environment variables to set it up. Example of what we are looking for is
If environment variables then it should be anything prefixed with TYK_DB_HOST
But, you mentioned the dashboard works fine. So could you put insert /portal in the same dashboard URL to check if the developer portal is bootstrapped.