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

Failed to bind properties under 'grpc.client.port' #1173

Open
Jouda-Hidri opened this issue Mar 3, 2025 · 0 comments
Open

Failed to bind properties under 'grpc.client.port' #1173

Jouda-Hidri opened this issue Mar 3, 2025 · 0 comments

Comments

@Jouda-Hidri
Copy link

I am having the following error when deploying on k8s (locally all good, even when using docker)

Description:
Failed to bind properties under 'grpc.client.port' to net.devh.boot.grpc.client.config.GrpcChannelProperties:
    Reason: org.springframework.core.convert.ConverterNotFoundException: No converter found capable of converting from type [java.lang.String] to type [net.devh.boot.grpc.client.config.GrpcChannelProperties]
Action:
Update your application's configuration

This is my config

spring.application.name=k8scronjobs
# Enable Spring Batch schema initialization
spring.batch.jdbc.initialize-schema=always

# Database connection configuration
spring.datasource.url=jdbc:h2:mem:testdb
spring.datasource.driverClassName=org.h2.Driver
spring.datasource.username=sa
spring.datasource.password=password
spring.datasource.initialization-mode=always

spring.jpa.hibernate.ddl-auto= update


spring.batch.job.enabled=false

grpc.server.port=9090

I am using

  • 'org.springframework.boot' version '3.4.3'
  • 'net.devh:grpc-spring-boot-starter:3.1.0.RELEASE'
  • 'io.grpc:grpc-netty:1.63.0'
  • 'io.grpc:grpc-protobuf:1.63.0'
  • 'io.grpc:grpc-stub:1.63.0'
  • 'com.google.protobuf:protobuf-java:3.25.5'
  • java21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant