BadRequest. Http request failed with status code 'ConnectFailure' and status message: 'Unable to connect to the remote server

Sebastien Soum 1 Reputation point
2021-07-20T23:22:23.2+00:00

hi
We have a rest service we are connecting to
when we use PostMan to test this service, we can connect perfectly
But when we setup the same in Logic Apps HTTP request, we're getting a "BadRequest. Http request failed with status code 'ConnectFailure' and status message: 'Unable to connect to the remote server" error

116522-115663-image.png

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
3,340 questions
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. MayankBargali-MSFT 70,826 Reputation points
    2021-07-23T03:59:02.747+00:00

    @Sebastien Soum It looks like where your API is hosted there is restriction might be IP restriction or restricted network where the request is coming will be reject from your remote server.
    If this is the case I will suggest you to verify whether the logic app IP are whitelisted at your API end.


  2. AboorvaRaja Ramar 41 Reputation points
    2021-07-26T01:05:23.99+00:00

    The api is hosted in different region and logic app is hosted in different region. Check with api team where the api url is hosted.

    Create a logicapp using the near by location.

    0 comments No comments

  3. Mateen Rasool 1 Reputation point
    2021-11-29T13:09:02.907+00:00

    @Sebastien Soum
    Hi, do you find the solution of this issue?

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.