spring-cloud-gateway icon indicating copy to clipboard operation
spring-cloud-gateway copied to clipboard

An API Gateway built on Spring Framework and Spring Boot providing routing and more.

Results 619 spring-cloud-gateway issues
Sort by recently updated
recently updated
newest added

**500 Server Error for HTTP GET "/stomp"** I have an instance of Unsecured ActiveMQ-5.16.0 and I want to route secured websocket to ActiveMQ using Spring Cloud Gateway. I have tried...

feedback-provided

**Is your feature request related to a problem? Please describe.** ModifyRequestBodyGatewayFilterFactory only support ```Class inClass```, it is not compatible with generic type. expected code: ``` builder.routes() .route("test_route", r -> r.path("/**").filters(f...

waiting-for-triage

I have installed demo certificates in searchguard (elasticsearch). while iam running elasticsearch error is showing as below: [WARN ][o.e.t.TcpTransport ] [node-2] exception caught on transport layer [Netty4TcpChannel{localAddress=/xx.xx.1xx.xxx:xxxx, remoteAddress=/xx.xx.1xx.xxx:xxxx, profile=default}], closing...

waiting-for-triage

# Version **SCG deployed in ARM LIinux.** **JRE version: OpenJDK Runtime Environment (8.0_275-b01) (build 1.8.0_275-b01).** **Java VM: OpenJDK 64-Bit Server VM (25.275-b01 mixed mode linux-aarch64 compressed oops).** This is my...

waiting-for-triage

spring boot: `3.0.0-M3` spring cloud: `2022.0.0-M2` with reactor-resilience4j Stacktrace: ``` java.lang.NoSuchMethodError: 'void org.springframework.web.server.ResponseStatusException.(org.springframework.http.HttpStatus, java.lang.String, java.lang.Throwable)' at org.springframework.cloud.gateway.filter.factory.SpringCloudCircuitBreakerResilience4JFilterFactory.handleErrorWithoutFallback(SpringCloudCircuitBreakerResilience4JFilterFactory.java:43) at org.springframework.cloud.gateway.filter.factory.SpringCloudCircuitBreakerFilterFactory$1.lambda$filter$2(SpringCloudCircuitBreakerFilterFactory.java:125) at reactor.core.publisher.FluxOnErrorResume$ResumeSubscriber.onError(FluxOnErrorResume.java:94) at reactor.core.publisher.FluxOnErrorResume$ResumeSubscriber.onError(FluxOnErrorResume.java:106) at reactor.core.publisher.Operators.error(Operators.java:198) at reactor.core.publisher.MonoError.subscribe(MonoError.java:53) at reactor.core.publisher.Mono.subscribe(Mono.java:4324) ```...

waiting-for-triage

problem is still exist _Originally posted by @goodshred in https://github.com/spring-cloud/spring-cloud-gateway/issues/2498#issuecomment-1109298991_

waiting-for-triage

**Describe the bug** After migrating to cloud 2020.0.0-M6 from Hoxton.SR8 I started to have problems with double encoded URLs. It most probably only affects URL containing multiple `=` charactors in...

bug

**Describe the bug** I created 2 routes use weight route predicate factory. After i remove one route and publish **RefreshRoutesEvent**, the route work not correctly, sometime it redirect to old...

waiting-for-triage

``` java private Mono writeBodyLog(ServerWebExchange exchange, GatewayFilterChain chain, GatewayLog gatewayLog) { ServerRequest serverRequest = ServerRequest.create(exchange, messageReaders); Mono modifiedBody = serverRequest.bodyToMono(String.class) .flatMap(body ->{ gatewayLog.setRequestBody(body); return Mono.just(body); }); BodyInserter bodyInserter = BodyInserters.fromPublisher(modifiedBody,...

waiting-for-triage

`https://github.com/spring-cloud/spring-cloud-gateway/blob/b8dbdc1fbff8e232c4f21f5832f6d506580a2dcb/spring-cloud-gateway-webflux/src/main/java/org/springframework/cloud/gateway/webflux/ProxyExchange.java#L411` why not like below code: ` private void appendXForwarded(URI uri) { headers.add("x-forwarded-host", uri.getHost()); headers.add("x-forwarded-proto", uri.getScheme()); } ` With the current scg method, the downstream must know that the X-Forward...

waiting-for-triage