Questions tagged [gateway]

This is a vague tag for all kinds of gateways including networks, general interfaces and products, where this term is used with its own meaning. Try to avoid this.

This is a vague tag for all kinds of gateways including networks, general interfaces and products, where this term is used with its own meaning. Try to avoid this.

1201 questions
3
votes
0 answers

Can't create Docker network with none matching gateway

I have a bare metal server on Hetzner with IP 5.6.7.8 and 8 additional IPs reserved for me. IPs: 1.2.3.144 to 1.2.3.151 subnet: 1.2.3.144/29 netmask: 255.255.255.248 broadcast: 1.2.3.151 gateway: 5.6.7.8 Now I want to create Docker network with…
Omidreza Bagheri
  • 781
  • 1
  • 11
  • 22
3
votes
0 answers

spring-cloud-gateway global filter to extract security info from an access token and relay it to downstream services

I have been using the spring-cloud-gateway as a ResourceServer and for a specific implementation,want to extract some information like say, roles of the user,from the JWT access token it receives to downstream services.I did that in a GatewayFliter…
dp8400
  • 31
  • 2
3
votes
2 answers

Handling multipart/form-data on API Gateway/Lambda

I tried few methods, not able to get it working. Client side(React), I am sending a zip file as follows using POST, const data = new FormData(); data.append('file', file); data.append('filename', file.name); let params = { …
user3900196
  • 457
  • 2
  • 6
  • 18
3
votes
1 answer

How to validate the header from incoming service in Spring cloud gateway ? I need to call 2 other REST API calls ( GET/POST) to validate the headers

I have to validate the header. For instance the incoming request to the spring cloud gateway is https://spring-test-gateway.com/cloud/gateway/test/ Header: auth-token:1241241244 Requirement: Call two REST API a) One is to get the User roles based on…
Shankar P
  • 47
  • 5
3
votes
3 answers

Is it possible to get the default gateway IP and MAC addresses in java?

I'm trying to find a way to access the IP and MAC addresses for the default gateway from a java applet to be run on a website, is this possible?
dxc
  • 63
  • 1
  • 4
3
votes
1 answer

How only increase quota usage when response is 200 in AWS API Gateway?

I'm using AWS API Gateway with quota and need increase the number of requests made to api only if my backend return response with status code 200. So, responses with status different of 200 not are accounted for quota usage. It's possible? If not,…
Armando
  • 603
  • 1
  • 5
  • 14
3
votes
3 answers

How connect Spring Cloud Gateway + Spring Cloud Security + Keycloak

He has been trying to connect s-c-gateway and s-c-security with Keycloak for a couple of days. I want the modules that are located behind the gateway not to have a keycloak configuration. Is Spring Cloud Gateway not supported by Spring Cloud…
3
votes
1 answer

how to set response value in springcloud gateway with GlobalFilter

how to set response value in springcloud gateway with GlobalFilter? I don't know use which method in ServerHttpResponse. public class AuthGlobalFilterFilter1 implements GlobalFilter, Ordered { @Override public Mono filter(ServerWebExchange…
9fbankwk
  • 101
  • 6
3
votes
4 answers

How to setup VPN from on-premises to Google Cloud VPC

We want to be able to connect to my on-premise database from our google cloud kubernetes. We are currently attempting to do so by using "Create a VPN connection" from within the google console. In the field IP address, I am forced to create (or…
3
votes
1 answer

How do I route a packet to use localhost as a gateway?

I'm trying to test a gateway I wrote(see What's the easiest way to test a gateway? for context). Due to an issue I'd rather not get into, the gateway and "sender" have to be on the same machine. I have a receiver(let's say 9.9.9.9) which the gateway…
Mike
  • 23,892
  • 18
  • 70
  • 90
3
votes
1 answer

Azure Application Gateway with App Service Web App

I have created an application gateway with WAF (default detection mode) in an Azure Resource Group (no ASE) with an App Service Web App backendPool member/target MS link (followed instructions to the letter both via the Azure Portal and via…
3
votes
0 answers

AWS api gateway - multiple graphql microservices endpoint api routing

I have the below graphql microservices - /graphql1 - with userList as the query - fetches the user records from nosql db - /graphql2 - with accountList as the query - fetches the account records from sql db - /graphql3 - with transactionList as…
raaone7
  • 529
  • 1
  • 7
  • 16
3
votes
2 answers

Handling Data for UI in a Microservice Architecture?

We´re planning to use the Microservice Architecture in our next application. I wanted to know if it´s a common practise to have a same domain entity for every related microservice. For example, there is a customer. A customer consists of multiple…
DehMotth
  • 679
  • 3
  • 12
  • 21
3
votes
0 answers

API Gateway Encoding multipart/form-data

I have a beanstalk reflected in my API gateway with passthrough, where my client sends a direct multipart/form-data request to beanstalk. The image sends correctly and I can open it normally, but when I make the request from the API Gateway, I can't…
3
votes
1 answer

502 Bad Gateway nginx/1.11.5 running inside docker

I am running soap web services in Apache Karaf and we are using Apache CXF 2.7.6 and JDK is 1.7.0_80. I am running the following in docker containers on my laptop on Oracle VM Virtual box under Centos 7 MongoDB…
skyblue2323
  • 53
  • 1
  • 2
  • 7