TimeoutException from couchbase: Spring boot


TimeoutException from couchbase: Spring boot



Caused by: org.springframework.dao.QueryTimeoutExceptionjava.util.concurrent.TimeoutException: {“b”:”simple”,”r”:”127.0.0.1:8092″,”s”:”view”,”c”:”01781B806E7ADAE7/FFFFFFFFA6867A22″,”t”:7500000,”l”:”127.0.0.1:54253″}; nested exception is java.lang.RuntimeExceptionjava.util.concurrent.TimeoutException: {“b”:”simple”,”r”:”127.0.0.1:8092″,”s”:”view”,”c”:”01781B806E7ADAE7/FFFFFFFFA6867A22″,”t”:7500000,”l”:”127.0.0.1:54253″}
at org.springframework.data.couchbase.core.CouchbaseExceptionTranslator.translateExceptionIfPossible(CouchbaseExceptionTranslator.java:122) ~[spring-data-couchbase-3.1.10.RELEASE.jar:3.1.10.RELEASE]
Add the following entries in application.properties for the spring-boot project
spring.couchbase.env.timeouts.connect=10000
spring.couchbase.env.timeouts.query=180000
spring.couchbase.env.timeouts.view=20000

No comments:

 Python Basics How to check the version of Python interpreter mac terminal

Popular in last 30 days