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

添加报警后的错误日志 #140

Closed
wangchaoforever opened this issue May 29, 2023 · 2 comments
Closed

添加报警后的错误日志 #140

wangchaoforever opened this issue May 29, 2023 · 2 comments

Comments

@wangchaoforever
Copy link

版本:1.0-RELEASE

现象:
监控管理=> 监控列表=>添加报警,完成之后,会在日志中定时看到(定时任务1分钟1次)错误日志,如下:

"2023-05-29T17:22:48.002+08:00"	"ERROR"	"com.autohome.frostmourne.monitor.schedule.RemoteTriggerService"	"35"	"java.lang.IllegalArgumentException"	"URI is not absolute"	"error when trigger remote, id: 18"	"com.autohome.frostmourne.monitor.schedule.RemoteTriggerService"	"trigger"	"-"	"-"tech"	"frostmourne"	"frostmourne.monitor"	"-"	"222"	"JobTriggerHelper-fastTriggerPool243311131"	"-"	"127.0.0.1"	"-"	"-"	"-"	"-"java.lang.IllegalArgumentException: URI is not absolute
	at java.net.URI.toURL(URI.java:1088)
	at org.springframework.http.client.SimpleClientHttpRequestFactory.createRequest(SimpleClientHttpRequestFactory.java:145)
	at org.springframework.http.client.support.HttpAccessor.createRequest(HttpAccessor.java:124)
	at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:735)
	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 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:748)
@LittleShrimp1987
Copy link
Collaborator

看下这个配置frostmourne_monitor_address的值,需要配置成带http协议的格式。例如:
http://127.0.0.1:10054

@wangchaoforever
Copy link
Author

按照 http://IP:10054 进行 frostmourne_monitor_address 配置之后确实可以了,感谢。

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

2 participants