web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Cannot connect to ASP....
Power Automate
Unanswered

Cannot connect to ASP.Net Core 5.0 API on localhost using Custom Connector and on-Premises Data gateway.

(0) ShareShare
ReportReport
Posted on by

I am creating a custom Connector which is connecting to LocalHost:44324. For this custom connector I am also using On-Premises Data gateway. The connector fails when I am testing the connection I get the following error.

 

Received error payload from gateway service with ID 218662: Substituted: HttpRequestException:<ccon>System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. ---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure. at System.Net.TlsStream.EndWrite(IAsyncResult asyncRes (500).

connector error.png

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Help would be appreciated. Regions of Power automate and on-Premises Data gateway are same.

 

Thanks you

 

 

 

 

Categories:
I have the same question (0)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 251 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 239

#3
Expiscornovus Profile Picture

Expiscornovus 220 Most Valuable Professional

Last 30 days Overall leaderboard