-
Couldn't load subscription status.
- Fork 78
elasticsearch errors in localhost #4
Description
I follow the instruction,run this code in localhost but get some errors,maybe the version of elasticsearch is different from yours. could you tell me which version you are using?
errors from ./gradlew
[DEBUG] org.elasticsearch.client.transport - [Thermo] failed to connect to node [[#transport#-1][PC-20151221WLRR][inet[/127.0.0.1:9300]]], removed from nodes list
org.elasticsearch.transport.ConnectTransportException: [][inet[/127.0.0.1:9300]] connect_timeout[30s]
java.net.ConnectException: Connection refused: no further information: /127.0.0.1:9300
errors from elasticsearch terminal:
[2016-03-20 06:33:38,674][WARN ][transport.netty ] [Thunderbird] except
ion caught on transport layer [[id: 0xcc34a020, /127.0.0.1:55198 => /127.0.0.1:9
300]], closing connection
java.lang.IllegalStateException: Message not fully read (request) for requestId
[0], action [cluster/nodes/info], readerIndex [39] vs expected [57]; resetting
at org.elasticsearch.transport.netty.MessageChannelHandler.messageReceiv
ed(MessageChannelHandler.java:120)
application-dev:
data:
elasticsearch:
cluster-name: elasticsearch
cluster-nodes: 127.0.0.1:9300
To run this project,must i have a qiniuAuth Key? or just delete corresponding class? otherwise, i get exception like that
[ERROR] org.springframework.boot.SpringApplication - Application startup failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'qiniuService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.qin
iu.util.Auth com.expper.service.QiniuService.qiniuAuth; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'qiniuAuth' defined in class path resource [com/expper/config/QiniuConfig.class]: Bean instantiation v
ia factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.qiniu.util.Auth]: Factory method 'qiniuAuth' threw exception; nested exception is java.lang.IllegalArgumentException: empty key