You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When hitting the import API on localhost:1157/api/monitors/import , it is giving ERROR.
Also localhost:4200/api/monitors/import gives ERROR.
But when I use to hit "192.163.15.20:4200/api/monitors/import", where 192.163.15.20 is any VM where I am running separate (other) Hertzbeat.
WHY I cant able to hit my localhost API?
Expected Behavior
When I give localhost in api it should get import. (import of JSON file I am doing)
Steps To Reproduce
No response
Environment
HertzBeat version(s):1.6.1
Debug logs
I have used 1157/api/xxx also but the error I am getting is- I/O error on POST request for "http://localhost:1157/api/monitors/import": Failed to connect to localhost/[0:0:0:0:0:0:0:1]:1157
when I use 4200/api/xxx- 504 Gateway Timeout: "Error occurred while trying to proxy: localhost:4200/api/monitors/import"
Anything else?
No response
The text was updated successfully, but these errors were encountered:
@kim2yung
It looks like you’re discussing the same issue in the thread below: #3092
From now on, I’ll try to respond in the discussion channel. Is that okay with you?
By the way, I still don’t fully understand your issue. It would be much easier for people to follow if you included a diagram or some visual explanation.
tomsun28
changed the title
[BUG] When hitting the import API on localhost:1157/api/monitors/import , it is giving ERROR.
[Question] When hitting the import API on localhost:1157/api/monitors/import , it is giving ERROR.
Feb 28, 2025
Is there an existing issue for this?
Current Behavior
When hitting the import API on localhost:1157/api/monitors/import , it is giving ERROR.
Also localhost:4200/api/monitors/import gives ERROR.
But when I use to hit "192.163.15.20:4200/api/monitors/import", where 192.163.15.20 is any VM where I am running separate (other) Hertzbeat.
WHY I cant able to hit my localhost API?
Expected Behavior
When I give localhost in api it should get import. (import of JSON file I am doing)
Steps To Reproduce
No response
Environment
Debug logs
I have used 1157/api/xxx also but the error I am getting is- I/O error on POST request for "http://localhost:1157/api/monitors/import": Failed to connect to localhost/[0:0:0:0:0:0:0:1]:1157
when I use 4200/api/xxx- 504 Gateway Timeout: "Error occurred while trying to proxy: localhost:4200/api/monitors/import"
Anything else?
No response
The text was updated successfully, but these errors were encountered: