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

When the service package is stopped, the gateway will also be stopped. #3603

Open
18503055063 opened this issue Nov 25, 2024 · 3 comments
Open

Comments

@18503055063
Copy link

18503055063 commented Nov 25, 2024

为什么我停业务包的时候,我的gateway也会跟着停,我想我停业务包的时候,我的gateway能正常工作,应该怎么解决

gateway停止前的日志只有这些

Via google translate:
Why does my gateway stop when I stop the service package? I think my gateway can work normally when I stop the service package. How can I solve this problem? The only logs before the gateway stops are these

2024-11-25 14:26:20.700  INFO 41992 --- [t-executor-4676] com.alibaba.nacos.common.remote.client   : [091f9577-1f17-47c4-9893-963b0b0c4fbb] Receive server push request, request = NotifySubscriberRequest, requestId = 223
2024-11-25 14:26:20.701 DEBUG 41992 --- [ncesChangeEvent] c.a.nacos.common.notify.NotifyCenter     : [NotifyCenter] the com.alibaba.nacos.client.naming.event.InstancesChangeEvent@67bc3bd1 will received by com.alibaba.nacos.client.naming.event.InstancesChangeNotifier@1f77b5cc
2024-11-25 14:26:20.702  INFO 41992 --- [t-executor-4676] com.alibaba.nacos.common.remote.client   : [091f9577-1f17-47c4-9893-963b0b0c4fbb] Ack server push request, request = NotifySubscriberRequest, requestId = 223
2024-11-25 14:26:20.702 DEBUG 41992 --- [-worker-ELG-1-4] c.a.n.s.i.g.n.s.i.g.n.NettyClientHandler : [id: 0x5011c810, L:/192.168.4.71:50975 - R:/192.168.4.75:20008] OUTBOUND DATA: streamId=5 padding=0 endStream=false length=102 bytes=0000000061121a1a184e6f7469667953756273637269626572526573706f6e73651a4312417b22726573756c74436f6465223a3230302c226572726f72436f64...
2024-11-25 14:26:22.111 DEBUG 41992 --- [or-http-epoll-4] io.netty.buffer.PoolThreadCache          : Freed 16 thread-local buffer(s) from thread: reactor-http-epoll-4
2024-11-25 14:26:22.115 DEBUG 41992 --- [or-http-epoll-9] io.netty.buffer.PoolThreadCache          : Freed 10 thread-local buffer(s) from thread: reactor-http-epoll-9
2024-11-25 14:26:22.115 DEBUG 41992 --- [or-http-epoll-8] io.netty.buffer.PoolThreadCache          : Freed 11 thread-local buffer(s) from thread: reactor-http-epoll-8
2024-11-25 14:26:22.115 DEBUG 41992 --- [or-http-epoll-1] io.netty.buffer.PoolThreadCache          : Freed 13 thread-local buffer(s) from thread: reactor-http-epoll-1
2024-11-25 14:26:22.117 DEBUG 41992 --- [or-http-epoll-5] io.netty.buffer.PoolThreadCache          : Freed 16 thread-local buffer(s) from thread: reactor-http-epoll-5
2024-11-25 14:26:22.118 DEBUG 41992 --- [or-http-epoll-3] io.netty.buffer.PoolThreadCache          : Freed 14 thread-local buffer(s) from thread: reactor-http-epoll-3
2024-11-25 14:26:22.119 DEBUG 41992 --- [r-http-epoll-10] io.netty.buffer.PoolThreadCache          : Freed 15 thread-local buffer(s) from thread: reactor-http-epoll-10
2024-11-25 14:26:22.120 DEBUG 41992 --- [or-http-epoll-2] io.netty.buffer.PoolThreadCache          : Freed 7 thread-local buffer(s) from thread: reactor-http-epoll-2
2024-11-25 14:26:22.120 DEBUG 41992 --- [or-http-epoll-7] io.netty.buffer.PoolThreadCache          : Freed 13 thread-local buffer(s) from thread: reactor-http-epoll-7
2024-11-25 14:26:22.121 DEBUG 41992 --- [or-http-epoll-6] io.netty.buffer.PoolThreadCache          : Freed 15 thread-local buffer(s) from thread: reactor-http-epoll-6
2024-11-25 14:26:22.123  INFO 41992 --- [ionShutdownHook] c.a.c.n.registry.NacosServiceRegistry    : De-registering from Nacos Server now...
2024-11-25 14:26:22.124 DEBUG 41992 --- [-worker-ELG-1-4] c.a.n.s.i.g.n.s.i.g.n.NettyClientHandler : [id: 0x5011c810, L:/192.168.4.71:50975 - R:/192.168.4.75:20008] OUTBOUND HEADERS: streamId=4761 headers=GrpcHttp2OutboundHeaders[:authority: 192.168.4.75:20008, :path: /Request/request, :method: POST, :scheme: http, content-type: application/grpc, te: trailers, user-agent: grpc-java-netty/1.24.0, grpc-accept-encoding: gzip] streamDependency=0 weight=16 exclusive=false padding=0 endStream=false
2024-11-25 14:26:22.124 DEBUG 41992 --- [-worker-ELG-1-4] c.a.n.s.i.g.n.s.i.g.n.NettyClientHandler : [id: 0x5011c810, L:/192.168.4.71:50975 - R:/192.168.4.75:20008] OUTBOUND DATA: streamId=4761 padding=0 endStream=true length=599 bytes=000000025212ac011a0f496e7374616e6365526571756573743a7b0a0b616363657373546f6b656e126c65794a68624763694f694a49557a49314e694a392e65...
2024-11-25 14:26:22.125 DEBUG 41992 --- [-worker-ELG-1-4] c.a.n.s.i.g.n.s.i.g.n.NettyClientHandler : [id: 0x5011c810, L:/192.168.4.71:50975 - R:/192.168.4.75:20008] INBOUND HEADERS: streamId=4761 headers=GrpcHttp2ResponseHeaders[:status: 200, content-type: application/grpc, grpc-encoding: identity, grpc-accept-encoding: gzip] padding=0 endStream=false
2024-11-25 14:26:22.126 DEBUG 41992 --- [-worker-ELG-1-4] c.a.n.s.i.g.n.s.i.g.n.NettyClientHandler : [id: 0x5011c810, L:/192.168.4.71:50975 - R:/192.168.4.75:20008] INBOUND DATA: streamId=4761 padding=0 endStream=false length=104 bytes=000000006312121a10496e7374616e6365526573706f6e73651a4d124b7b22726573756c74436f6465223a3230302c226572726f72436f6465223a302c227479...
2024-11-25 14:26:22.126 DEBUG 41992 --- [-worker-ELG-1-4] c.a.n.s.i.g.n.s.i.g.n.NettyClientHandler : [id: 0x5011c810, L:/192.168.4.71:50975 - R:/192.168.4.75:20008] INBOUND HEADERS: streamId=4761 headers=GrpcHttp2ResponseHeaders[grpc-status: 0] padding=0 endStream=true
2024-11-25 14:26:22.126  INFO 41992 --- [ionShutdownHook] c.a.c.n.registry.NacosServiceRegistry    : De-registration finished.
2024-11-25 14:26:22.308 DEBUG 41992 --- [-worker-ELG-1-4] c.a.n.s.i.g.n.s.i.g.n.NettyClientHandler : [id: 0x5011c810, L:/192.168.4.71:50975 - R:/192.168.4.75:20008] OUTBOUND HEADERS: streamId=4763 headers=GrpcHttp2OutboundHeaders[:authority: 192.168.4.75:20008, :path: /Request/request, :method: POST, :scheme: http, content-type: application/grpc, te: trailers, user-agent: grpc-java-netty/1.24.0, grpc-accept-encoding: gzip] streamDependency=0 weight=16 exclusive=false padding=0 endStream=false
2024-11-25 14:26:22.308 DEBUG 41992 --- [-worker-ELG-1-4] c.a.n.s.i.g.n.s.i.g.n.NettyClientHandler : [id: 0x5011c810, L:/192.168.4.71:50975 - R:/192.168.4.75:20008] OUTBOUND DATA: streamId=4763 padding=0 endStream=true length=352 bytes=000000015b12b0011a13536572766963655175657279526571756573743a7b0a0b616363657373546f6b656e126c65794a68624763694f694a49557a49314e69...
2024-11-25 14:26:22.309 DEBUG 41992 --- [-worker-ELG-1-4] c.a.n.s.i.g.n.s.i.g.n.NettyClientHandler : [id: 0x5011c810, L:/192.168.4.71:50975 - R:/192.168.4.75:20008] INBOUND HEADERS: streamId=4763 headers=GrpcHttp2ResponseHeaders[:status: 200, content-type: application/grpc, grpc-encoding: identity, grpc-accept-encoding: gzip] padding=0 endStream=false
2024-11-25 14:26:22.310 DEBUG 41992 --- [-worker-ELG-1-4] c.a.n.s.i.g.n.s.i.g.n.NettyClientHandler : [id: 0x5011c810, L:/192.168.4.71:50975 - R:/192.168.4.75:20008] INBOUND DATA: streamId=4763 padding=0 endStream=false length=1453 bytes=00000005a812161a14517565727953657276696365526573706f6e73651a8d0b128a0b7b22726573756c74436f6465223a3230302c226572726f72436f646522...
2024-11-25 14:26:22.310 DEBUG 41992 --- [-worker-ELG-1-4] c.a.n.s.i.g.n.s.i.g.n.NettyClientHandler : [id: 0x5011c810, L:/192.168.4.71:50975 - R:/192.168.4.75:20008] INBOUND HEADERS: streamId=4763 headers=GrpcHttp2ResponseHeaders[grpc-status: 0] padding=0 endStream=true
2024-11-25 14:26:22.432  INFO 41992 --- [ionShutdownHook] com.alibaba.nacos.common.remote.client   : Shutdown rpc client, set status to shutdown
2024-11-25 14:26:22.432  INFO 41992 --- [ionShutdownHook] com.alibaba.nacos.common.remote.client   : Shutdown client event executor java.util.concurrent.ScheduledThreadPoolExecutor@63645950[Running, pool size = 2, active threads = 2, queued tasks = 0, completed tasks = 0]
2024-11-25 14:26:22.432  INFO 41992 --- [ionShutdownHook] com.alibaba.nacos.common.remote.client   : Close current connection 1732504077775_192.168.4.70_49615
2024-11-25 14:26:22.433 DEBUG 41992 --- [-worker-ELG-1-4] c.a.n.s.i.g.n.s.i.g.n.NettyClientHandler : [id: 0x5011c810, L:/192.168.4.71:50975 - R:/192.168.4.75:20008] OUTBOUND DATA: streamId=5 padding=0 endStream=true length=0 bytes=
2024-11-25 14:26:22.434 DEBUG 41992 --- [-worker-ELG-1-4] c.a.n.s.i.g.n.s.i.g.n.NettyClientHandler : [id: 0x5011c810, L:/192.168.4.71:50975 - R:/192.168.4.75:20008] INBOUND HEADERS: streamId=5 headers=GrpcHttp2ResponseHeaders[grpc-status: 0] padding=0 endStream=true
2024-11-25 14:26:22.435  INFO 41992 --- [t-executor-4680] c.a.n.c.remote.client.grpc.GrpcClient    : [1732504077775_192.168.4.70_49615]Ignore complete event,isRunning:false,isAbandon=false
2024-11-25 14:26:22.439 DEBUG 41992 --- [-worker-ELG-1-4] c.a.n.s.i.g.n.s.i.g.n.NettyClientHandler : [id: 0x5011c810, L:/192.168.4.71:50975 - R:/192.168.4.75:20008] OUTBOUND GO_AWAY: lastStreamId=0 errorCode=0 length=0 bytes=
2024-11-25 14:26:22.439  INFO 41992 --- [ionShutdownHook] c.a.n.c.remote.client.grpc.GrpcClient    : Shutdown grpc executor java.util.concurrent.ThreadPoolExecutor@6c8ce4ad[Running, pool size = 11, active threads = 0, queued tasks = 0, completed tasks = 4681]
2024-11-25 14:26:22.448 DEBUG 41992 --- [ionShutdownHook] s.c.a.AnnotationConfigApplicationContext : Closing LoadBalancerClientFactory-scene-city-upms, started on Mon Nov 25 11:08:15 CST 2024, parent: org.springframework.boot.web.reactive.context.AnnotationConfigReactiveWebServerApplicationContext@52de51b6
2024-11-25 14:26:22.450 DEBUG 41992 --- [ionShutdownHook] s.c.a.AnnotationConfigApplicationContext : Closing LoadBalancerClientFactory-scene-city-auth, started on Mon Nov 25 11:23:20 CST 2024, parent: org.springframework.boot.web.reactive.context.AnnotationConfigReactiveWebServerApplicationContext@52de51b6
@qingbozhang
Copy link

Are business processes and gateway processes two different processes?

@caohenghui
Copy link

还有人懂中文?

@spencergibb spencergibb changed the title 停业务包的时候,gateway也会跟着停 When the service package is stopped, the gateway will also be stopped. Jan 22, 2025
@spencergibb
Copy link
Member

#If you'd like us to spend some time investigating, please take the time to provide a complete, minimal, verifiable sample (something that we can unzip attached to this issue or git clone, build, and deploy) that reproduces the problem.

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

No branches or pull requests

5 participants