Quantcast
Channel: Active questions tagged rest - Stack Overflow
Viewing all articles
Browse latest Browse all 4056

Getting ECONNREFUSED 127.0.0.1:80 error when sending a GET request from FlowXO to GLPI API

$
0
0

I’m trying to send a GET request to the GLPI API. When testing the request in Postman (URL: http://127.0.0.1/apirest.php/), everything works fine, and I get a 200 OK response. Other requests sent through Postman also work without any issues.

enter image description here

However, when I'm in editing mode in Constructor of Telegram bot using FlowXO and add an action ("Webhooks & HTTP") with the same request (http://127.0.0.1/apirest.php/), I encounter a problem. Here’s how I’ve set it up in FlowXO:

Request URL: http://127.0.0.1/apirest.php/Method: GETHeaders: NoneFormat: JSON

enter image description here

When I save and launch the bot, the request fails with the error:

ECONNREFUSED 127.0.0.1:80

enter image description here

The interaction history in FlowXO shows the type as "Is Progress" instead of "Error," which usually indicates a valid URL. Despite that, the request fails. This happens with other requests to the same API as well.

I suspect there might be an issue with how FlowXO is trying to access 127.0.0.1, but I’m unsure how to troubleshoot or fix it.

What could be causing this error, and how can I resolve it?


Viewing all articles
Browse latest Browse all 4056

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>