“没有配置的节点可用” - Cloud Foundry上的运行时错误

时间:2017-07-18 23:24:19

标签: jhipster cloudfoundry

JHipster生成的应用程序在我的本地方框上正常运行。它在CF上运行不正常。以下是一些相关的日志消息。

2017-07-18T15:54:52.925-07:00 [RTR/4] [OUT] abc.cfapps.io - [2017-07-18T22:54:52.660+0000] "POST /api/suppliers?cacheBuster=1500418492191 HTTP/1.1" 500 1973 103 "https://abc.cfapps.io/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/58.0.3029.110 Chrome/58.0.3029.110 Safari/537.36" "10.10.66.225:14527" "10.10.149.25:61049" x_forwarded_for:"24.22.244.84" x_forwarded_proto:"https" vcap_request_id:"0957d097-572b-4531-623b-16644a0539ba" response_time:0.264529771 app_id:"94a37d49-422b-4354-b381-ebdd8e4b6cb8" app_index:"0" x_b3_traceid:"61424f4f1657ba89" x_b3_spanid:"61424f4f1657ba89" x_b3_parentspanid:"-"
2017-07-18T15:54:52.926-07:00 [APP/PROC/WEB/0] [OUT] 2017-07-18 
22:54:52.925 ERROR 21 --- [ XNIO-2 task-9] c.m.m.w.rest.errors.ExceptionTranslator : An unexpected error occurred: None of the configured nodes are available: [{#transport#-1}{localhost}{127.0.0.1:9300}]
2017-07-18T15:55:04.945-07:00 [APP/PROC/WEB/0] [OUT] 2017-07-18 22:55:04.945 ERROR 21 --- [ XNIO-2 task-10] c.m.m.w.rest.errors.ExceptionTranslator : An unexpected error occurred: None of the configured nodes are available: [{#transport#-1}{localhost}{127.0.0.1:9300}]
2017-07-18T15:55:20.440-07:00 [APP/PROC/WEB/0] [OUT] 2017-07-18 22:55:20.440 ERROR 21 --- [ XNIO-2 task-11] c.m.m.w.rest.errors.ExceptionTranslator : An unexpected error occurred: None of the configured nodes are available: [{#transport#-1}{localhost}{127.0.0.1:9300}]

我可以做些什么来解决这个“没有配置的节点可用”的问题?

更新

这似乎是一个ElasticSearch问题,与JHipster中的配置有关。

0 个答案:

没有答案