Skip to content

Warning: unknown channel option SO_KEEPALIVE #624

Open
@lorien

Description

@lorien

The context

I want to use grpc server inside spring boot server. I want grpc server listens on unix domain socket.

The question

I have upgraded to recent release of grpc-server-spring-boot-starter and added this config line to properties file:
grpc.server.address=unix:/path/to/backend-grpc.sock
It works OK but I keep seeing these lines in log file:

22:09:03.656 [epollEventLoopGroup-2-1] WARN i.g.n.s.i.n.b.ServerBootstrap - Unknown channel option 'SO_KEEPALIVE' for channel '[id: 0xdf583dc3]'

Could you please suggest how can I fix that issue? I do not want these lines appear in log file.

The application's environment

Spring (boot): 2.5.7
grpc-java: 1.35.1
grpc-server-spring-boot-starter: 2.13.0.RELEASE
java: 17.0.1, 64bit

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething does not work as expectedfeedback requiredInformation are missing or feedback for suggestions is requested

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions