GitHub user kim2yung added a comment to the discussion: I have written one 
service which is importing a JSONfile for monitoring internally

Actually I have made one service which is consuming device ip and send it to 
json generator service (I have made) and after generating JSON file it will hit 
the import api which I have specified in application.yml with 
localhost:1157/api/xxx.

Now, when I start the backend it does not find the server 1157 because it is 
still not fully started, This might be the reason why it's failing.

And when I give the remote hertzbeat url in application.yml it works because 
that remote hertzbeat is up and running on vm.

So, is this approach of importing or hitting api is correct? ( Like hitting own 
api )

I need a solution to resolve this issue.



GitHub link: 
https://github.com/apache/hertzbeat/discussions/3092#discussioncomment-12358624

----
This is an automatically sent email for dev@hertzbeat.apache.org.
To unsubscribe, please send an email to: dev-unsubscr...@hertzbeat.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@hertzbeat.apache.org
For additional commands, e-mail: dev-h...@hertzbeat.apache.org

Reply via email to