Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API Gateway issue #3

Closed
jbonnett92 opened this issue Aug 31, 2020 · 6 comments
Closed

API Gateway issue #3

jbonnett92 opened this issue Aug 31, 2020 · 6 comments

Comments

@jbonnett92
Copy link
Contributor

Hi,
The API Gateway keeps failing...
Screenshot 2020-08-31 at 07 13 27

It appears that it isn't able to discover the Consul service.
Any ideas what the issue is?

Thanks,
Jamie

@jbonnett92
Copy link
Contributor Author

jbonnett92 commented Aug 31, 2020

I think there could be a couple of issues.

Here https://github.com/madslundt/NetCoreMicroservicesSample#consul you mention that the API Gateway uses Consul, though in the appsettings.json there is no Consul options.

I also noticed that there is no configure method, there is no app.UseConsul().

No link to Consul in the docker compose for the API Gateway.

@madslundt
Copy link
Owner

Thank you for reporting this.

I'm looking to replace the api gateway with something that also integrates better with Swagger

@jbonnett92
Copy link
Contributor Author

Anything in particular that you are looking at so far?

@madslundt
Copy link
Owner

Normally I'd go with a fully managed API gateway on AWS, Azure, etc.
Right now I'm looking at Kong and Tyk

@jbonnett92
Copy link
Contributor Author

Not sure if you're looking for others opinions, but I for sure would prefer Ocelot as it is completely free and you can implement anything with it rather than using paid plugins .etc

@madslundt
Copy link
Owner

You are absolutely right.
I started looking into Kong and Tyk and realized they offer a community edition (free) and a premium version (paid).

I'll look into improving the Api gateway with Ocelot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants