Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
28 views

This is my ocelot configuration... { "Routes": [ { "UpstreamPathTemplate": "/api/test/{url}", "DownstreamPathTemplate": "/api/{url}",...
0 votes
3 answers
3k views

We have developed two ASP.NET CORE (5.0) microservices and deployed them inside docker http://localhost:28621/stock http://localhost:62362/user Both are easily accessible from browser. We have used ...
1 vote
2 answers
818 views

I have a load balancer/API. This Process runs on 3 ports 5000, 5001 and 5002. Every request that comes in on ports 5000 and 5001 with the base route /api should be routed to the specified hosts. But ...
0 votes
2 answers
2k views

So I'm using dotnet core 3.1, and working with a client that requires access to a web service. I was wondering if it's possible to use/integrate an API Gateway architecture so that the API Gateway ...
1 vote
0 answers
281 views

I'm playing around with docker and I'm currently trying to set up some microservices with multiple .net 8 API's, a gateway and an angular frontend. I got 2 api's up and running and working without ...
0 votes
1 answer
134 views

I have a .NET project with ocelot: using Ocelot.DependencyInjection; using Ocelot.Middleware; var builder = WebApplication.CreateBuilder(args); builder.Configuration.AddJsonFile("ocelot.json&...
-1 votes
1 answer
200 views

i am trying to connect .Net web API using ocelot gateway. Routing works fine when i run ocelot and API respectively without docker. With docker desktop (using 4.38.0) it shows 502 in browser with ...
2 votes
1 answer
3k views

I'm using ocelot to create a simple API gateway in my ASP.NET Core 6.0. Here is my program.cs code : using Ocelot.DependencyInjection; using Ocelot.Middleware; var builder = WebApplication....
0 votes
1 answer
222 views

While executing the API gateway (micro services) using Ocelot, I'm getting: warn: Ocelot.Responder.Middleware.ResponderMiddleware[0] requestId: 0HN3PALTATQMC:00000001, previousRequestId: No ...
0 votes
2 answers
2k views

I am new to microservices architecture and already implemented micro services and API Gateway with single ocelot.json file as shown in below image. You can see there is one ocelot.json file in ...
0 votes
2 answers
362 views

So as stated in the title, I am having issues with the token validation in dotnet application. Here is the program.cs code: using Microsoft.AspNetCore.Authentication.JwtBearer; using Microsoft....
0 votes
1 answer
74 views

cs file code using API; using Confluent.Kafka; using Ocelot.DependencyInjection; using Ocelot.Middleware; var builder = WebApplication.CreateBuilder(args); var producerConfig = new ProducerConfig(); ...
1 vote
1 answer
173 views

I migrated my project from .NET Core 3.1 to .NET 8 and the Ocelot library to the latest version. Before migrating the project authentication functionality was working fine. After migrating the project ...
2 votes
3 answers
3k views

I am getting the following error in a docker container. I am trying to create api gateway using ocelot and authentication by identity server. message: Client has NOT been authenticated for {api-path} ...
6 votes
3 answers
12k views

The .Net 6 have removed the Start up Class and i am not able to find out how to configure Ocelot in new .Net 6 structure. I have found two methos using Ocelot.DependencyInjection; using Ocelot....
1 vote
2 answers
563 views

I have the following file ocelot.json and I want to change the Host object of each route configured inside the file through a variable. I want to change the localhost to the correct hostname through a ...
2 votes
0 answers
64 views

I can access and use the signalR service myself using javascript. But when I try it via Ocelot, I get the following errors. I checked the cors settings. I checked the ocelot.json file. I checked ...
1 vote
0 answers
558 views

I recently created a .NET Framework web API and not .NET Core due to reliance on old libraries. Also, we had the requirement to have an API gateway, with this we used ocelot but it keeps on failing ...
1 vote
0 answers
842 views

I created a gateway with Ocelot and Net6, I configured the .json file and tested locally and everything works fine, but when I publish it to IIS it gives me a 404. When I go to the error it is setting ...
4 votes
1 answer
4k views

I have configured ocelot in Linux containers with multiple micro service. For restricting some of the micro services I'm using RouteClaimsRequirement. I have administrator role as claim, but when I ...
1 vote
1 answer
42 views

i want to config watchdog.net for ocelot API gateway but when i login to dashboard watchdog and refresh for load data from database watchdog.net i had this error: and this is my program.cs builder....
6 votes
0 answers
8k views

I have a .NET Core based micro service architecture and have several micro services. We chose Ocelot as API Gateway for routing, aggregation & security implementation. During our architectural ...
1 vote
0 answers
110 views

I'm currently working on a microservice architecture project that uses Ocelot for APIGateway, and IdentityServer4 for authentication and authorization. Recently, I transitioned from self-contained ...
3 votes
1 answer
169 views

I have a worker that sends Batchrequests to the api which is implemented my custom load balancer in ocelot,in this customLoadBalance , I want to distribute 70% of every batchRequests to HostAndPort1 ...
2 votes
0 answers
526 views

I have a little issue with Ocelot Gateway v17. I'm using URL Encoding to pass some parameter to controller. Like this: https://localhost:44350/api/analytics/alarms/RD-A-001%2F1/1 Testing in my laptop,...

1
2 3 4 5 6