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

Notifications

Announcements

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard