From a0534ce2f1610331cd52649ec8c26ed28308056c Mon Sep 17 00:00:00 2001 From: wulin Date: Sat, 7 Oct 2023 11:05:08 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E9=9F=B3=E4=B9=90=E5=85=B6?= =?UTF-8?q?=E4=BB=96=E6=8C=87=E4=BB=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../system/SystemTalkAnswerConfigEntity.java | 4 + .../system/SystemTalkAnswerConfigRequest.java | 6 + .../system/SystemTalkAnswerConfigResp.java | 6 + .../system/SystemTalkAnswerConfigService.java | 11 ++ .../box/websocket/api/domain/BaseSession.java | 19 +- .../websocket/api/domain/box/BoxSession.java | 5 +- .../api/handler/BaseWebSocketProcess.java | 85 ++++++--- logs/iot-box-websocket-api/error.log | 171 ++++++++++++++++++ logs/iot-box-websocket-api/info.log | 171 ++++++++++++++++++ logs/iot-box-websocket-api/warn.log | 171 ++++++++++++++++++ 10 files changed, 621 insertions(+), 28 deletions(-) diff --git a/iot-common/iot-data/src/main/java/com/qiuguo/iot/data/entity/system/SystemTalkAnswerConfigEntity.java b/iot-common/iot-data/src/main/java/com/qiuguo/iot/data/entity/system/SystemTalkAnswerConfigEntity.java index 113ba39..a501352 100644 --- a/iot-common/iot-data/src/main/java/com/qiuguo/iot/data/entity/system/SystemTalkAnswerConfigEntity.java +++ b/iot-common/iot-data/src/main/java/com/qiuguo/iot/data/entity/system/SystemTalkAnswerConfigEntity.java @@ -73,4 +73,8 @@ public class SystemTalkAnswerConfigEntity extends GenericEntity { @Column(name = "answer_type", nullable = false) private Integer answerType; + @Comment("音频时播放状态:0 开始播放 1 暂停 2 继续 3 停止 10无此资源") + @Column(name = "play_type", nullable = false) + private Integer playType; + } \ No newline at end of file diff --git a/iot-common/iot-data/src/main/java/com/qiuguo/iot/data/request/system/SystemTalkAnswerConfigRequest.java b/iot-common/iot-data/src/main/java/com/qiuguo/iot/data/request/system/SystemTalkAnswerConfigRequest.java index 394a624..b3a2bce 100644 --- a/iot-common/iot-data/src/main/java/com/qiuguo/iot/data/request/system/SystemTalkAnswerConfigRequest.java +++ b/iot-common/iot-data/src/main/java/com/qiuguo/iot/data/request/system/SystemTalkAnswerConfigRequest.java @@ -56,4 +56,10 @@ public class SystemTalkAnswerConfigRequest implements java.io.Serializable { //"回答类型0:文本问答 1:iOT控制 2:天气 3:闹钟 4:U3D 5:音乐声音 100:固件升级" private Integer answerType; + + /** + * 音频时播放状态:0 开始播放 1 暂停 2 继续 3 停止 10无此资源 + */ + + private Integer playType; } \ No newline at end of file diff --git a/iot-common/iot-data/src/main/java/com/qiuguo/iot/data/resp/system/SystemTalkAnswerConfigResp.java b/iot-common/iot-data/src/main/java/com/qiuguo/iot/data/resp/system/SystemTalkAnswerConfigResp.java index ebe81d7..c145fd1 100644 --- a/iot-common/iot-data/src/main/java/com/qiuguo/iot/data/resp/system/SystemTalkAnswerConfigResp.java +++ b/iot-common/iot-data/src/main/java/com/qiuguo/iot/data/resp/system/SystemTalkAnswerConfigResp.java @@ -34,4 +34,10 @@ public class SystemTalkAnswerConfigResp { //"回答类型0:文本问答 1:iOT控制 2:天气 3:闹钟 4:U3D 5:音乐声音 100:固件升级" private Integer answerType; + + /** + * 音频时播放状态:0 开始播放 1 暂停 2 继续 3 停止 10无此资源 + */ + + private Integer playType; } \ No newline at end of file diff --git a/iot-common/iot-data/src/main/java/com/qiuguo/iot/data/service/system/SystemTalkAnswerConfigService.java b/iot-common/iot-data/src/main/java/com/qiuguo/iot/data/service/system/SystemTalkAnswerConfigService.java index acc81b9..52c9772 100644 --- a/iot-common/iot-data/src/main/java/com/qiuguo/iot/data/service/system/SystemTalkAnswerConfigService.java +++ b/iot-common/iot-data/src/main/java/com/qiuguo/iot/data/service/system/SystemTalkAnswerConfigService.java @@ -101,6 +101,10 @@ public class SystemTalkAnswerConfigService extends GenericReactiveCrudService sink; - protected String logId;//当前请求日志ID + /** + * 当前请求日志ID + */ + protected String logId; - protected String customerIP;//客户端IP + /** + * 客户端IP + */ + protected String customerIP; /*** * 用户id */ @@ -25,5 +32,11 @@ public class BaseSession { /*** * 当前使用的BoxId,如果未绑定,那么就是0 */ - protected Long deviceId = 0l; + protected Long deviceId = 0L; + + /*** + * 当前歌曲状态。正常客户端同步 + * 用户登录时同步 + */ + MusicResp music; } diff --git a/iot-modules/iot-box-websocket-api/src/main/java/com/qiuguo/iot/box/websocket/api/domain/box/BoxSession.java b/iot-modules/iot-box-websocket-api/src/main/java/com/qiuguo/iot/box/websocket/api/domain/box/BoxSession.java index 052ba14..29f91e6 100644 --- a/iot-modules/iot-box-websocket-api/src/main/java/com/qiuguo/iot/box/websocket/api/domain/box/BoxSession.java +++ b/iot-modules/iot-box-websocket-api/src/main/java/com/qiuguo/iot/box/websocket/api/domain/box/BoxSession.java @@ -10,8 +10,5 @@ import reactor.core.publisher.FluxSink; @Data public class BoxSession extends BaseSession { - /*** - * 设备序列号 - */ - MusicResp music;//当前歌曲状态。正常客户端同步 + } diff --git a/iot-modules/iot-box-websocket-api/src/main/java/com/qiuguo/iot/box/websocket/api/handler/BaseWebSocketProcess.java b/iot-modules/iot-box-websocket-api/src/main/java/com/qiuguo/iot/box/websocket/api/handler/BaseWebSocketProcess.java index 9512e8d..d749fbf 100644 --- a/iot-modules/iot-box-websocket-api/src/main/java/com/qiuguo/iot/box/websocket/api/handler/BaseWebSocketProcess.java +++ b/iot-modules/iot-box-websocket-api/src/main/java/com/qiuguo/iot/box/websocket/api/handler/BaseWebSocketProcess.java @@ -39,6 +39,7 @@ import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; import javax.annotation.Resource; +import javax.swing.*; import java.util.ArrayList; import java.util.concurrent.ConcurrentHashMap; @@ -222,28 +223,43 @@ public class BaseWebSocketProcess { if(StringUtils.isNotEmpty(action.getPName())){ search = search.replaceAll(action.getPName(), ""); } - musicService.searchMusic(search, 1).defaultIfEmpty(new ArrayList<>()).map(resultSongs -> { - BoxMessageResp resp = new BoxMessageResp(); - MusicResp musicResp = new MusicResp(); - if(resultSongs.size() > 0){ - // - SongInfoResponse.ResultSong song = resultSongs.get(0); - musicResp.setPlay(PlayEnum.START.getCode()); - musicResp.setName(song.getName()); - musicResp.setUrl(song.getUrl()); - musicResp.setSinger(song.getArtistName()); - resp.setText("现在为您播放" + song.getName() + - (StringUtils.isNotEmpty(song.getArtistName()) ? ("来自" + song.getArtistName()) : "")); - }else{ - musicResp.setPlay(PlayEnum.NONE.getCode()); - resp.setText("未找到相关资源"); - } - resp.setMusic(musicResp); - resp.setType(action.getSystemTalkAnswerConfigEntity().getAnswerType()); + BoxMessageResp resp = new BoxMessageResp(); + if(action.getSystemTalkAnswerConfigEntity().getPlayType().equals(PlayEnum.START.getCode())){ + musicService.searchMusic(search, 1).defaultIfEmpty(new ArrayList<>()).map(resultSongs -> { + //BoxMessageResp resp = new BoxMessageResp(); + MusicResp musicResp = new MusicResp(); + if(resultSongs.size() > 0){ + // + SongInfoResponse.ResultSong song = resultSongs.get(0); + musicResp.setPlay(PlayEnum.START.getCode()); + musicResp.setName(song.getName()); + musicResp.setUrl(song.getUrl()); + musicResp.setSinger(song.getArtistName()); + resp.setText("现在为您播放" + song.getName() + + (StringUtils.isNotEmpty(song.getArtistName()) ? ("来自" + song.getArtistName()) : "")); + }else{ + musicResp.setPlay(PlayEnum.NONE.getCode()); + resp.setText("未找到相关资源"); + } + resp.setMusic(musicResp); + resp.setType(action.getSystemTalkAnswerConfigEntity().getAnswerType()); + sendMessage(action, baseSession, resp); + return resultSongs; + }).subscribe(); + }else if(baseSession.getMusic() != null){ + //做相应的动作 + baseSession.getMusic().setPlay(action.getSystemTalkAnswerConfigEntity().getPlayType()); + resp.setMusic(baseSession.getMusic()); + resp.setText("已" + action.getAction()); + resp.setType(action.getSystemTalkAnswerConfigEntity().getAnswerType()); sendMessage(action, baseSession, resp); - return resultSongs; - }).subscribe(); + }else{ + resp.setType(AskTypeEnum.TTS.getCode()); + resp.setText("目前无播放资源,无法操作"); + sendMessage(action, baseSession, resp); + } + } } } @@ -258,15 +274,42 @@ public class BaseWebSocketProcess { talkRecord.setUserId(baseSession.getUserId()); talkRecord.setDeviceId(baseSession.getDeviceId()); if(resp.getType().equals(AskTypeEnum.MUSIC.getCode())) { + //客户端推送的 if(this instanceof CustomerWebSocketHandler) { log.info("推送Box播放音乐"); - BaseSession boxSession = getBoxSessionWithSn(baseSession.getSn()); + BoxSession boxSession = getBoxSessionWithSn(baseSession.getSn()); if(boxSession != null){ boxSession.getSink().next(baseSession.getSession().textMessage(JSONObject.toJSONString(resp))); + //记录音乐状态 + if(resp.getMusic().getPlay().equals(PlayEnum.STOP.getCode())){ + //去掉内存中音乐同步对象 + boxSession.setMusic(null); + baseSession.setMusic(null); + }else{ + boxSession.setMusic(resp.getMusic()); + } }else{ log.info("设备sn:{}不在线,无法播放", baseSession.getSn()); resp.setText("设备不在线,无法播放"); } + }else{//果box的 + //记录音乐状态 + BaseSession userSession = getUserSessionWithUserId(baseSession.getUserId()); + //记录音乐状态 + if(resp.getMusic().getPlay().equals(PlayEnum.STOP.getCode())){ + //去掉内存中音乐同步对象 + if(userSession != null){ + userSession.setMusic(null); + //如果在线推送用户端 + } + baseSession.setMusic(null); + }else{ + if(userSession != null){ + userSession.setMusic(resp.getMusic()); + //如果在线推送用户端 + } + baseSession.setMusic(resp.getMusic()); + } } } deviceUserTalkRecordService.insertDeviceUserTalkRecord(talkRecord).map(i ->{ diff --git a/logs/iot-box-websocket-api/error.log b/logs/iot-box-websocket-api/error.log index 5398000..e8b1e7b 100644 --- a/logs/iot-box-websocket-api/error.log +++ b/logs/iot-box-websocket-api/error.log @@ -265,3 +265,174 @@ 10:54:45.779 [reactor-tcp-nio-3] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`device_id` = ? limit ?,? 10:54:45.780 [reactor-tcp-nio-3] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),4(Long),0(Integer),1(Integer) 10:54:45.780 [reactor-tcp-nio-3] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`device_id` = 4 limit 0,1 +11:04:50.472 [background-preinit] INFO o.h.v.i.util.Version - [,21] - HV000001: Hibernate Validator 6.2.5.Final +11:04:50.950 [main] WARN c.a.c.n.c.NacosPropertySourceBuilder - [loadNacosData,87] - Ignore the empty nacos configuration and get it based on dataId[qiuguo-iot-box-websocket] & group[DEFAULT_GROUP] +11:04:50.961 [main] WARN c.a.c.n.c.NacosPropertySourceBuilder - [loadNacosData,87] - Ignore the empty nacos configuration and get it based on dataId[qiuguo-iot-box-websocket-dev.yml] & group[DEFAULT_GROUP] +11:04:50.962 [main] INFO o.s.c.b.c.PropertySourceBootstrapConfiguration - [doInitialize,134] - Located property source: [BootstrapPropertySource {name='bootstrapProperties-qiuguo-iot-box-websocket-dev.yml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-qiuguo-iot-box-websocket.yml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-qiuguo-iot-box-websocket,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-application-dev.yml,DEFAULT_GROUP'}] +11:04:50.984 [main] INFO c.q.i.b.w.a.IotBoxWebsocketApplication - [logStartupProfileInfo,637] []- The following 1 profile is active: "dev" +11:04:51.806 [main] INFO o.s.d.r.c.RepositoryConfigurationDelegate - [multipleStoresDetected,262] []- Multiple Spring Data modules found, entering strict repository configuration mode +11:04:51.808 [main] INFO o.s.d.r.c.RepositoryConfigurationDelegate - [registerRepositoriesIn,132] []- Bootstrapping Spring Data R2DBC repositories in DEFAULT mode. +11:04:51.817 [main] INFO o.s.d.r.c.RepositoryConfigurationDelegate - [registerRepositoriesIn,201] []- Finished Spring Data repository scanning in 4 ms. Found 0 R2DBC repository interfaces. +11:04:51.826 [main] INFO o.s.d.r.c.RepositoryConfigurationDelegate - [multipleStoresDetected,262] []- Multiple Spring Data modules found, entering strict repository configuration mode +11:04:51.827 [main] INFO o.s.d.r.c.RepositoryConfigurationDelegate - [registerRepositoriesIn,132] []- Bootstrapping Spring Data Redis repositories in DEFAULT mode. +11:04:51.835 [main] INFO o.s.d.r.c.RepositoryConfigurationDelegate - [registerRepositoriesIn,201] []- Finished Spring Data repository scanning in 0 ms. Found 0 Redis repository interfaces. +11:04:52.102 [main] INFO o.s.c.c.s.GenericScope - [setSerializationId,283] []- BeanFactory id=455209d6-5bf4-3323-a7af-a2beadd73ae3 +11:04:52.235 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'org.hswebframework.web.datasource.AopDataSourceSwitcherAutoConfiguration' of type [org.hswebframework.web.datasource.AopDataSourceSwitcherAutoConfiguration$$EnhancerBySpringCGLIB$$5e0322b] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +11:04:52.248 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'org.springframework.cloud.commons.config.CommonsConfigAutoConfiguration' of type [org.springframework.cloud.commons.config.CommonsConfigAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +11:04:52.249 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'org.springframework.cloud.client.loadbalancer.LoadBalancerDefaultMappingsProviderAutoConfiguration' of type [org.springframework.cloud.client.loadbalancer.LoadBalancerDefaultMappingsProviderAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +11:04:52.250 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'loadBalancerClientsDefaultsMappingsProvider' of type [org.springframework.cloud.client.loadbalancer.LoadBalancerDefaultMappingsProviderAutoConfiguration$$Lambda$447/683573228] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +11:04:52.251 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'defaultsBindHandlerAdvisor' of type [org.springframework.cloud.commons.config.DefaultsBindHandlerAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +11:04:52.254 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'expressionDataSourceSwitchStrategyMatcher' of type [org.hswebframework.web.datasource.strategy.ExpressionDataSourceSwitchStrategyMatcher] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +11:04:52.255 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'annotationDataSourceSwitchStrategyMatcher' of type [org.hswebframework.web.datasource.strategy.AnnotationDataSourceSwitchStrategyMatcher] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +11:04:52.258 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'alwaysNoMatchStrategyMatcher' of type [org.hswebframework.web.datasource.AopDataSourceSwitcherAutoConfiguration$1] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +11:04:52.259 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'switcherMethodMatcherPointcutAdvisor' of type [org.hswebframework.web.datasource.AopDataSourceSwitcherAutoConfiguration$SwitcherMethodMatcherPointcutAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +11:04:52.261 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'org.hswebframework.web.authorization.simple.DefaultAuthorizationAutoConfiguration' of type [org.hswebframework.web.authorization.simple.DefaultAuthorizationAutoConfiguration$$EnhancerBySpringCGLIB$$6082623d] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +11:04:52.297 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'easyorm-org.hswebframework.web.crud.configuration.EasyormProperties' of type [org.hswebframework.web.crud.configuration.EasyormProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +11:04:52.298 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'org.hswebframework.web.crud.configuration.EasyormConfiguration' of type [org.hswebframework.web.crud.configuration.EasyormConfiguration$$EnhancerBySpringCGLIB$$2f6f3159] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +11:04:52.302 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'org.hswebframework.web.crud.configuration.R2dbcSqlExecutorConfiguration' of type [org.hswebframework.web.crud.configuration.R2dbcSqlExecutorConfiguration$$EnhancerBySpringCGLIB$$2ffc50c7] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +11:04:52.314 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'org.springframework.boot.autoconfigure.r2dbc.ConnectionFactoryConfigurations$PoolConfiguration$PooledConnectionFactoryConfiguration' of type [org.springframework.boot.autoconfigure.r2dbc.ConnectionFactoryConfigurations$PoolConfiguration$PooledConnectionFactoryConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +11:04:52.317 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'spring.r2dbc-org.springframework.boot.autoconfigure.r2dbc.R2dbcProperties' of type [org.springframework.boot.autoconfigure.r2dbc.R2dbcProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +11:04:52.381 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'connectionFactory' of type [io.r2dbc.pool.ConnectionPool] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +11:04:52.384 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'reactiveSqlExecutor' of type [org.hswebframework.web.crud.sql.DefaultR2dbcExecutor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +11:04:52.415 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'syncSqlExecutor' of type [org.hswebframework.ezorm.rdb.executor.reactive.ReactiveSyncSqlExecutor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +11:04:52.453 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'databaseMetadata' of type [org.hswebframework.ezorm.rdb.metadata.RDBDatabaseMetadata] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +11:04:52.463 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'org.hswebframework.web.datasource.DynamicDataSourceAutoConfiguration' of type [org.hswebframework.web.datasource.DynamicDataSourceAutoConfiguration$$EnhancerBySpringCGLIB$$d46a6c2f] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +11:04:52.763 [main] INFO c.q.i.d.s.s.SystemTalkAnswerConfigService - [initGroup,44] []- 初始化自定义回答缓存数据 +11:04:52.830 [main] INFO c.t.c.s.c.ConnectorFactoryBean - [registerErrorProcessor,80] []- register processor for error code: 1010 +11:04:53.498 [reactor-tcp-nio-2] DEBUG o.h.e.c.m.AbstractSchemaMetadata - [lambda$loadMetadataReactive$3,110] []- reactive load table [system_talk_answer_config] metadata ,use parser:MysqlTableMetadataParser +11:04:53.515 [reactor-tcp-nio-2] DEBUG o.h.e.r.s.c.RDBTableMetadataParser - [printSql,39] []- ==> Preparing: select count(1) as 'total' from information_schema.`TABLES` where table_schema=? and table_name=? +11:04:53.516 [reactor-tcp-nio-2] DEBUG o.h.e.r.s.c.RDBTableMetadataParser - [printSql,41] []- ==> Parameters: qiuguo_iot(String),system_talk_answer_config(String) +11:04:53.516 [reactor-tcp-nio-2] DEBUG o.h.e.r.s.c.RDBTableMetadataParser - [printSql,43] []- ==> Native: select count(1) as 'total' from information_schema.`TABLES` where table_schema='qiuguo_iot' and table_name='system_talk_answer_config' +11:04:53.548 [reactor-tcp-nio-2] DEBUG o.h.e.r.s.c.RDBTableMetadataParser - [printSql,39] []- ==> Preparing: select column_name as `name`, data_type as `data_type`, character_maximum_length as `data_length`, numeric_precision as `data_precision`, numeric_scale as `data_scale`, column_comment as `comment`, table_name as `table_name`, case when is_nullable='YES' then 0 else 1 end as 'not_null' from information_schema.columns where table_schema=? and table_name like ? +11:04:53.549 [reactor-tcp-nio-2] DEBUG o.h.e.r.s.c.RDBTableMetadataParser - [printSql,41] []- ==> Parameters: qiuguo_iot(String),system_talk_answer_config(String) +11:04:53.549 [reactor-tcp-nio-2] DEBUG o.h.e.r.s.c.RDBTableMetadataParser - [printSql,43] []- ==> Native: select column_name as `name`, data_type as `data_type`, character_maximum_length as `data_length`, numeric_precision as `data_precision`, numeric_scale as `data_scale`, column_comment as `comment`, table_name as `table_name`, case when is_nullable='YES' then 0 else 1 end as 'not_null' from information_schema.columns where table_schema='qiuguo_iot' and table_name like 'system_talk_answer_config' +11:04:53.551 [reactor-tcp-nio-2] DEBUG o.h.e.r.s.c.RDBTableMetadataParser - [printSql,39] []- ==> Preparing: select table_comment as `comment` ,table_name as `table_name` from information_schema.tables where table_schema=? and table_name like ? +11:04:53.551 [reactor-tcp-nio-2] DEBUG o.h.e.r.s.c.RDBTableMetadataParser - [printSql,41] []- ==> Parameters: qiuguo_iot(String),system_talk_answer_config(String) +11:04:53.552 [reactor-tcp-nio-2] DEBUG o.h.e.r.s.c.RDBTableMetadataParser - [printSql,43] []- ==> Native: select table_comment as `comment` ,table_name as `table_name` from information_schema.tables where table_schema='qiuguo_iot' and table_name like 'system_talk_answer_config' +11:04:53.553 [reactor-tcp-nio-2] DEBUG o.h.e.r.s.c.RDBTableMetadataParser - [printSql,39] []- ==> Preparing: SELECT * FROM INFORMATION_SCHEMA.STATISTICS WHERE TABLE_SCHEMA = ? and TABLE_NAME like ? +11:04:53.553 [reactor-tcp-nio-2] DEBUG o.h.e.r.s.c.RDBTableMetadataParser - [printSql,41] []- ==> Parameters: qiuguo_iot(String),system_talk_answer_config(String) +11:04:53.554 [reactor-tcp-nio-2] DEBUG o.h.e.r.s.c.RDBTableMetadataParser - [printSql,43] []- ==> Native: SELECT * FROM INFORMATION_SCHEMA.STATISTICS WHERE TABLE_SCHEMA = 'qiuguo_iot' and TABLE_NAME like 'system_talk_answer_config' +11:04:53.595 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkAnswerConfigEntity - [printSql,39] []- ==> Preparing: select system_talk_answer_config.`id` as `id` , system_talk_answer_config.`is_delete` as `isDelete` , system_talk_answer_config.`create_time` as `createTime` , system_talk_answer_config.`modify_time` as `modifyTime` , system_talk_answer_config.`user_id` as `userId` , system_talk_answer_config.`ask_key` as `askKey` , system_talk_answer_config.`answer_value` as `answerValue` , system_talk_answer_config.`answer_value_faild` as `answerValueFaild` , system_talk_answer_config.`answer_action` as `answerAction` , system_talk_answer_config.`answer_action_faild` as `answerActionFaild` , system_talk_answer_config.`answer_back_sound` as `answerBackSound` , system_talk_answer_config.`answer_back_img` as `answerBackImg` , system_talk_answer_config.`key_order` as `keyOrder` , system_talk_answer_config.`answer_type` as `answerType` , system_talk_answer_config.`play_type` as `playType` from qiuguo_iot.system_talk_answer_config system_talk_answer_config where system_talk_answer_config.`is_delete` = ? limit ?,? +11:04:53.596 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkAnswerConfigEntity - [printSql,41] []- ==> Parameters: 0(Integer),0(Integer),1000(Integer) +11:04:53.596 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkAnswerConfigEntity - [printSql,43] []- ==> Native: select system_talk_answer_config.`id` as `id` , system_talk_answer_config.`is_delete` as `isDelete` , system_talk_answer_config.`create_time` as `createTime` , system_talk_answer_config.`modify_time` as `modifyTime` , system_talk_answer_config.`user_id` as `userId` , system_talk_answer_config.`ask_key` as `askKey` , system_talk_answer_config.`answer_value` as `answerValue` , system_talk_answer_config.`answer_value_faild` as `answerValueFaild` , system_talk_answer_config.`answer_action` as `answerAction` , system_talk_answer_config.`answer_action_faild` as `answerActionFaild` , system_talk_answer_config.`answer_back_sound` as `answerBackSound` , system_talk_answer_config.`answer_back_img` as `answerBackImg` , system_talk_answer_config.`key_order` as `keyOrder` , system_talk_answer_config.`answer_type` as `answerType` , system_talk_answer_config.`play_type` as `playType` from qiuguo_iot.system_talk_answer_config system_talk_answer_config where system_talk_answer_config.`is_delete` = 0 limit 0,1000 +11:04:53.695 [reactor-tcp-nio-2] INFO c.q.i.d.s.s.SystemTalkAnswerConfigService - [lambda$initGroup$1,53] []- 配置最多读取1000条,实际读取了60条自定义回答指令 +11:04:54.213 [main] INFO o.h.w.s.i.I18nConfiguration - [autoResolveI18nMessageSource,42] []- register i18n message resource i18n/commons/messages_en.properties -> messages +11:04:54.213 [main] INFO o.h.w.s.i.I18nConfiguration - [autoResolveI18nMessageSource,42] []- register i18n message resource i18n/commons/messages_zh.properties -> messages +11:04:54.213 [main] INFO o.h.w.s.i.I18nConfiguration - [autoResolveI18nMessageSource,42] []- register i18n message resource i18n/authentication/messages_en.properties -> messages +11:04:54.214 [main] INFO o.h.w.s.i.I18nConfiguration - [autoResolveI18nMessageSource,42] []- register i18n message resource i18n/authentication/messages_zh.properties -> messages +11:04:54.214 [main] INFO o.h.w.s.i.I18nConfiguration - [autoResolveI18nMessageSource,42] []- register i18n message resource i18n/core/messages_en.properties -> messages +11:04:54.214 [main] INFO o.h.w.s.i.I18nConfiguration - [autoResolveI18nMessageSource,42] []- register i18n message resource i18n/core/messages_zh.properties -> messages +11:04:54.214 [main] INFO o.h.w.s.i.I18nConfiguration - [autoResolveI18nMessageSource,42] []- register i18n message resource i18n/authentication-default/messages_en.properties -> messages +11:04:54.214 [main] INFO o.h.w.s.i.I18nConfiguration - [autoResolveI18nMessageSource,42] []- register i18n message resource i18n/authentication-default/messages_zh.properties -> messages +11:04:54.599 [main] INFO c.a.n.client.naming - [call,65] []- initializer namespace from System Property :null +11:04:54.600 [main] INFO c.a.n.client.naming - [call,74] []- initializer namespace from System Environment :null +11:04:54.601 [main] INFO c.a.n.client.naming - [call,84] []- initializer namespace from System Property :null +11:04:54.758 [main] INFO o.s.b.a.e.w.EndpointLinksResolver - [,58] []- Exposing 18 endpoint(s) beneath base path '/actuator' +11:04:55.977 [main] INFO c.a.n.client.naming - [processServiceJson,232] []- new ips(2) service: DEFAULT_GROUP@@qiuguo-iot-box-websocket@@DEFAULT -> [{"instanceId":"172.31.133.185#8080#DEFAULT#DEFAULT_GROUP@@qiuguo-iot-box-websocket","ip":"172.31.133.185","port":8080,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@qiuguo-iot-box-websocket","metadata":{"preserved.register.source":"SPRING_CLOUD"},"instanceHeartBeatInterval":5000,"instanceHeartBeatTimeOut":15000,"ipDeleteTimeout":30000},{"instanceId":"172.27.48.1#8080#DEFAULT#DEFAULT_GROUP@@qiuguo-iot-box-websocket","ip":"172.27.48.1","port":8080,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@qiuguo-iot-box-websocket","metadata":{"preserved.register.source":"SPRING_CLOUD"},"instanceHeartBeatInterval":5000,"instanceHeartBeatTimeOut":15000,"ipDeleteTimeout":30000}] +11:04:55.984 [main] INFO c.a.n.client.naming - [processServiceJson,271] []- current ips:(2) service: DEFAULT_GROUP@@qiuguo-iot-box-websocket@@DEFAULT -> [{"instanceId":"172.31.133.185#8080#DEFAULT#DEFAULT_GROUP@@qiuguo-iot-box-websocket","ip":"172.31.133.185","port":8080,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@qiuguo-iot-box-websocket","metadata":{"preserved.register.source":"SPRING_CLOUD"},"instanceHeartBeatInterval":5000,"instanceHeartBeatTimeOut":15000,"ipDeleteTimeout":30000},{"instanceId":"172.27.48.1#8080#DEFAULT#DEFAULT_GROUP@@qiuguo-iot-box-websocket","ip":"172.27.48.1","port":8080,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@qiuguo-iot-box-websocket","metadata":{"preserved.register.source":"SPRING_CLOUD"},"instanceHeartBeatInterval":5000,"instanceHeartBeatTimeOut":15000,"ipDeleteTimeout":30000}] +11:04:55.999 [main] INFO o.s.b.w.e.n.NettyWebServer - [start,111] []- Netty started on port 8080 +11:04:56.004 [main] INFO c.a.n.client.naming - [addBeatInfo,81] []- [BEAT] adding beat: BeatInfo{port=8080, ip='127.0.0.1', weight=1.0, serviceName='DEFAULT_GROUP@@qiuguo-iot-box-websocket', cluster='DEFAULT', metadata={preserved.register.source=SPRING_CLOUD}, scheduled=false, period=5000, stopped=false} to beat map. +11:04:56.005 [main] INFO c.a.n.client.naming - [registerService,230] []- [REGISTER-SERVICE] public registering service DEFAULT_GROUP@@qiuguo-iot-box-websocket with instance: Instance{instanceId='null', ip='127.0.0.1', port=8080, weight=1.0, healthy=true, enabled=true, ephemeral=true, clusterName='DEFAULT', serviceName='null', metadata={preserved.register.source=SPRING_CLOUD}} +11:04:56.008 [main] INFO c.a.c.n.r.NacosServiceRegistry - [register,75] []- nacos registry, DEFAULT_GROUP qiuguo-iot-box-websocket 127.0.0.1:8080 register finished +11:04:56.024 [main] INFO c.q.i.b.w.a.IotBoxWebsocketApplication - [logStarted,61] []- Started IotBoxWebsocketApplication in 6.005 seconds (JVM running for 6.709) +11:04:56.028 [main] DEBUG o.h.e.c.m.AbstractSchemaMetadata - [lambda$loadMetadata$2,94] []- load table metadata s_system ,use parser:MysqlTableMetadataParser +11:04:56.037 [reactor-tcp-nio-2] DEBUG o.h.e.r.e.r.r.R2dbcReactiveSqlExecutor - [printSql,39] []- ==> Preparing: select count(1) as 'total' from information_schema.`TABLES` where table_schema=? and table_name=? +11:04:56.037 [reactor-tcp-nio-2] DEBUG o.h.e.r.e.r.r.R2dbcReactiveSqlExecutor - [printSql,41] []- ==> Parameters: qiuguo_iot(String),s_system(String) +11:04:56.037 [reactor-tcp-nio-2] DEBUG o.h.e.r.e.r.r.R2dbcReactiveSqlExecutor - [printSql,43] []- ==> Native: select count(1) as 'total' from information_schema.`TABLES` where table_schema='qiuguo_iot' and table_name='s_system' +11:04:56.052 [reactor-tcp-nio-2] DEBUG o.h.e.r.e.r.r.R2dbcReactiveSqlExecutor - [printSql,39] []- ==> Preparing: select column_name as `name`, data_type as `data_type`, character_maximum_length as `data_length`, numeric_precision as `data_precision`, numeric_scale as `data_scale`, column_comment as `comment`, table_name as `table_name`, case when is_nullable='YES' then 0 else 1 end as 'not_null' from information_schema.columns where table_schema=? and table_name like ? +11:04:56.052 [reactor-tcp-nio-2] DEBUG o.h.e.r.e.r.r.R2dbcReactiveSqlExecutor - [printSql,41] []- ==> Parameters: qiuguo_iot(String),s_system(String) +11:04:56.052 [reactor-tcp-nio-2] DEBUG o.h.e.r.e.r.r.R2dbcReactiveSqlExecutor - [printSql,43] []- ==> Native: select column_name as `name`, data_type as `data_type`, character_maximum_length as `data_length`, numeric_precision as `data_precision`, numeric_scale as `data_scale`, column_comment as `comment`, table_name as `table_name`, case when is_nullable='YES' then 0 else 1 end as 'not_null' from information_schema.columns where table_schema='qiuguo_iot' and table_name like 's_system' +11:04:56.069 [reactor-tcp-nio-2] DEBUG o.h.e.r.e.r.r.R2dbcReactiveSqlExecutor - [printSql,39] []- ==> Preparing: select table_comment as `comment` ,table_name as `table_name` from information_schema.tables where table_schema=? and table_name like ? +11:04:56.070 [reactor-tcp-nio-2] DEBUG o.h.e.r.e.r.r.R2dbcReactiveSqlExecutor - [printSql,41] []- ==> Parameters: qiuguo_iot(String),s_system(String) +11:04:56.070 [reactor-tcp-nio-2] DEBUG o.h.e.r.e.r.r.R2dbcReactiveSqlExecutor - [printSql,43] []- ==> Native: select table_comment as `comment` ,table_name as `table_name` from information_schema.tables where table_schema='qiuguo_iot' and table_name like 's_system' +11:04:56.084 [reactor-tcp-nio-2] DEBUG o.h.e.r.e.r.r.R2dbcReactiveSqlExecutor - [printSql,39] []- ==> Preparing: SELECT * FROM INFORMATION_SCHEMA.STATISTICS WHERE TABLE_SCHEMA = ? and TABLE_NAME like ? +11:04:56.085 [reactor-tcp-nio-2] DEBUG o.h.e.r.e.r.r.R2dbcReactiveSqlExecutor - [printSql,41] []- ==> Parameters: qiuguo_iot(String),s_system(String) +11:04:56.085 [reactor-tcp-nio-2] DEBUG o.h.e.r.e.r.r.R2dbcReactiveSqlExecutor - [printSql,43] []- ==> Native: SELECT * FROM INFORMATION_SCHEMA.STATISTICS WHERE TABLE_SCHEMA = 'qiuguo_iot' and TABLE_NAME like 's_system' +11:04:56.114 [reactor-tcp-nio-2] DEBUG o.h.e.r.e.r.r.R2dbcReactiveSqlExecutor - [printSql,39] []- ==> Preparing: select s_system.`framework_version` as `frameworkVersion` , s_system.`website` as `website` , s_system.`major_version` as `majorVersion` , s_system.`name` as `name` , s_system.`revision_version` as `revisionVersion` , s_system.`comment` as `comment` , s_system.`dependencies` as `dependencies` , s_system.`minor_version` as `minorVersion` from qiuguo_iot.s_system s_system where s_system.`name` = ? limit ?,? +11:04:56.114 [reactor-tcp-nio-2] DEBUG o.h.e.r.e.r.r.R2dbcReactiveSqlExecutor - [printSql,41] []- ==> Parameters: default(String),0(Integer),1(Integer) +11:04:56.114 [reactor-tcp-nio-2] DEBUG o.h.e.r.e.r.r.R2dbcReactiveSqlExecutor - [printSql,43] []- ==> Native: select s_system.`framework_version` as `frameworkVersion` , s_system.`website` as `website` , s_system.`major_version` as `majorVersion` , s_system.`name` as `name` , s_system.`revision_version` as `revisionVersion` , s_system.`comment` as `comment` , s_system.`dependencies` as `dependencies` , s_system.`minor_version` as `minorVersion` from qiuguo_iot.s_system s_system where s_system.`name` = 'default' limit 0,1 +11:04:56.243 [reactor-tcp-nio-2] DEBUG o.h.e.r.e.r.r.R2dbcReactiveSqlExecutor - [printSql,39] []- ==> Preparing: update qiuguo_iot.s_system set `framework_version` = ? , `website` = ? , `major_version` = ? , `name` = ? , `revision_version` = ? , `dependencies` = ? , `minor_version` = ? where `name` = ? +11:04:56.243 [reactor-tcp-nio-2] DEBUG o.h.e.r.e.r.r.R2dbcReactiveSqlExecutor - [printSql,41] []- ==> Parameters: {"name":"hsweb framework","comment":"","website":"http://www.hsweb.io","majorVersion":4,"minorVersion":0,"revisionVersion":0,"snapshot":true}(String),(String),1(Integer),default(String),0(Integer),[](String),0(Integer),default(String) +11:04:56.243 [reactor-tcp-nio-2] DEBUG o.h.e.r.e.r.r.R2dbcReactiveSqlExecutor - [printSql,43] []- ==> Native: update qiuguo_iot.s_system set `framework_version` = '{"name":"hsweb framework","comment":"","website":"http://www.hsweb.io","majorVersion":4,"minorVersion":0,"revisionVersion":0,"snapshot":true}' , `website` = '' , `major_version` = 1 , `name` = 'default' , `revision_version` = 0 , `dependencies` = '[]' , `minor_version` = 0 where `name` = 'default' +11:04:56.248 [reactor-tcp-nio-2] DEBUG o.h.e.r.e.r.r.R2dbcReactiveSqlExecutor - [lambda$null$7,130] []- ==> Updated: 1 +11:04:56.256 [main] INFO c.a.n.c.c.i.ClientWorker - [addCacheDataIfAbsent,169] []- [fixed-192.168.8.146_32470] [subscribe] qiuguo-iot-box-websocket.yml+DEFAULT_GROUP +11:04:56.257 [main] INFO c.a.n.c.c.i.CacheData - [addListener,92] []- [fixed-192.168.8.146_32470] [add-listener] ok, tenant=, dataId=qiuguo-iot-box-websocket.yml, group=DEFAULT_GROUP, cnt=1 +11:04:56.257 [main] INFO c.a.c.n.r.NacosContextRefresher - [registerNacosListenersForApplications,105] []- listening config: dataId=qiuguo-iot-box-websocket.yml, group=DEFAULT_GROUP +11:04:56.257 [main] INFO c.a.n.c.c.i.ClientWorker - [addCacheDataIfAbsent,169] []- [fixed-192.168.8.146_32470] [subscribe] qiuguo-iot-box-websocket-dev.yml+DEFAULT_GROUP +11:04:56.257 [main] INFO c.a.n.c.c.i.CacheData - [addListener,92] []- [fixed-192.168.8.146_32470] [add-listener] ok, tenant=, dataId=qiuguo-iot-box-websocket-dev.yml, group=DEFAULT_GROUP, cnt=1 +11:04:56.257 [main] INFO c.a.c.n.r.NacosContextRefresher - [registerNacosListenersForApplications,105] []- listening config: dataId=qiuguo-iot-box-websocket-dev.yml, group=DEFAULT_GROUP +11:04:56.258 [main] INFO c.a.n.c.c.i.ClientWorker - [addCacheDataIfAbsent,169] []- [fixed-192.168.8.146_32470] [subscribe] qiuguo-iot-box-websocket+DEFAULT_GROUP +11:04:56.258 [main] INFO c.a.n.c.c.i.CacheData - [addListener,92] []- [fixed-192.168.8.146_32470] [add-listener] ok, tenant=, dataId=qiuguo-iot-box-websocket, group=DEFAULT_GROUP, cnt=1 +11:04:56.258 [main] INFO c.a.c.n.r.NacosContextRefresher - [registerNacosListenersForApplications,105] []- listening config: dataId=qiuguo-iot-box-websocket, group=DEFAULT_GROUP +11:04:56.603 [RMI TCP Connection(2)-127.0.0.1] INFO o.s.a.r.c.CachingConnectionFactory - [connectAddresses,639] []- Attempting to connect to: [localhost:5672] +11:04:56.610 [RMI TCP Connection(2)-127.0.0.1] WARN o.s.b.a.a.RabbitHealthIndicator - [logExceptionIfPresent,94] []- Rabbit health check failed +org.springframework.amqp.AmqpConnectException: java.net.ConnectException: Connection refused (Connection refused) + at org.springframework.amqp.rabbit.support.RabbitExceptionTranslator.convertRabbitAccessException(RabbitExceptionTranslator.java:61) + at org.springframework.amqp.rabbit.connection.AbstractConnectionFactory.createBareConnection(AbstractConnectionFactory.java:603) + at org.springframework.amqp.rabbit.connection.CachingConnectionFactory.createConnection(CachingConnectionFactory.java:725) + at org.springframework.amqp.rabbit.connection.ConnectionFactoryUtils.createConnection(ConnectionFactoryUtils.java:252) + at org.springframework.amqp.rabbit.core.RabbitTemplate.doExecute(RabbitTemplate.java:2210) + at org.springframework.amqp.rabbit.core.RabbitTemplate.execute(RabbitTemplate.java:2183) + at org.springframework.amqp.rabbit.core.RabbitTemplate.execute(RabbitTemplate.java:2163) + at org.springframework.boot.actuate.amqp.RabbitHealthIndicator.getVersion(RabbitHealthIndicator.java:49) + at org.springframework.boot.actuate.amqp.RabbitHealthIndicator.doHealthCheck(RabbitHealthIndicator.java:44) + at org.springframework.boot.actuate.health.AbstractHealthIndicator.health(AbstractHealthIndicator.java:82) + at org.springframework.boot.actuate.health.HealthIndicator.getHealth(HealthIndicator.java:37) + at org.springframework.boot.actuate.health.HealthEndpoint.getHealth(HealthEndpoint.java:94) + at org.springframework.boot.actuate.health.HealthEndpoint.getHealth(HealthEndpoint.java:41) + at org.springframework.boot.actuate.health.HealthEndpointSupport.getLoggedHealth(HealthEndpointSupport.java:172) + at org.springframework.boot.actuate.health.HealthEndpointSupport.getContribution(HealthEndpointSupport.java:145) + at org.springframework.boot.actuate.health.HealthEndpointSupport.getAggregateContribution(HealthEndpointSupport.java:156) + at org.springframework.boot.actuate.health.HealthEndpointSupport.getContribution(HealthEndpointSupport.java:141) + at org.springframework.boot.actuate.health.HealthEndpointSupport.getHealth(HealthEndpointSupport.java:110) + at org.springframework.boot.actuate.health.HealthEndpointSupport.getHealth(HealthEndpointSupport.java:81) + at org.springframework.boot.actuate.health.HealthEndpoint.health(HealthEndpoint.java:88) + at org.springframework.boot.actuate.health.HealthEndpoint.health(HealthEndpoint.java:78) + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.lang.reflect.Method.invoke(Method.java:498) + at org.springframework.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:282) + at org.springframework.boot.actuate.endpoint.invoke.reflect.ReflectiveOperationInvoker.invoke(ReflectiveOperationInvoker.java:74) + at org.springframework.boot.actuate.endpoint.annotation.AbstractDiscoveredOperation.invoke(AbstractDiscoveredOperation.java:60) + at org.springframework.boot.actuate.endpoint.jmx.EndpointMBean.invoke(EndpointMBean.java:124) + at org.springframework.boot.actuate.endpoint.jmx.EndpointMBean.invoke(EndpointMBean.java:97) + at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819) + at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801) + at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1468) + at javax.management.remote.rmi.RMIConnectionImpl.access$300(RMIConnectionImpl.java:76) + at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1309) + at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1401) + at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:829) + at sun.reflect.GeneratedMethodAccessor54.invoke(Unknown Source) + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.lang.reflect.Method.invoke(Method.java:498) + at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:357) + at sun.rmi.transport.Transport$1.run(Transport.java:200) + at sun.rmi.transport.Transport$1.run(Transport.java:197) + at java.security.AccessController.doPrivileged(Native Method) + at sun.rmi.transport.Transport.serviceCall(Transport.java:196) + at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:573) + at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:834) + at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:688) + at java.security.AccessController.doPrivileged(Native Method) + at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:687) + at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) + at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) + at java.lang.Thread.run(Thread.java:750) +Caused by: java.net.ConnectException: Connection refused (Connection refused) + at java.net.PlainSocketImpl.socketConnect(Native Method) + at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:476) + at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:218) + at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:200) + at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:394) + at java.net.Socket.connect(Socket.java:606) + at com.rabbitmq.client.impl.SocketFrameHandlerFactory.create(SocketFrameHandlerFactory.java:62) + at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:1234) + at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:1184) + at org.springframework.amqp.rabbit.connection.AbstractConnectionFactory.connectAddresses(AbstractConnectionFactory.java:641) + at org.springframework.amqp.rabbit.connection.AbstractConnectionFactory.connect(AbstractConnectionFactory.java:616) + at org.springframework.amqp.rabbit.connection.AbstractConnectionFactory.createBareConnection(AbstractConnectionFactory.java:566) + ... 51 common frames omitted +11:04:57.044 [com.alibaba.nacos.client.naming.updater] INFO c.a.n.client.naming - [processServiceJson,232] []- new ips(1) service: DEFAULT_GROUP@@qiuguo-iot-box-websocket@@DEFAULT -> [{"instanceId":"127.0.0.1#8080#DEFAULT#DEFAULT_GROUP@@qiuguo-iot-box-websocket","ip":"127.0.0.1","port":8080,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@qiuguo-iot-box-websocket","metadata":{"preserved.register.source":"SPRING_CLOUD"},"instanceHeartBeatInterval":5000,"instanceHeartBeatTimeOut":15000,"ipDeleteTimeout":30000}] +11:04:57.045 [com.alibaba.nacos.client.naming.updater] INFO c.a.n.client.naming - [processServiceJson,271] []- current ips:(3) service: DEFAULT_GROUP@@qiuguo-iot-box-websocket@@DEFAULT -> [{"instanceId":"172.31.133.185#8080#DEFAULT#DEFAULT_GROUP@@qiuguo-iot-box-websocket","ip":"172.31.133.185","port":8080,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@qiuguo-iot-box-websocket","metadata":{"preserved.register.source":"SPRING_CLOUD"},"instanceHeartBeatInterval":5000,"instanceHeartBeatTimeOut":15000,"ipDeleteTimeout":30000},{"instanceId":"127.0.0.1#8080#DEFAULT#DEFAULT_GROUP@@qiuguo-iot-box-websocket","ip":"127.0.0.1","port":8080,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@qiuguo-iot-box-websocket","metadata":{"preserved.register.source":"SPRING_CLOUD"},"instanceHeartBeatInterval":5000,"instanceHeartBeatTimeOut":15000,"ipDeleteTimeout":30000},{"instanceId":"172.27.48.1#8080#DEFAULT#DEFAULT_GROUP@@qiuguo-iot-box-websocket","ip":"172.27.48.1","port":8080,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@qiuguo-iot-box-websocket","metadata":{"preserved.register.source":"SPRING_CLOUD"},"instanceHeartBeatInterval":5000,"instanceHeartBeatTimeOut":15000,"ipDeleteTimeout":30000}] diff --git a/logs/iot-box-websocket-api/info.log b/logs/iot-box-websocket-api/info.log index 5398000..e8b1e7b 100644 --- a/logs/iot-box-websocket-api/info.log +++ b/logs/iot-box-websocket-api/info.log @@ -265,3 +265,174 @@ 10:54:45.779 [reactor-tcp-nio-3] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`device_id` = ? limit ?,? 10:54:45.780 [reactor-tcp-nio-3] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),4(Long),0(Integer),1(Integer) 10:54:45.780 [reactor-tcp-nio-3] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`device_id` = 4 limit 0,1 +11:04:50.472 [background-preinit] INFO o.h.v.i.util.Version - [,21] - HV000001: Hibernate Validator 6.2.5.Final +11:04:50.950 [main] WARN c.a.c.n.c.NacosPropertySourceBuilder - [loadNacosData,87] - Ignore the empty nacos configuration and get it based on dataId[qiuguo-iot-box-websocket] & group[DEFAULT_GROUP] +11:04:50.961 [main] WARN c.a.c.n.c.NacosPropertySourceBuilder - [loadNacosData,87] - Ignore the empty nacos configuration and get it based on dataId[qiuguo-iot-box-websocket-dev.yml] & group[DEFAULT_GROUP] +11:04:50.962 [main] INFO o.s.c.b.c.PropertySourceBootstrapConfiguration - [doInitialize,134] - Located property source: [BootstrapPropertySource {name='bootstrapProperties-qiuguo-iot-box-websocket-dev.yml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-qiuguo-iot-box-websocket.yml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-qiuguo-iot-box-websocket,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-application-dev.yml,DEFAULT_GROUP'}] +11:04:50.984 [main] INFO c.q.i.b.w.a.IotBoxWebsocketApplication - [logStartupProfileInfo,637] []- The following 1 profile is active: "dev" +11:04:51.806 [main] INFO o.s.d.r.c.RepositoryConfigurationDelegate - [multipleStoresDetected,262] []- Multiple Spring Data modules found, entering strict repository configuration mode +11:04:51.808 [main] INFO o.s.d.r.c.RepositoryConfigurationDelegate - [registerRepositoriesIn,132] []- Bootstrapping Spring Data R2DBC repositories in DEFAULT mode. +11:04:51.817 [main] INFO o.s.d.r.c.RepositoryConfigurationDelegate - [registerRepositoriesIn,201] []- Finished Spring Data repository scanning in 4 ms. Found 0 R2DBC repository interfaces. +11:04:51.826 [main] INFO o.s.d.r.c.RepositoryConfigurationDelegate - [multipleStoresDetected,262] []- Multiple Spring Data modules found, entering strict repository configuration mode +11:04:51.827 [main] INFO o.s.d.r.c.RepositoryConfigurationDelegate - [registerRepositoriesIn,132] []- Bootstrapping Spring Data Redis repositories in DEFAULT mode. +11:04:51.835 [main] INFO o.s.d.r.c.RepositoryConfigurationDelegate - [registerRepositoriesIn,201] []- Finished Spring Data repository scanning in 0 ms. Found 0 Redis repository interfaces. +11:04:52.102 [main] INFO o.s.c.c.s.GenericScope - [setSerializationId,283] []- BeanFactory id=455209d6-5bf4-3323-a7af-a2beadd73ae3 +11:04:52.235 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'org.hswebframework.web.datasource.AopDataSourceSwitcherAutoConfiguration' of type [org.hswebframework.web.datasource.AopDataSourceSwitcherAutoConfiguration$$EnhancerBySpringCGLIB$$5e0322b] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +11:04:52.248 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'org.springframework.cloud.commons.config.CommonsConfigAutoConfiguration' of type [org.springframework.cloud.commons.config.CommonsConfigAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +11:04:52.249 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'org.springframework.cloud.client.loadbalancer.LoadBalancerDefaultMappingsProviderAutoConfiguration' of type [org.springframework.cloud.client.loadbalancer.LoadBalancerDefaultMappingsProviderAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +11:04:52.250 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'loadBalancerClientsDefaultsMappingsProvider' of type [org.springframework.cloud.client.loadbalancer.LoadBalancerDefaultMappingsProviderAutoConfiguration$$Lambda$447/683573228] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +11:04:52.251 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'defaultsBindHandlerAdvisor' of type [org.springframework.cloud.commons.config.DefaultsBindHandlerAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +11:04:52.254 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'expressionDataSourceSwitchStrategyMatcher' of type [org.hswebframework.web.datasource.strategy.ExpressionDataSourceSwitchStrategyMatcher] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +11:04:52.255 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'annotationDataSourceSwitchStrategyMatcher' of type [org.hswebframework.web.datasource.strategy.AnnotationDataSourceSwitchStrategyMatcher] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +11:04:52.258 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'alwaysNoMatchStrategyMatcher' of type [org.hswebframework.web.datasource.AopDataSourceSwitcherAutoConfiguration$1] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +11:04:52.259 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'switcherMethodMatcherPointcutAdvisor' of type [org.hswebframework.web.datasource.AopDataSourceSwitcherAutoConfiguration$SwitcherMethodMatcherPointcutAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +11:04:52.261 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'org.hswebframework.web.authorization.simple.DefaultAuthorizationAutoConfiguration' of type [org.hswebframework.web.authorization.simple.DefaultAuthorizationAutoConfiguration$$EnhancerBySpringCGLIB$$6082623d] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +11:04:52.297 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'easyorm-org.hswebframework.web.crud.configuration.EasyormProperties' of type [org.hswebframework.web.crud.configuration.EasyormProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +11:04:52.298 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'org.hswebframework.web.crud.configuration.EasyormConfiguration' of type [org.hswebframework.web.crud.configuration.EasyormConfiguration$$EnhancerBySpringCGLIB$$2f6f3159] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +11:04:52.302 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'org.hswebframework.web.crud.configuration.R2dbcSqlExecutorConfiguration' of type [org.hswebframework.web.crud.configuration.R2dbcSqlExecutorConfiguration$$EnhancerBySpringCGLIB$$2ffc50c7] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +11:04:52.314 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'org.springframework.boot.autoconfigure.r2dbc.ConnectionFactoryConfigurations$PoolConfiguration$PooledConnectionFactoryConfiguration' of type [org.springframework.boot.autoconfigure.r2dbc.ConnectionFactoryConfigurations$PoolConfiguration$PooledConnectionFactoryConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +11:04:52.317 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'spring.r2dbc-org.springframework.boot.autoconfigure.r2dbc.R2dbcProperties' of type [org.springframework.boot.autoconfigure.r2dbc.R2dbcProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +11:04:52.381 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'connectionFactory' of type [io.r2dbc.pool.ConnectionPool] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +11:04:52.384 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'reactiveSqlExecutor' of type [org.hswebframework.web.crud.sql.DefaultR2dbcExecutor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +11:04:52.415 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'syncSqlExecutor' of type [org.hswebframework.ezorm.rdb.executor.reactive.ReactiveSyncSqlExecutor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +11:04:52.453 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'databaseMetadata' of type [org.hswebframework.ezorm.rdb.metadata.RDBDatabaseMetadata] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +11:04:52.463 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'org.hswebframework.web.datasource.DynamicDataSourceAutoConfiguration' of type [org.hswebframework.web.datasource.DynamicDataSourceAutoConfiguration$$EnhancerBySpringCGLIB$$d46a6c2f] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +11:04:52.763 [main] INFO c.q.i.d.s.s.SystemTalkAnswerConfigService - [initGroup,44] []- 初始化自定义回答缓存数据 +11:04:52.830 [main] INFO c.t.c.s.c.ConnectorFactoryBean - [registerErrorProcessor,80] []- register processor for error code: 1010 +11:04:53.498 [reactor-tcp-nio-2] DEBUG o.h.e.c.m.AbstractSchemaMetadata - [lambda$loadMetadataReactive$3,110] []- reactive load table [system_talk_answer_config] metadata ,use parser:MysqlTableMetadataParser +11:04:53.515 [reactor-tcp-nio-2] DEBUG o.h.e.r.s.c.RDBTableMetadataParser - [printSql,39] []- ==> Preparing: select count(1) as 'total' from information_schema.`TABLES` where table_schema=? and table_name=? +11:04:53.516 [reactor-tcp-nio-2] DEBUG o.h.e.r.s.c.RDBTableMetadataParser - [printSql,41] []- ==> Parameters: qiuguo_iot(String),system_talk_answer_config(String) +11:04:53.516 [reactor-tcp-nio-2] DEBUG o.h.e.r.s.c.RDBTableMetadataParser - [printSql,43] []- ==> Native: select count(1) as 'total' from information_schema.`TABLES` where table_schema='qiuguo_iot' and table_name='system_talk_answer_config' +11:04:53.548 [reactor-tcp-nio-2] DEBUG o.h.e.r.s.c.RDBTableMetadataParser - [printSql,39] []- ==> Preparing: select column_name as `name`, data_type as `data_type`, character_maximum_length as `data_length`, numeric_precision as `data_precision`, numeric_scale as `data_scale`, column_comment as `comment`, table_name as `table_name`, case when is_nullable='YES' then 0 else 1 end as 'not_null' from information_schema.columns where table_schema=? and table_name like ? +11:04:53.549 [reactor-tcp-nio-2] DEBUG o.h.e.r.s.c.RDBTableMetadataParser - [printSql,41] []- ==> Parameters: qiuguo_iot(String),system_talk_answer_config(String) +11:04:53.549 [reactor-tcp-nio-2] DEBUG o.h.e.r.s.c.RDBTableMetadataParser - [printSql,43] []- ==> Native: select column_name as `name`, data_type as `data_type`, character_maximum_length as `data_length`, numeric_precision as `data_precision`, numeric_scale as `data_scale`, column_comment as `comment`, table_name as `table_name`, case when is_nullable='YES' then 0 else 1 end as 'not_null' from information_schema.columns where table_schema='qiuguo_iot' and table_name like 'system_talk_answer_config' +11:04:53.551 [reactor-tcp-nio-2] DEBUG o.h.e.r.s.c.RDBTableMetadataParser - [printSql,39] []- ==> Preparing: select table_comment as `comment` ,table_name as `table_name` from information_schema.tables where table_schema=? and table_name like ? +11:04:53.551 [reactor-tcp-nio-2] DEBUG o.h.e.r.s.c.RDBTableMetadataParser - [printSql,41] []- ==> Parameters: qiuguo_iot(String),system_talk_answer_config(String) +11:04:53.552 [reactor-tcp-nio-2] DEBUG o.h.e.r.s.c.RDBTableMetadataParser - [printSql,43] []- ==> Native: select table_comment as `comment` ,table_name as `table_name` from information_schema.tables where table_schema='qiuguo_iot' and table_name like 'system_talk_answer_config' +11:04:53.553 [reactor-tcp-nio-2] DEBUG o.h.e.r.s.c.RDBTableMetadataParser - [printSql,39] []- ==> Preparing: SELECT * FROM INFORMATION_SCHEMA.STATISTICS WHERE TABLE_SCHEMA = ? and TABLE_NAME like ? +11:04:53.553 [reactor-tcp-nio-2] DEBUG o.h.e.r.s.c.RDBTableMetadataParser - [printSql,41] []- ==> Parameters: qiuguo_iot(String),system_talk_answer_config(String) +11:04:53.554 [reactor-tcp-nio-2] DEBUG o.h.e.r.s.c.RDBTableMetadataParser - [printSql,43] []- ==> Native: SELECT * FROM INFORMATION_SCHEMA.STATISTICS WHERE TABLE_SCHEMA = 'qiuguo_iot' and TABLE_NAME like 'system_talk_answer_config' +11:04:53.595 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkAnswerConfigEntity - [printSql,39] []- ==> Preparing: select system_talk_answer_config.`id` as `id` , system_talk_answer_config.`is_delete` as `isDelete` , system_talk_answer_config.`create_time` as `createTime` , system_talk_answer_config.`modify_time` as `modifyTime` , system_talk_answer_config.`user_id` as `userId` , system_talk_answer_config.`ask_key` as `askKey` , system_talk_answer_config.`answer_value` as `answerValue` , system_talk_answer_config.`answer_value_faild` as `answerValueFaild` , system_talk_answer_config.`answer_action` as `answerAction` , system_talk_answer_config.`answer_action_faild` as `answerActionFaild` , system_talk_answer_config.`answer_back_sound` as `answerBackSound` , system_talk_answer_config.`answer_back_img` as `answerBackImg` , system_talk_answer_config.`key_order` as `keyOrder` , system_talk_answer_config.`answer_type` as `answerType` , system_talk_answer_config.`play_type` as `playType` from qiuguo_iot.system_talk_answer_config system_talk_answer_config where system_talk_answer_config.`is_delete` = ? limit ?,? +11:04:53.596 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkAnswerConfigEntity - [printSql,41] []- ==> Parameters: 0(Integer),0(Integer),1000(Integer) +11:04:53.596 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkAnswerConfigEntity - [printSql,43] []- ==> Native: select system_talk_answer_config.`id` as `id` , system_talk_answer_config.`is_delete` as `isDelete` , system_talk_answer_config.`create_time` as `createTime` , system_talk_answer_config.`modify_time` as `modifyTime` , system_talk_answer_config.`user_id` as `userId` , system_talk_answer_config.`ask_key` as `askKey` , system_talk_answer_config.`answer_value` as `answerValue` , system_talk_answer_config.`answer_value_faild` as `answerValueFaild` , system_talk_answer_config.`answer_action` as `answerAction` , system_talk_answer_config.`answer_action_faild` as `answerActionFaild` , system_talk_answer_config.`answer_back_sound` as `answerBackSound` , system_talk_answer_config.`answer_back_img` as `answerBackImg` , system_talk_answer_config.`key_order` as `keyOrder` , system_talk_answer_config.`answer_type` as `answerType` , system_talk_answer_config.`play_type` as `playType` from qiuguo_iot.system_talk_answer_config system_talk_answer_config where system_talk_answer_config.`is_delete` = 0 limit 0,1000 +11:04:53.695 [reactor-tcp-nio-2] INFO c.q.i.d.s.s.SystemTalkAnswerConfigService - [lambda$initGroup$1,53] []- 配置最多读取1000条,实际读取了60条自定义回答指令 +11:04:54.213 [main] INFO o.h.w.s.i.I18nConfiguration - [autoResolveI18nMessageSource,42] []- register i18n message resource i18n/commons/messages_en.properties -> messages +11:04:54.213 [main] INFO o.h.w.s.i.I18nConfiguration - [autoResolveI18nMessageSource,42] []- register i18n message resource i18n/commons/messages_zh.properties -> messages +11:04:54.213 [main] INFO o.h.w.s.i.I18nConfiguration - [autoResolveI18nMessageSource,42] []- register i18n message resource i18n/authentication/messages_en.properties -> messages +11:04:54.214 [main] INFO o.h.w.s.i.I18nConfiguration - [autoResolveI18nMessageSource,42] []- register i18n message resource i18n/authentication/messages_zh.properties -> messages +11:04:54.214 [main] INFO o.h.w.s.i.I18nConfiguration - [autoResolveI18nMessageSource,42] []- register i18n message resource i18n/core/messages_en.properties -> messages +11:04:54.214 [main] INFO o.h.w.s.i.I18nConfiguration - [autoResolveI18nMessageSource,42] []- register i18n message resource i18n/core/messages_zh.properties -> messages +11:04:54.214 [main] INFO o.h.w.s.i.I18nConfiguration - [autoResolveI18nMessageSource,42] []- register i18n message resource i18n/authentication-default/messages_en.properties -> messages +11:04:54.214 [main] INFO o.h.w.s.i.I18nConfiguration - [autoResolveI18nMessageSource,42] []- register i18n message resource i18n/authentication-default/messages_zh.properties -> messages +11:04:54.599 [main] INFO c.a.n.client.naming - [call,65] []- initializer namespace from System Property :null +11:04:54.600 [main] INFO c.a.n.client.naming - [call,74] []- initializer namespace from System Environment :null +11:04:54.601 [main] INFO c.a.n.client.naming - [call,84] []- initializer namespace from System Property :null +11:04:54.758 [main] INFO o.s.b.a.e.w.EndpointLinksResolver - [,58] []- Exposing 18 endpoint(s) beneath base path '/actuator' +11:04:55.977 [main] INFO c.a.n.client.naming - [processServiceJson,232] []- new ips(2) service: DEFAULT_GROUP@@qiuguo-iot-box-websocket@@DEFAULT -> [{"instanceId":"172.31.133.185#8080#DEFAULT#DEFAULT_GROUP@@qiuguo-iot-box-websocket","ip":"172.31.133.185","port":8080,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@qiuguo-iot-box-websocket","metadata":{"preserved.register.source":"SPRING_CLOUD"},"instanceHeartBeatInterval":5000,"instanceHeartBeatTimeOut":15000,"ipDeleteTimeout":30000},{"instanceId":"172.27.48.1#8080#DEFAULT#DEFAULT_GROUP@@qiuguo-iot-box-websocket","ip":"172.27.48.1","port":8080,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@qiuguo-iot-box-websocket","metadata":{"preserved.register.source":"SPRING_CLOUD"},"instanceHeartBeatInterval":5000,"instanceHeartBeatTimeOut":15000,"ipDeleteTimeout":30000}] +11:04:55.984 [main] INFO c.a.n.client.naming - [processServiceJson,271] []- current ips:(2) service: DEFAULT_GROUP@@qiuguo-iot-box-websocket@@DEFAULT -> [{"instanceId":"172.31.133.185#8080#DEFAULT#DEFAULT_GROUP@@qiuguo-iot-box-websocket","ip":"172.31.133.185","port":8080,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@qiuguo-iot-box-websocket","metadata":{"preserved.register.source":"SPRING_CLOUD"},"instanceHeartBeatInterval":5000,"instanceHeartBeatTimeOut":15000,"ipDeleteTimeout":30000},{"instanceId":"172.27.48.1#8080#DEFAULT#DEFAULT_GROUP@@qiuguo-iot-box-websocket","ip":"172.27.48.1","port":8080,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@qiuguo-iot-box-websocket","metadata":{"preserved.register.source":"SPRING_CLOUD"},"instanceHeartBeatInterval":5000,"instanceHeartBeatTimeOut":15000,"ipDeleteTimeout":30000}] +11:04:55.999 [main] INFO o.s.b.w.e.n.NettyWebServer - [start,111] []- Netty started on port 8080 +11:04:56.004 [main] INFO c.a.n.client.naming - [addBeatInfo,81] []- [BEAT] adding beat: BeatInfo{port=8080, ip='127.0.0.1', weight=1.0, serviceName='DEFAULT_GROUP@@qiuguo-iot-box-websocket', cluster='DEFAULT', metadata={preserved.register.source=SPRING_CLOUD}, scheduled=false, period=5000, stopped=false} to beat map. +11:04:56.005 [main] INFO c.a.n.client.naming - [registerService,230] []- [REGISTER-SERVICE] public registering service DEFAULT_GROUP@@qiuguo-iot-box-websocket with instance: Instance{instanceId='null', ip='127.0.0.1', port=8080, weight=1.0, healthy=true, enabled=true, ephemeral=true, clusterName='DEFAULT', serviceName='null', metadata={preserved.register.source=SPRING_CLOUD}} +11:04:56.008 [main] INFO c.a.c.n.r.NacosServiceRegistry - [register,75] []- nacos registry, DEFAULT_GROUP qiuguo-iot-box-websocket 127.0.0.1:8080 register finished +11:04:56.024 [main] INFO c.q.i.b.w.a.IotBoxWebsocketApplication - [logStarted,61] []- Started IotBoxWebsocketApplication in 6.005 seconds (JVM running for 6.709) +11:04:56.028 [main] DEBUG o.h.e.c.m.AbstractSchemaMetadata - [lambda$loadMetadata$2,94] []- load table metadata s_system ,use parser:MysqlTableMetadataParser +11:04:56.037 [reactor-tcp-nio-2] DEBUG o.h.e.r.e.r.r.R2dbcReactiveSqlExecutor - [printSql,39] []- ==> Preparing: select count(1) as 'total' from information_schema.`TABLES` where table_schema=? and table_name=? +11:04:56.037 [reactor-tcp-nio-2] DEBUG o.h.e.r.e.r.r.R2dbcReactiveSqlExecutor - [printSql,41] []- ==> Parameters: qiuguo_iot(String),s_system(String) +11:04:56.037 [reactor-tcp-nio-2] DEBUG o.h.e.r.e.r.r.R2dbcReactiveSqlExecutor - [printSql,43] []- ==> Native: select count(1) as 'total' from information_schema.`TABLES` where table_schema='qiuguo_iot' and table_name='s_system' +11:04:56.052 [reactor-tcp-nio-2] DEBUG o.h.e.r.e.r.r.R2dbcReactiveSqlExecutor - [printSql,39] []- ==> Preparing: select column_name as `name`, data_type as `data_type`, character_maximum_length as `data_length`, numeric_precision as `data_precision`, numeric_scale as `data_scale`, column_comment as `comment`, table_name as `table_name`, case when is_nullable='YES' then 0 else 1 end as 'not_null' from information_schema.columns where table_schema=? and table_name like ? +11:04:56.052 [reactor-tcp-nio-2] DEBUG o.h.e.r.e.r.r.R2dbcReactiveSqlExecutor - [printSql,41] []- ==> Parameters: qiuguo_iot(String),s_system(String) +11:04:56.052 [reactor-tcp-nio-2] DEBUG o.h.e.r.e.r.r.R2dbcReactiveSqlExecutor - [printSql,43] []- ==> Native: select column_name as `name`, data_type as `data_type`, character_maximum_length as `data_length`, numeric_precision as `data_precision`, numeric_scale as `data_scale`, column_comment as `comment`, table_name as `table_name`, case when is_nullable='YES' then 0 else 1 end as 'not_null' from information_schema.columns where table_schema='qiuguo_iot' and table_name like 's_system' +11:04:56.069 [reactor-tcp-nio-2] DEBUG o.h.e.r.e.r.r.R2dbcReactiveSqlExecutor - [printSql,39] []- ==> Preparing: select table_comment as `comment` ,table_name as `table_name` from information_schema.tables where table_schema=? and table_name like ? +11:04:56.070 [reactor-tcp-nio-2] DEBUG o.h.e.r.e.r.r.R2dbcReactiveSqlExecutor - [printSql,41] []- ==> Parameters: qiuguo_iot(String),s_system(String) +11:04:56.070 [reactor-tcp-nio-2] DEBUG o.h.e.r.e.r.r.R2dbcReactiveSqlExecutor - [printSql,43] []- ==> Native: select table_comment as `comment` ,table_name as `table_name` from information_schema.tables where table_schema='qiuguo_iot' and table_name like 's_system' +11:04:56.084 [reactor-tcp-nio-2] DEBUG o.h.e.r.e.r.r.R2dbcReactiveSqlExecutor - [printSql,39] []- ==> Preparing: SELECT * FROM INFORMATION_SCHEMA.STATISTICS WHERE TABLE_SCHEMA = ? and TABLE_NAME like ? +11:04:56.085 [reactor-tcp-nio-2] DEBUG o.h.e.r.e.r.r.R2dbcReactiveSqlExecutor - [printSql,41] []- ==> Parameters: qiuguo_iot(String),s_system(String) +11:04:56.085 [reactor-tcp-nio-2] DEBUG o.h.e.r.e.r.r.R2dbcReactiveSqlExecutor - [printSql,43] []- ==> Native: SELECT * FROM INFORMATION_SCHEMA.STATISTICS WHERE TABLE_SCHEMA = 'qiuguo_iot' and TABLE_NAME like 's_system' +11:04:56.114 [reactor-tcp-nio-2] DEBUG o.h.e.r.e.r.r.R2dbcReactiveSqlExecutor - [printSql,39] []- ==> Preparing: select s_system.`framework_version` as `frameworkVersion` , s_system.`website` as `website` , s_system.`major_version` as `majorVersion` , s_system.`name` as `name` , s_system.`revision_version` as `revisionVersion` , s_system.`comment` as `comment` , s_system.`dependencies` as `dependencies` , s_system.`minor_version` as `minorVersion` from qiuguo_iot.s_system s_system where s_system.`name` = ? limit ?,? +11:04:56.114 [reactor-tcp-nio-2] DEBUG o.h.e.r.e.r.r.R2dbcReactiveSqlExecutor - [printSql,41] []- ==> Parameters: default(String),0(Integer),1(Integer) +11:04:56.114 [reactor-tcp-nio-2] DEBUG o.h.e.r.e.r.r.R2dbcReactiveSqlExecutor - [printSql,43] []- ==> Native: select s_system.`framework_version` as `frameworkVersion` , s_system.`website` as `website` , s_system.`major_version` as `majorVersion` , s_system.`name` as `name` , s_system.`revision_version` as `revisionVersion` , s_system.`comment` as `comment` , s_system.`dependencies` as `dependencies` , s_system.`minor_version` as `minorVersion` from qiuguo_iot.s_system s_system where s_system.`name` = 'default' limit 0,1 +11:04:56.243 [reactor-tcp-nio-2] DEBUG o.h.e.r.e.r.r.R2dbcReactiveSqlExecutor - [printSql,39] []- ==> Preparing: update qiuguo_iot.s_system set `framework_version` = ? , `website` = ? , `major_version` = ? , `name` = ? , `revision_version` = ? , `dependencies` = ? , `minor_version` = ? where `name` = ? +11:04:56.243 [reactor-tcp-nio-2] DEBUG o.h.e.r.e.r.r.R2dbcReactiveSqlExecutor - [printSql,41] []- ==> Parameters: {"name":"hsweb framework","comment":"","website":"http://www.hsweb.io","majorVersion":4,"minorVersion":0,"revisionVersion":0,"snapshot":true}(String),(String),1(Integer),default(String),0(Integer),[](String),0(Integer),default(String) +11:04:56.243 [reactor-tcp-nio-2] DEBUG o.h.e.r.e.r.r.R2dbcReactiveSqlExecutor - [printSql,43] []- ==> Native: update qiuguo_iot.s_system set `framework_version` = '{"name":"hsweb framework","comment":"","website":"http://www.hsweb.io","majorVersion":4,"minorVersion":0,"revisionVersion":0,"snapshot":true}' , `website` = '' , `major_version` = 1 , `name` = 'default' , `revision_version` = 0 , `dependencies` = '[]' , `minor_version` = 0 where `name` = 'default' +11:04:56.248 [reactor-tcp-nio-2] DEBUG o.h.e.r.e.r.r.R2dbcReactiveSqlExecutor - [lambda$null$7,130] []- ==> Updated: 1 +11:04:56.256 [main] INFO c.a.n.c.c.i.ClientWorker - [addCacheDataIfAbsent,169] []- [fixed-192.168.8.146_32470] [subscribe] qiuguo-iot-box-websocket.yml+DEFAULT_GROUP +11:04:56.257 [main] INFO c.a.n.c.c.i.CacheData - [addListener,92] []- [fixed-192.168.8.146_32470] [add-listener] ok, tenant=, dataId=qiuguo-iot-box-websocket.yml, group=DEFAULT_GROUP, cnt=1 +11:04:56.257 [main] INFO c.a.c.n.r.NacosContextRefresher - [registerNacosListenersForApplications,105] []- listening config: dataId=qiuguo-iot-box-websocket.yml, group=DEFAULT_GROUP +11:04:56.257 [main] INFO c.a.n.c.c.i.ClientWorker - [addCacheDataIfAbsent,169] []- [fixed-192.168.8.146_32470] [subscribe] qiuguo-iot-box-websocket-dev.yml+DEFAULT_GROUP +11:04:56.257 [main] INFO c.a.n.c.c.i.CacheData - [addListener,92] []- [fixed-192.168.8.146_32470] [add-listener] ok, tenant=, dataId=qiuguo-iot-box-websocket-dev.yml, group=DEFAULT_GROUP, cnt=1 +11:04:56.257 [main] INFO c.a.c.n.r.NacosContextRefresher - [registerNacosListenersForApplications,105] []- listening config: dataId=qiuguo-iot-box-websocket-dev.yml, group=DEFAULT_GROUP +11:04:56.258 [main] INFO c.a.n.c.c.i.ClientWorker - [addCacheDataIfAbsent,169] []- [fixed-192.168.8.146_32470] [subscribe] qiuguo-iot-box-websocket+DEFAULT_GROUP +11:04:56.258 [main] INFO c.a.n.c.c.i.CacheData - [addListener,92] []- [fixed-192.168.8.146_32470] [add-listener] ok, tenant=, dataId=qiuguo-iot-box-websocket, group=DEFAULT_GROUP, cnt=1 +11:04:56.258 [main] INFO c.a.c.n.r.NacosContextRefresher - [registerNacosListenersForApplications,105] []- listening config: dataId=qiuguo-iot-box-websocket, group=DEFAULT_GROUP +11:04:56.603 [RMI TCP Connection(2)-127.0.0.1] INFO o.s.a.r.c.CachingConnectionFactory - [connectAddresses,639] []- Attempting to connect to: [localhost:5672] +11:04:56.610 [RMI TCP Connection(2)-127.0.0.1] WARN o.s.b.a.a.RabbitHealthIndicator - [logExceptionIfPresent,94] []- Rabbit health check failed +org.springframework.amqp.AmqpConnectException: java.net.ConnectException: Connection refused (Connection refused) + at org.springframework.amqp.rabbit.support.RabbitExceptionTranslator.convertRabbitAccessException(RabbitExceptionTranslator.java:61) + at org.springframework.amqp.rabbit.connection.AbstractConnectionFactory.createBareConnection(AbstractConnectionFactory.java:603) + at org.springframework.amqp.rabbit.connection.CachingConnectionFactory.createConnection(CachingConnectionFactory.java:725) + at org.springframework.amqp.rabbit.connection.ConnectionFactoryUtils.createConnection(ConnectionFactoryUtils.java:252) + at org.springframework.amqp.rabbit.core.RabbitTemplate.doExecute(RabbitTemplate.java:2210) + at org.springframework.amqp.rabbit.core.RabbitTemplate.execute(RabbitTemplate.java:2183) + at org.springframework.amqp.rabbit.core.RabbitTemplate.execute(RabbitTemplate.java:2163) + at org.springframework.boot.actuate.amqp.RabbitHealthIndicator.getVersion(RabbitHealthIndicator.java:49) + at org.springframework.boot.actuate.amqp.RabbitHealthIndicator.doHealthCheck(RabbitHealthIndicator.java:44) + at org.springframework.boot.actuate.health.AbstractHealthIndicator.health(AbstractHealthIndicator.java:82) + at org.springframework.boot.actuate.health.HealthIndicator.getHealth(HealthIndicator.java:37) + at org.springframework.boot.actuate.health.HealthEndpoint.getHealth(HealthEndpoint.java:94) + at org.springframework.boot.actuate.health.HealthEndpoint.getHealth(HealthEndpoint.java:41) + at org.springframework.boot.actuate.health.HealthEndpointSupport.getLoggedHealth(HealthEndpointSupport.java:172) + at org.springframework.boot.actuate.health.HealthEndpointSupport.getContribution(HealthEndpointSupport.java:145) + at org.springframework.boot.actuate.health.HealthEndpointSupport.getAggregateContribution(HealthEndpointSupport.java:156) + at org.springframework.boot.actuate.health.HealthEndpointSupport.getContribution(HealthEndpointSupport.java:141) + at org.springframework.boot.actuate.health.HealthEndpointSupport.getHealth(HealthEndpointSupport.java:110) + at org.springframework.boot.actuate.health.HealthEndpointSupport.getHealth(HealthEndpointSupport.java:81) + at org.springframework.boot.actuate.health.HealthEndpoint.health(HealthEndpoint.java:88) + at org.springframework.boot.actuate.health.HealthEndpoint.health(HealthEndpoint.java:78) + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.lang.reflect.Method.invoke(Method.java:498) + at org.springframework.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:282) + at org.springframework.boot.actuate.endpoint.invoke.reflect.ReflectiveOperationInvoker.invoke(ReflectiveOperationInvoker.java:74) + at org.springframework.boot.actuate.endpoint.annotation.AbstractDiscoveredOperation.invoke(AbstractDiscoveredOperation.java:60) + at org.springframework.boot.actuate.endpoint.jmx.EndpointMBean.invoke(EndpointMBean.java:124) + at org.springframework.boot.actuate.endpoint.jmx.EndpointMBean.invoke(EndpointMBean.java:97) + at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819) + at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801) + at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1468) + at javax.management.remote.rmi.RMIConnectionImpl.access$300(RMIConnectionImpl.java:76) + at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1309) + at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1401) + at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:829) + at sun.reflect.GeneratedMethodAccessor54.invoke(Unknown Source) + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.lang.reflect.Method.invoke(Method.java:498) + at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:357) + at sun.rmi.transport.Transport$1.run(Transport.java:200) + at sun.rmi.transport.Transport$1.run(Transport.java:197) + at java.security.AccessController.doPrivileged(Native Method) + at sun.rmi.transport.Transport.serviceCall(Transport.java:196) + at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:573) + at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:834) + at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:688) + at java.security.AccessController.doPrivileged(Native Method) + at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:687) + at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) + at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) + at java.lang.Thread.run(Thread.java:750) +Caused by: java.net.ConnectException: Connection refused (Connection refused) + at java.net.PlainSocketImpl.socketConnect(Native Method) + at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:476) + at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:218) + at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:200) + at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:394) + at java.net.Socket.connect(Socket.java:606) + at com.rabbitmq.client.impl.SocketFrameHandlerFactory.create(SocketFrameHandlerFactory.java:62) + at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:1234) + at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:1184) + at org.springframework.amqp.rabbit.connection.AbstractConnectionFactory.connectAddresses(AbstractConnectionFactory.java:641) + at org.springframework.amqp.rabbit.connection.AbstractConnectionFactory.connect(AbstractConnectionFactory.java:616) + at org.springframework.amqp.rabbit.connection.AbstractConnectionFactory.createBareConnection(AbstractConnectionFactory.java:566) + ... 51 common frames omitted +11:04:57.044 [com.alibaba.nacos.client.naming.updater] INFO c.a.n.client.naming - [processServiceJson,232] []- new ips(1) service: DEFAULT_GROUP@@qiuguo-iot-box-websocket@@DEFAULT -> [{"instanceId":"127.0.0.1#8080#DEFAULT#DEFAULT_GROUP@@qiuguo-iot-box-websocket","ip":"127.0.0.1","port":8080,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@qiuguo-iot-box-websocket","metadata":{"preserved.register.source":"SPRING_CLOUD"},"instanceHeartBeatInterval":5000,"instanceHeartBeatTimeOut":15000,"ipDeleteTimeout":30000}] +11:04:57.045 [com.alibaba.nacos.client.naming.updater] INFO c.a.n.client.naming - [processServiceJson,271] []- current ips:(3) service: DEFAULT_GROUP@@qiuguo-iot-box-websocket@@DEFAULT -> [{"instanceId":"172.31.133.185#8080#DEFAULT#DEFAULT_GROUP@@qiuguo-iot-box-websocket","ip":"172.31.133.185","port":8080,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@qiuguo-iot-box-websocket","metadata":{"preserved.register.source":"SPRING_CLOUD"},"instanceHeartBeatInterval":5000,"instanceHeartBeatTimeOut":15000,"ipDeleteTimeout":30000},{"instanceId":"127.0.0.1#8080#DEFAULT#DEFAULT_GROUP@@qiuguo-iot-box-websocket","ip":"127.0.0.1","port":8080,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@qiuguo-iot-box-websocket","metadata":{"preserved.register.source":"SPRING_CLOUD"},"instanceHeartBeatInterval":5000,"instanceHeartBeatTimeOut":15000,"ipDeleteTimeout":30000},{"instanceId":"172.27.48.1#8080#DEFAULT#DEFAULT_GROUP@@qiuguo-iot-box-websocket","ip":"172.27.48.1","port":8080,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@qiuguo-iot-box-websocket","metadata":{"preserved.register.source":"SPRING_CLOUD"},"instanceHeartBeatInterval":5000,"instanceHeartBeatTimeOut":15000,"ipDeleteTimeout":30000}] diff --git a/logs/iot-box-websocket-api/warn.log b/logs/iot-box-websocket-api/warn.log index 5398000..e8b1e7b 100644 --- a/logs/iot-box-websocket-api/warn.log +++ b/logs/iot-box-websocket-api/warn.log @@ -265,3 +265,174 @@ 10:54:45.779 [reactor-tcp-nio-3] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`device_id` = ? limit ?,? 10:54:45.780 [reactor-tcp-nio-3] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),4(Long),0(Integer),1(Integer) 10:54:45.780 [reactor-tcp-nio-3] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`device_id` = 4 limit 0,1 +11:04:50.472 [background-preinit] INFO o.h.v.i.util.Version - [,21] - HV000001: Hibernate Validator 6.2.5.Final +11:04:50.950 [main] WARN c.a.c.n.c.NacosPropertySourceBuilder - [loadNacosData,87] - Ignore the empty nacos configuration and get it based on dataId[qiuguo-iot-box-websocket] & group[DEFAULT_GROUP] +11:04:50.961 [main] WARN c.a.c.n.c.NacosPropertySourceBuilder - [loadNacosData,87] - Ignore the empty nacos configuration and get it based on dataId[qiuguo-iot-box-websocket-dev.yml] & group[DEFAULT_GROUP] +11:04:50.962 [main] INFO o.s.c.b.c.PropertySourceBootstrapConfiguration - [doInitialize,134] - Located property source: [BootstrapPropertySource {name='bootstrapProperties-qiuguo-iot-box-websocket-dev.yml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-qiuguo-iot-box-websocket.yml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-qiuguo-iot-box-websocket,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-application-dev.yml,DEFAULT_GROUP'}] +11:04:50.984 [main] INFO c.q.i.b.w.a.IotBoxWebsocketApplication - [logStartupProfileInfo,637] []- The following 1 profile is active: "dev" +11:04:51.806 [main] INFO o.s.d.r.c.RepositoryConfigurationDelegate - [multipleStoresDetected,262] []- Multiple Spring Data modules found, entering strict repository configuration mode +11:04:51.808 [main] INFO o.s.d.r.c.RepositoryConfigurationDelegate - [registerRepositoriesIn,132] []- Bootstrapping Spring Data R2DBC repositories in DEFAULT mode. +11:04:51.817 [main] INFO o.s.d.r.c.RepositoryConfigurationDelegate - [registerRepositoriesIn,201] []- Finished Spring Data repository scanning in 4 ms. Found 0 R2DBC repository interfaces. +11:04:51.826 [main] INFO o.s.d.r.c.RepositoryConfigurationDelegate - [multipleStoresDetected,262] []- Multiple Spring Data modules found, entering strict repository configuration mode +11:04:51.827 [main] INFO o.s.d.r.c.RepositoryConfigurationDelegate - [registerRepositoriesIn,132] []- Bootstrapping Spring Data Redis repositories in DEFAULT mode. +11:04:51.835 [main] INFO o.s.d.r.c.RepositoryConfigurationDelegate - [registerRepositoriesIn,201] []- Finished Spring Data repository scanning in 0 ms. Found 0 Redis repository interfaces. +11:04:52.102 [main] INFO o.s.c.c.s.GenericScope - [setSerializationId,283] []- BeanFactory id=455209d6-5bf4-3323-a7af-a2beadd73ae3 +11:04:52.235 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'org.hswebframework.web.datasource.AopDataSourceSwitcherAutoConfiguration' of type [org.hswebframework.web.datasource.AopDataSourceSwitcherAutoConfiguration$$EnhancerBySpringCGLIB$$5e0322b] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +11:04:52.248 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'org.springframework.cloud.commons.config.CommonsConfigAutoConfiguration' of type [org.springframework.cloud.commons.config.CommonsConfigAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +11:04:52.249 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'org.springframework.cloud.client.loadbalancer.LoadBalancerDefaultMappingsProviderAutoConfiguration' of type [org.springframework.cloud.client.loadbalancer.LoadBalancerDefaultMappingsProviderAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +11:04:52.250 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'loadBalancerClientsDefaultsMappingsProvider' of type [org.springframework.cloud.client.loadbalancer.LoadBalancerDefaultMappingsProviderAutoConfiguration$$Lambda$447/683573228] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +11:04:52.251 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'defaultsBindHandlerAdvisor' of type [org.springframework.cloud.commons.config.DefaultsBindHandlerAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +11:04:52.254 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'expressionDataSourceSwitchStrategyMatcher' of type [org.hswebframework.web.datasource.strategy.ExpressionDataSourceSwitchStrategyMatcher] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +11:04:52.255 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'annotationDataSourceSwitchStrategyMatcher' of type [org.hswebframework.web.datasource.strategy.AnnotationDataSourceSwitchStrategyMatcher] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +11:04:52.258 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'alwaysNoMatchStrategyMatcher' of type [org.hswebframework.web.datasource.AopDataSourceSwitcherAutoConfiguration$1] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +11:04:52.259 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'switcherMethodMatcherPointcutAdvisor' of type [org.hswebframework.web.datasource.AopDataSourceSwitcherAutoConfiguration$SwitcherMethodMatcherPointcutAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +11:04:52.261 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'org.hswebframework.web.authorization.simple.DefaultAuthorizationAutoConfiguration' of type [org.hswebframework.web.authorization.simple.DefaultAuthorizationAutoConfiguration$$EnhancerBySpringCGLIB$$6082623d] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +11:04:52.297 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'easyorm-org.hswebframework.web.crud.configuration.EasyormProperties' of type [org.hswebframework.web.crud.configuration.EasyormProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +11:04:52.298 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'org.hswebframework.web.crud.configuration.EasyormConfiguration' of type [org.hswebframework.web.crud.configuration.EasyormConfiguration$$EnhancerBySpringCGLIB$$2f6f3159] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +11:04:52.302 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'org.hswebframework.web.crud.configuration.R2dbcSqlExecutorConfiguration' of type [org.hswebframework.web.crud.configuration.R2dbcSqlExecutorConfiguration$$EnhancerBySpringCGLIB$$2ffc50c7] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +11:04:52.314 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'org.springframework.boot.autoconfigure.r2dbc.ConnectionFactoryConfigurations$PoolConfiguration$PooledConnectionFactoryConfiguration' of type [org.springframework.boot.autoconfigure.r2dbc.ConnectionFactoryConfigurations$PoolConfiguration$PooledConnectionFactoryConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +11:04:52.317 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'spring.r2dbc-org.springframework.boot.autoconfigure.r2dbc.R2dbcProperties' of type [org.springframework.boot.autoconfigure.r2dbc.R2dbcProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +11:04:52.381 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'connectionFactory' of type [io.r2dbc.pool.ConnectionPool] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +11:04:52.384 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'reactiveSqlExecutor' of type [org.hswebframework.web.crud.sql.DefaultR2dbcExecutor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +11:04:52.415 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'syncSqlExecutor' of type [org.hswebframework.ezorm.rdb.executor.reactive.ReactiveSyncSqlExecutor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +11:04:52.453 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'databaseMetadata' of type [org.hswebframework.ezorm.rdb.metadata.RDBDatabaseMetadata] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +11:04:52.463 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'org.hswebframework.web.datasource.DynamicDataSourceAutoConfiguration' of type [org.hswebframework.web.datasource.DynamicDataSourceAutoConfiguration$$EnhancerBySpringCGLIB$$d46a6c2f] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +11:04:52.763 [main] INFO c.q.i.d.s.s.SystemTalkAnswerConfigService - [initGroup,44] []- 初始化自定义回答缓存数据 +11:04:52.830 [main] INFO c.t.c.s.c.ConnectorFactoryBean - [registerErrorProcessor,80] []- register processor for error code: 1010 +11:04:53.498 [reactor-tcp-nio-2] DEBUG o.h.e.c.m.AbstractSchemaMetadata - [lambda$loadMetadataReactive$3,110] []- reactive load table [system_talk_answer_config] metadata ,use parser:MysqlTableMetadataParser +11:04:53.515 [reactor-tcp-nio-2] DEBUG o.h.e.r.s.c.RDBTableMetadataParser - [printSql,39] []- ==> Preparing: select count(1) as 'total' from information_schema.`TABLES` where table_schema=? and table_name=? +11:04:53.516 [reactor-tcp-nio-2] DEBUG o.h.e.r.s.c.RDBTableMetadataParser - [printSql,41] []- ==> Parameters: qiuguo_iot(String),system_talk_answer_config(String) +11:04:53.516 [reactor-tcp-nio-2] DEBUG o.h.e.r.s.c.RDBTableMetadataParser - [printSql,43] []- ==> Native: select count(1) as 'total' from information_schema.`TABLES` where table_schema='qiuguo_iot' and table_name='system_talk_answer_config' +11:04:53.548 [reactor-tcp-nio-2] DEBUG o.h.e.r.s.c.RDBTableMetadataParser - [printSql,39] []- ==> Preparing: select column_name as `name`, data_type as `data_type`, character_maximum_length as `data_length`, numeric_precision as `data_precision`, numeric_scale as `data_scale`, column_comment as `comment`, table_name as `table_name`, case when is_nullable='YES' then 0 else 1 end as 'not_null' from information_schema.columns where table_schema=? and table_name like ? +11:04:53.549 [reactor-tcp-nio-2] DEBUG o.h.e.r.s.c.RDBTableMetadataParser - [printSql,41] []- ==> Parameters: qiuguo_iot(String),system_talk_answer_config(String) +11:04:53.549 [reactor-tcp-nio-2] DEBUG o.h.e.r.s.c.RDBTableMetadataParser - [printSql,43] []- ==> Native: select column_name as `name`, data_type as `data_type`, character_maximum_length as `data_length`, numeric_precision as `data_precision`, numeric_scale as `data_scale`, column_comment as `comment`, table_name as `table_name`, case when is_nullable='YES' then 0 else 1 end as 'not_null' from information_schema.columns where table_schema='qiuguo_iot' and table_name like 'system_talk_answer_config' +11:04:53.551 [reactor-tcp-nio-2] DEBUG o.h.e.r.s.c.RDBTableMetadataParser - [printSql,39] []- ==> Preparing: select table_comment as `comment` ,table_name as `table_name` from information_schema.tables where table_schema=? and table_name like ? +11:04:53.551 [reactor-tcp-nio-2] DEBUG o.h.e.r.s.c.RDBTableMetadataParser - [printSql,41] []- ==> Parameters: qiuguo_iot(String),system_talk_answer_config(String) +11:04:53.552 [reactor-tcp-nio-2] DEBUG o.h.e.r.s.c.RDBTableMetadataParser - [printSql,43] []- ==> Native: select table_comment as `comment` ,table_name as `table_name` from information_schema.tables where table_schema='qiuguo_iot' and table_name like 'system_talk_answer_config' +11:04:53.553 [reactor-tcp-nio-2] DEBUG o.h.e.r.s.c.RDBTableMetadataParser - [printSql,39] []- ==> Preparing: SELECT * FROM INFORMATION_SCHEMA.STATISTICS WHERE TABLE_SCHEMA = ? and TABLE_NAME like ? +11:04:53.553 [reactor-tcp-nio-2] DEBUG o.h.e.r.s.c.RDBTableMetadataParser - [printSql,41] []- ==> Parameters: qiuguo_iot(String),system_talk_answer_config(String) +11:04:53.554 [reactor-tcp-nio-2] DEBUG o.h.e.r.s.c.RDBTableMetadataParser - [printSql,43] []- ==> Native: SELECT * FROM INFORMATION_SCHEMA.STATISTICS WHERE TABLE_SCHEMA = 'qiuguo_iot' and TABLE_NAME like 'system_talk_answer_config' +11:04:53.595 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkAnswerConfigEntity - [printSql,39] []- ==> Preparing: select system_talk_answer_config.`id` as `id` , system_talk_answer_config.`is_delete` as `isDelete` , system_talk_answer_config.`create_time` as `createTime` , system_talk_answer_config.`modify_time` as `modifyTime` , system_talk_answer_config.`user_id` as `userId` , system_talk_answer_config.`ask_key` as `askKey` , system_talk_answer_config.`answer_value` as `answerValue` , system_talk_answer_config.`answer_value_faild` as `answerValueFaild` , system_talk_answer_config.`answer_action` as `answerAction` , system_talk_answer_config.`answer_action_faild` as `answerActionFaild` , system_talk_answer_config.`answer_back_sound` as `answerBackSound` , system_talk_answer_config.`answer_back_img` as `answerBackImg` , system_talk_answer_config.`key_order` as `keyOrder` , system_talk_answer_config.`answer_type` as `answerType` , system_talk_answer_config.`play_type` as `playType` from qiuguo_iot.system_talk_answer_config system_talk_answer_config where system_talk_answer_config.`is_delete` = ? limit ?,? +11:04:53.596 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkAnswerConfigEntity - [printSql,41] []- ==> Parameters: 0(Integer),0(Integer),1000(Integer) +11:04:53.596 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkAnswerConfigEntity - [printSql,43] []- ==> Native: select system_talk_answer_config.`id` as `id` , system_talk_answer_config.`is_delete` as `isDelete` , system_talk_answer_config.`create_time` as `createTime` , system_talk_answer_config.`modify_time` as `modifyTime` , system_talk_answer_config.`user_id` as `userId` , system_talk_answer_config.`ask_key` as `askKey` , system_talk_answer_config.`answer_value` as `answerValue` , system_talk_answer_config.`answer_value_faild` as `answerValueFaild` , system_talk_answer_config.`answer_action` as `answerAction` , system_talk_answer_config.`answer_action_faild` as `answerActionFaild` , system_talk_answer_config.`answer_back_sound` as `answerBackSound` , system_talk_answer_config.`answer_back_img` as `answerBackImg` , system_talk_answer_config.`key_order` as `keyOrder` , system_talk_answer_config.`answer_type` as `answerType` , system_talk_answer_config.`play_type` as `playType` from qiuguo_iot.system_talk_answer_config system_talk_answer_config where system_talk_answer_config.`is_delete` = 0 limit 0,1000 +11:04:53.695 [reactor-tcp-nio-2] INFO c.q.i.d.s.s.SystemTalkAnswerConfigService - [lambda$initGroup$1,53] []- 配置最多读取1000条,实际读取了60条自定义回答指令 +11:04:54.213 [main] INFO o.h.w.s.i.I18nConfiguration - [autoResolveI18nMessageSource,42] []- register i18n message resource i18n/commons/messages_en.properties -> messages +11:04:54.213 [main] INFO o.h.w.s.i.I18nConfiguration - [autoResolveI18nMessageSource,42] []- register i18n message resource i18n/commons/messages_zh.properties -> messages +11:04:54.213 [main] INFO o.h.w.s.i.I18nConfiguration - [autoResolveI18nMessageSource,42] []- register i18n message resource i18n/authentication/messages_en.properties -> messages +11:04:54.214 [main] INFO o.h.w.s.i.I18nConfiguration - [autoResolveI18nMessageSource,42] []- register i18n message resource i18n/authentication/messages_zh.properties -> messages +11:04:54.214 [main] INFO o.h.w.s.i.I18nConfiguration - [autoResolveI18nMessageSource,42] []- register i18n message resource i18n/core/messages_en.properties -> messages +11:04:54.214 [main] INFO o.h.w.s.i.I18nConfiguration - [autoResolveI18nMessageSource,42] []- register i18n message resource i18n/core/messages_zh.properties -> messages +11:04:54.214 [main] INFO o.h.w.s.i.I18nConfiguration - [autoResolveI18nMessageSource,42] []- register i18n message resource i18n/authentication-default/messages_en.properties -> messages +11:04:54.214 [main] INFO o.h.w.s.i.I18nConfiguration - [autoResolveI18nMessageSource,42] []- register i18n message resource i18n/authentication-default/messages_zh.properties -> messages +11:04:54.599 [main] INFO c.a.n.client.naming - [call,65] []- initializer namespace from System Property :null +11:04:54.600 [main] INFO c.a.n.client.naming - [call,74] []- initializer namespace from System Environment :null +11:04:54.601 [main] INFO c.a.n.client.naming - [call,84] []- initializer namespace from System Property :null +11:04:54.758 [main] INFO o.s.b.a.e.w.EndpointLinksResolver - [,58] []- Exposing 18 endpoint(s) beneath base path '/actuator' +11:04:55.977 [main] INFO c.a.n.client.naming - [processServiceJson,232] []- new ips(2) service: DEFAULT_GROUP@@qiuguo-iot-box-websocket@@DEFAULT -> [{"instanceId":"172.31.133.185#8080#DEFAULT#DEFAULT_GROUP@@qiuguo-iot-box-websocket","ip":"172.31.133.185","port":8080,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@qiuguo-iot-box-websocket","metadata":{"preserved.register.source":"SPRING_CLOUD"},"instanceHeartBeatInterval":5000,"instanceHeartBeatTimeOut":15000,"ipDeleteTimeout":30000},{"instanceId":"172.27.48.1#8080#DEFAULT#DEFAULT_GROUP@@qiuguo-iot-box-websocket","ip":"172.27.48.1","port":8080,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@qiuguo-iot-box-websocket","metadata":{"preserved.register.source":"SPRING_CLOUD"},"instanceHeartBeatInterval":5000,"instanceHeartBeatTimeOut":15000,"ipDeleteTimeout":30000}] +11:04:55.984 [main] INFO c.a.n.client.naming - [processServiceJson,271] []- current ips:(2) service: DEFAULT_GROUP@@qiuguo-iot-box-websocket@@DEFAULT -> [{"instanceId":"172.31.133.185#8080#DEFAULT#DEFAULT_GROUP@@qiuguo-iot-box-websocket","ip":"172.31.133.185","port":8080,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@qiuguo-iot-box-websocket","metadata":{"preserved.register.source":"SPRING_CLOUD"},"instanceHeartBeatInterval":5000,"instanceHeartBeatTimeOut":15000,"ipDeleteTimeout":30000},{"instanceId":"172.27.48.1#8080#DEFAULT#DEFAULT_GROUP@@qiuguo-iot-box-websocket","ip":"172.27.48.1","port":8080,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@qiuguo-iot-box-websocket","metadata":{"preserved.register.source":"SPRING_CLOUD"},"instanceHeartBeatInterval":5000,"instanceHeartBeatTimeOut":15000,"ipDeleteTimeout":30000}] +11:04:55.999 [main] INFO o.s.b.w.e.n.NettyWebServer - [start,111] []- Netty started on port 8080 +11:04:56.004 [main] INFO c.a.n.client.naming - [addBeatInfo,81] []- [BEAT] adding beat: BeatInfo{port=8080, ip='127.0.0.1', weight=1.0, serviceName='DEFAULT_GROUP@@qiuguo-iot-box-websocket', cluster='DEFAULT', metadata={preserved.register.source=SPRING_CLOUD}, scheduled=false, period=5000, stopped=false} to beat map. +11:04:56.005 [main] INFO c.a.n.client.naming - [registerService,230] []- [REGISTER-SERVICE] public registering service DEFAULT_GROUP@@qiuguo-iot-box-websocket with instance: Instance{instanceId='null', ip='127.0.0.1', port=8080, weight=1.0, healthy=true, enabled=true, ephemeral=true, clusterName='DEFAULT', serviceName='null', metadata={preserved.register.source=SPRING_CLOUD}} +11:04:56.008 [main] INFO c.a.c.n.r.NacosServiceRegistry - [register,75] []- nacos registry, DEFAULT_GROUP qiuguo-iot-box-websocket 127.0.0.1:8080 register finished +11:04:56.024 [main] INFO c.q.i.b.w.a.IotBoxWebsocketApplication - [logStarted,61] []- Started IotBoxWebsocketApplication in 6.005 seconds (JVM running for 6.709) +11:04:56.028 [main] DEBUG o.h.e.c.m.AbstractSchemaMetadata - [lambda$loadMetadata$2,94] []- load table metadata s_system ,use parser:MysqlTableMetadataParser +11:04:56.037 [reactor-tcp-nio-2] DEBUG o.h.e.r.e.r.r.R2dbcReactiveSqlExecutor - [printSql,39] []- ==> Preparing: select count(1) as 'total' from information_schema.`TABLES` where table_schema=? and table_name=? +11:04:56.037 [reactor-tcp-nio-2] DEBUG o.h.e.r.e.r.r.R2dbcReactiveSqlExecutor - [printSql,41] []- ==> Parameters: qiuguo_iot(String),s_system(String) +11:04:56.037 [reactor-tcp-nio-2] DEBUG o.h.e.r.e.r.r.R2dbcReactiveSqlExecutor - [printSql,43] []- ==> Native: select count(1) as 'total' from information_schema.`TABLES` where table_schema='qiuguo_iot' and table_name='s_system' +11:04:56.052 [reactor-tcp-nio-2] DEBUG o.h.e.r.e.r.r.R2dbcReactiveSqlExecutor - [printSql,39] []- ==> Preparing: select column_name as `name`, data_type as `data_type`, character_maximum_length as `data_length`, numeric_precision as `data_precision`, numeric_scale as `data_scale`, column_comment as `comment`, table_name as `table_name`, case when is_nullable='YES' then 0 else 1 end as 'not_null' from information_schema.columns where table_schema=? and table_name like ? +11:04:56.052 [reactor-tcp-nio-2] DEBUG o.h.e.r.e.r.r.R2dbcReactiveSqlExecutor - [printSql,41] []- ==> Parameters: qiuguo_iot(String),s_system(String) +11:04:56.052 [reactor-tcp-nio-2] DEBUG o.h.e.r.e.r.r.R2dbcReactiveSqlExecutor - [printSql,43] []- ==> Native: select column_name as `name`, data_type as `data_type`, character_maximum_length as `data_length`, numeric_precision as `data_precision`, numeric_scale as `data_scale`, column_comment as `comment`, table_name as `table_name`, case when is_nullable='YES' then 0 else 1 end as 'not_null' from information_schema.columns where table_schema='qiuguo_iot' and table_name like 's_system' +11:04:56.069 [reactor-tcp-nio-2] DEBUG o.h.e.r.e.r.r.R2dbcReactiveSqlExecutor - [printSql,39] []- ==> Preparing: select table_comment as `comment` ,table_name as `table_name` from information_schema.tables where table_schema=? and table_name like ? +11:04:56.070 [reactor-tcp-nio-2] DEBUG o.h.e.r.e.r.r.R2dbcReactiveSqlExecutor - [printSql,41] []- ==> Parameters: qiuguo_iot(String),s_system(String) +11:04:56.070 [reactor-tcp-nio-2] DEBUG o.h.e.r.e.r.r.R2dbcReactiveSqlExecutor - [printSql,43] []- ==> Native: select table_comment as `comment` ,table_name as `table_name` from information_schema.tables where table_schema='qiuguo_iot' and table_name like 's_system' +11:04:56.084 [reactor-tcp-nio-2] DEBUG o.h.e.r.e.r.r.R2dbcReactiveSqlExecutor - [printSql,39] []- ==> Preparing: SELECT * FROM INFORMATION_SCHEMA.STATISTICS WHERE TABLE_SCHEMA = ? and TABLE_NAME like ? +11:04:56.085 [reactor-tcp-nio-2] DEBUG o.h.e.r.e.r.r.R2dbcReactiveSqlExecutor - [printSql,41] []- ==> Parameters: qiuguo_iot(String),s_system(String) +11:04:56.085 [reactor-tcp-nio-2] DEBUG o.h.e.r.e.r.r.R2dbcReactiveSqlExecutor - [printSql,43] []- ==> Native: SELECT * FROM INFORMATION_SCHEMA.STATISTICS WHERE TABLE_SCHEMA = 'qiuguo_iot' and TABLE_NAME like 's_system' +11:04:56.114 [reactor-tcp-nio-2] DEBUG o.h.e.r.e.r.r.R2dbcReactiveSqlExecutor - [printSql,39] []- ==> Preparing: select s_system.`framework_version` as `frameworkVersion` , s_system.`website` as `website` , s_system.`major_version` as `majorVersion` , s_system.`name` as `name` , s_system.`revision_version` as `revisionVersion` , s_system.`comment` as `comment` , s_system.`dependencies` as `dependencies` , s_system.`minor_version` as `minorVersion` from qiuguo_iot.s_system s_system where s_system.`name` = ? limit ?,? +11:04:56.114 [reactor-tcp-nio-2] DEBUG o.h.e.r.e.r.r.R2dbcReactiveSqlExecutor - [printSql,41] []- ==> Parameters: default(String),0(Integer),1(Integer) +11:04:56.114 [reactor-tcp-nio-2] DEBUG o.h.e.r.e.r.r.R2dbcReactiveSqlExecutor - [printSql,43] []- ==> Native: select s_system.`framework_version` as `frameworkVersion` , s_system.`website` as `website` , s_system.`major_version` as `majorVersion` , s_system.`name` as `name` , s_system.`revision_version` as `revisionVersion` , s_system.`comment` as `comment` , s_system.`dependencies` as `dependencies` , s_system.`minor_version` as `minorVersion` from qiuguo_iot.s_system s_system where s_system.`name` = 'default' limit 0,1 +11:04:56.243 [reactor-tcp-nio-2] DEBUG o.h.e.r.e.r.r.R2dbcReactiveSqlExecutor - [printSql,39] []- ==> Preparing: update qiuguo_iot.s_system set `framework_version` = ? , `website` = ? , `major_version` = ? , `name` = ? , `revision_version` = ? , `dependencies` = ? , `minor_version` = ? where `name` = ? +11:04:56.243 [reactor-tcp-nio-2] DEBUG o.h.e.r.e.r.r.R2dbcReactiveSqlExecutor - [printSql,41] []- ==> Parameters: {"name":"hsweb framework","comment":"","website":"http://www.hsweb.io","majorVersion":4,"minorVersion":0,"revisionVersion":0,"snapshot":true}(String),(String),1(Integer),default(String),0(Integer),[](String),0(Integer),default(String) +11:04:56.243 [reactor-tcp-nio-2] DEBUG o.h.e.r.e.r.r.R2dbcReactiveSqlExecutor - [printSql,43] []- ==> Native: update qiuguo_iot.s_system set `framework_version` = '{"name":"hsweb framework","comment":"","website":"http://www.hsweb.io","majorVersion":4,"minorVersion":0,"revisionVersion":0,"snapshot":true}' , `website` = '' , `major_version` = 1 , `name` = 'default' , `revision_version` = 0 , `dependencies` = '[]' , `minor_version` = 0 where `name` = 'default' +11:04:56.248 [reactor-tcp-nio-2] DEBUG o.h.e.r.e.r.r.R2dbcReactiveSqlExecutor - [lambda$null$7,130] []- ==> Updated: 1 +11:04:56.256 [main] INFO c.a.n.c.c.i.ClientWorker - [addCacheDataIfAbsent,169] []- [fixed-192.168.8.146_32470] [subscribe] qiuguo-iot-box-websocket.yml+DEFAULT_GROUP +11:04:56.257 [main] INFO c.a.n.c.c.i.CacheData - [addListener,92] []- [fixed-192.168.8.146_32470] [add-listener] ok, tenant=, dataId=qiuguo-iot-box-websocket.yml, group=DEFAULT_GROUP, cnt=1 +11:04:56.257 [main] INFO c.a.c.n.r.NacosContextRefresher - [registerNacosListenersForApplications,105] []- listening config: dataId=qiuguo-iot-box-websocket.yml, group=DEFAULT_GROUP +11:04:56.257 [main] INFO c.a.n.c.c.i.ClientWorker - [addCacheDataIfAbsent,169] []- [fixed-192.168.8.146_32470] [subscribe] qiuguo-iot-box-websocket-dev.yml+DEFAULT_GROUP +11:04:56.257 [main] INFO c.a.n.c.c.i.CacheData - [addListener,92] []- [fixed-192.168.8.146_32470] [add-listener] ok, tenant=, dataId=qiuguo-iot-box-websocket-dev.yml, group=DEFAULT_GROUP, cnt=1 +11:04:56.257 [main] INFO c.a.c.n.r.NacosContextRefresher - [registerNacosListenersForApplications,105] []- listening config: dataId=qiuguo-iot-box-websocket-dev.yml, group=DEFAULT_GROUP +11:04:56.258 [main] INFO c.a.n.c.c.i.ClientWorker - [addCacheDataIfAbsent,169] []- [fixed-192.168.8.146_32470] [subscribe] qiuguo-iot-box-websocket+DEFAULT_GROUP +11:04:56.258 [main] INFO c.a.n.c.c.i.CacheData - [addListener,92] []- [fixed-192.168.8.146_32470] [add-listener] ok, tenant=, dataId=qiuguo-iot-box-websocket, group=DEFAULT_GROUP, cnt=1 +11:04:56.258 [main] INFO c.a.c.n.r.NacosContextRefresher - [registerNacosListenersForApplications,105] []- listening config: dataId=qiuguo-iot-box-websocket, group=DEFAULT_GROUP +11:04:56.603 [RMI TCP Connection(2)-127.0.0.1] INFO o.s.a.r.c.CachingConnectionFactory - [connectAddresses,639] []- Attempting to connect to: [localhost:5672] +11:04:56.610 [RMI TCP Connection(2)-127.0.0.1] WARN o.s.b.a.a.RabbitHealthIndicator - [logExceptionIfPresent,94] []- Rabbit health check failed +org.springframework.amqp.AmqpConnectException: java.net.ConnectException: Connection refused (Connection refused) + at org.springframework.amqp.rabbit.support.RabbitExceptionTranslator.convertRabbitAccessException(RabbitExceptionTranslator.java:61) + at org.springframework.amqp.rabbit.connection.AbstractConnectionFactory.createBareConnection(AbstractConnectionFactory.java:603) + at org.springframework.amqp.rabbit.connection.CachingConnectionFactory.createConnection(CachingConnectionFactory.java:725) + at org.springframework.amqp.rabbit.connection.ConnectionFactoryUtils.createConnection(ConnectionFactoryUtils.java:252) + at org.springframework.amqp.rabbit.core.RabbitTemplate.doExecute(RabbitTemplate.java:2210) + at org.springframework.amqp.rabbit.core.RabbitTemplate.execute(RabbitTemplate.java:2183) + at org.springframework.amqp.rabbit.core.RabbitTemplate.execute(RabbitTemplate.java:2163) + at org.springframework.boot.actuate.amqp.RabbitHealthIndicator.getVersion(RabbitHealthIndicator.java:49) + at org.springframework.boot.actuate.amqp.RabbitHealthIndicator.doHealthCheck(RabbitHealthIndicator.java:44) + at org.springframework.boot.actuate.health.AbstractHealthIndicator.health(AbstractHealthIndicator.java:82) + at org.springframework.boot.actuate.health.HealthIndicator.getHealth(HealthIndicator.java:37) + at org.springframework.boot.actuate.health.HealthEndpoint.getHealth(HealthEndpoint.java:94) + at org.springframework.boot.actuate.health.HealthEndpoint.getHealth(HealthEndpoint.java:41) + at org.springframework.boot.actuate.health.HealthEndpointSupport.getLoggedHealth(HealthEndpointSupport.java:172) + at org.springframework.boot.actuate.health.HealthEndpointSupport.getContribution(HealthEndpointSupport.java:145) + at org.springframework.boot.actuate.health.HealthEndpointSupport.getAggregateContribution(HealthEndpointSupport.java:156) + at org.springframework.boot.actuate.health.HealthEndpointSupport.getContribution(HealthEndpointSupport.java:141) + at org.springframework.boot.actuate.health.HealthEndpointSupport.getHealth(HealthEndpointSupport.java:110) + at org.springframework.boot.actuate.health.HealthEndpointSupport.getHealth(HealthEndpointSupport.java:81) + at org.springframework.boot.actuate.health.HealthEndpoint.health(HealthEndpoint.java:88) + at org.springframework.boot.actuate.health.HealthEndpoint.health(HealthEndpoint.java:78) + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.lang.reflect.Method.invoke(Method.java:498) + at org.springframework.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:282) + at org.springframework.boot.actuate.endpoint.invoke.reflect.ReflectiveOperationInvoker.invoke(ReflectiveOperationInvoker.java:74) + at org.springframework.boot.actuate.endpoint.annotation.AbstractDiscoveredOperation.invoke(AbstractDiscoveredOperation.java:60) + at org.springframework.boot.actuate.endpoint.jmx.EndpointMBean.invoke(EndpointMBean.java:124) + at org.springframework.boot.actuate.endpoint.jmx.EndpointMBean.invoke(EndpointMBean.java:97) + at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819) + at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801) + at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1468) + at javax.management.remote.rmi.RMIConnectionImpl.access$300(RMIConnectionImpl.java:76) + at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1309) + at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1401) + at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:829) + at sun.reflect.GeneratedMethodAccessor54.invoke(Unknown Source) + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.lang.reflect.Method.invoke(Method.java:498) + at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:357) + at sun.rmi.transport.Transport$1.run(Transport.java:200) + at sun.rmi.transport.Transport$1.run(Transport.java:197) + at java.security.AccessController.doPrivileged(Native Method) + at sun.rmi.transport.Transport.serviceCall(Transport.java:196) + at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:573) + at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:834) + at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:688) + at java.security.AccessController.doPrivileged(Native Method) + at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:687) + at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) + at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) + at java.lang.Thread.run(Thread.java:750) +Caused by: java.net.ConnectException: Connection refused (Connection refused) + at java.net.PlainSocketImpl.socketConnect(Native Method) + at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:476) + at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:218) + at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:200) + at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:394) + at java.net.Socket.connect(Socket.java:606) + at com.rabbitmq.client.impl.SocketFrameHandlerFactory.create(SocketFrameHandlerFactory.java:62) + at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:1234) + at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:1184) + at org.springframework.amqp.rabbit.connection.AbstractConnectionFactory.connectAddresses(AbstractConnectionFactory.java:641) + at org.springframework.amqp.rabbit.connection.AbstractConnectionFactory.connect(AbstractConnectionFactory.java:616) + at org.springframework.amqp.rabbit.connection.AbstractConnectionFactory.createBareConnection(AbstractConnectionFactory.java:566) + ... 51 common frames omitted +11:04:57.044 [com.alibaba.nacos.client.naming.updater] INFO c.a.n.client.naming - [processServiceJson,232] []- new ips(1) service: DEFAULT_GROUP@@qiuguo-iot-box-websocket@@DEFAULT -> [{"instanceId":"127.0.0.1#8080#DEFAULT#DEFAULT_GROUP@@qiuguo-iot-box-websocket","ip":"127.0.0.1","port":8080,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@qiuguo-iot-box-websocket","metadata":{"preserved.register.source":"SPRING_CLOUD"},"instanceHeartBeatInterval":5000,"instanceHeartBeatTimeOut":15000,"ipDeleteTimeout":30000}] +11:04:57.045 [com.alibaba.nacos.client.naming.updater] INFO c.a.n.client.naming - [processServiceJson,271] []- current ips:(3) service: DEFAULT_GROUP@@qiuguo-iot-box-websocket@@DEFAULT -> [{"instanceId":"172.31.133.185#8080#DEFAULT#DEFAULT_GROUP@@qiuguo-iot-box-websocket","ip":"172.31.133.185","port":8080,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@qiuguo-iot-box-websocket","metadata":{"preserved.register.source":"SPRING_CLOUD"},"instanceHeartBeatInterval":5000,"instanceHeartBeatTimeOut":15000,"ipDeleteTimeout":30000},{"instanceId":"127.0.0.1#8080#DEFAULT#DEFAULT_GROUP@@qiuguo-iot-box-websocket","ip":"127.0.0.1","port":8080,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@qiuguo-iot-box-websocket","metadata":{"preserved.register.source":"SPRING_CLOUD"},"instanceHeartBeatInterval":5000,"instanceHeartBeatTimeOut":15000,"ipDeleteTimeout":30000},{"instanceId":"172.27.48.1#8080#DEFAULT#DEFAULT_GROUP@@qiuguo-iot-box-websocket","ip":"172.27.48.1","port":8080,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@qiuguo-iot-box-websocket","metadata":{"preserved.register.source":"SPRING_CLOUD"},"instanceHeartBeatInterval":5000,"instanceHeartBeatTimeOut":15000,"ipDeleteTimeout":30000}]