Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

监控列表 触发报 HttpClientErrorException$Forbidden: 403 Forbidden 403 Forbidden异常,而但是单次手动触发没问题 #170

Open
yuchen6691 opened this issue Sep 16, 2024 · 0 comments

Comments

@yuchen6691
Copy link

在监控列表 中配置了监控,手动点击“执行一次”是可以处罚告警的,但是无法正常定期自动触发告警,后台报错如下。

"2024-09-16T12:09:24.002+08:00" "WARN" "com.autohome.frostmourne.monitor.schedule.JobScheduleHelper" "84" "-" "-" ">>>>>>>>>>> schedule misfire, alarmId = 7" "com.autohome.frostmourne.monitor.schedule.JobScheduleHelper" "lambda$start$0" "-""
-" "tech" "frostmourne" "frostmourne.monitor" "-" "198" "JobScheduleHelper#scheduleThread" "-" "172.23.0.2" "-" "-" "-" "-" "-"
"2024-09-16T12:09:24.048+08:00" "ERROR" "com.autohome.frostmourne.monitor.schedule.RemoteTriggerService" "35" "org.springframework.web.client.HttpClientErrorException.Forbidden" "403 Forbidden: [error code: 1010]" "error when trigger remote, id: 7" "
com.autohome.frostmourne.monitor.schedule.RemoteTriggerService" "trigger" "-" "-" "tech" "frostmourne" "frostmourne.monitor" "-" "240" "JobTriggerHelper-fastTriggerPool-1260359270" "-" "172.23.0.2" "-" "-" "-" "-" "org
.springframework.web.client.HttpClientErrorException$Forbidden: 403 Forbidden: [error code: 1010]
at org.springframework.web.client.HttpClientErrorException.create(HttpClientErrorException.java:109)
at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:184)
at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:125)
at org.springframework.web.client.ResponseErrorHandler.handleError(ResponseErrorHandler.java:63)
at org.springframework.web.client.RestTemplate.handleResponse(RestTemplate.java:782)
at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:740)
at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:695)
at org.springframework.web.client.RestTemplate.getForObject(RestTemplate.java:324)
at com.autohome.frostmourne.monitor.schedule.RemoteTriggerService.trigger(RemoteTriggerService.java:29)
at com.autohome.frostmourne.monitor.schedule.JobTriggerHelper.lambda$addTask$2(JobTriggerHelper.java:55)
at com.autohome.frostmourne.monitor.schedule.JobTriggerHelper$$Lambda$1203/00000000A8413DF0.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1160)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.lang.Thread.run(Thread.java:820)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant