页面树结构

版本比较

标识

  • 该行被添加。
  • 该行被删除。
  • 格式已经改变。

(本文档仅供参考)

问题描述:

      挖掘引擎连接失败,Http status code:406

...

代码块
collapsetrue
WARN util.HttpConnectUtils.execute:363 - Request url:http://10.10.32.106:10010/smartbi/smartbix/api/monitor/token
Http status code:406
Http response:{"message":"连接被拒绝: 无法连接至:localhost:18900,请检查该链接地址以及该服务的运行情况","type":"smartbix.SmartbiXException","code":"CONNECTION_REFUSED","stackTrace":null,"stackAppendInfo":null,"weak":false}
2022-03-25 10:22:49.807 [67] ERROR util.SmartbiTokenHttpAuthenticator.checkApplyResult:219 - Failed to apply for a token,(statusCode:406,content:{"message":"连接被拒绝: 无法连接至:localhost:18900,请检查该链接地址以及该服务的运行情况","type":"smartbix.SmartbiXException","code":"CONNECTION_REFUSED","stackTrace":null,"stackAppendInfo":null,"weak":false})
2022-03-25 10:22:49.809 [67] ERROR context.ServiceAppContext.run:102 - Can't connect to the engine. Request url:http://10.10.32.106:10010/smartbi/smartbix/api/deployment/services
smartbix.datamining.engine.exception.HttpClientException: Can't connect to the engine. Request url:http://10.10.32.106:10010/smartbi/smartbix/api/deployment/services
	at smartbix.datamining.engine.util.SmartbiTokenHttpAuthenticator.checkApplyResult(SmartbiTokenHttpAuthenticator.java:233) ~[EngineCore-1.0.jar:?]
	at smartbix.datamining.engine.util.SmartbiTokenHttpAuthenticator.executeAuthenticate(SmartbiTokenHttpAuthenticator.java:163) ~[EngineCore-1.0.jar:?]
	at smartbix.datamining.engine.util.SmartbiTokenHttpAuthenticator.authenticate(SmartbiTokenHttpAuthenticator.java:76) ~[EngineCore-1.0.jar:?]
	at smartbix.datamining.engine.util.HttpConnectUtils.createHttpClient(HttpConnectU


问题原因:

     对应的URL地址无法访问成功

排查思路:

    1、协议https
    2、IP是否正常
    3、端口是否正常被监听
    4、服务的启动日志

解决方案:

    1、服务地址是https