I get the following when trying to create a connection to my SharePoint Subscription Edition Farms (prod and dev).

It cannot find the site address, but if you put in the site name, and then go to the drop down menu for SharePoint Library Name, you get:
Could not retrieve values. The dynamic invocation request failed with error: Unexpected error occurred when calling the ApiHubsRuntime API: 'Microsoft.Azure.ProcessSimple.Data.Entities.Exceptions.ProcessSimpleDataException: The ApiHubsRuntime API call failed with http status code 'BadGateway' and response content '{ "error": { "code": 502, "source": "msmanaged-na.azure-apim.net", "clientRequestId": "9aacbcbc-dbf9-4c8d-a6e4-6af3b7027420", "message": "BadGateway", "innerError": { "status": 502, "message": "Received error payload from gateway service with ID 140655: <ccon>An error occurred while sending the request.</ccon>.\r\nclientRequestId: 9aacbcbc-dbf9-4c8d-a6e4-6af3b7027420", "source": "https://sharepointonline-eus.azconn-eus-003.p.azurewebsites.net/datasets/<my url here>/tables", "errors": [] } } }' at Microsoft.Azure.ProcessSimple.Data.DataProviders.HttpClientDataProvider.<>c__DisplayClass47_1`2.<<CallService>b__0>d.MoveNext() in C:\__w\1\s\src\processsimple\Roles\ProcessSimple.Data.Shared\DataProviders\Services\HttpClientDataProvider.cs:line 648 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.WindowsAzure.ResourceStack.Common.Algorithms.AsyncRetry.<Retry>d__3`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult() at Microsoft.Azure.ProcessSimple.Data.DataProviders.HttpClientDataProvider.<CallService>d__47`2.MoveNext() in C:\__w\1\s\src\processsimple\Roles\ProcessSimple.Data.Shared\DataProviders\Services\HttpClientDataProvider.cs:line 493'.
From the Gateway error logs, we get this message when I put in the URL and get the unable to find the site address:
DM.EnterpriseGateway Error: 0 : 2023-12-12T16:59:15.7086242Z DM.EnterpriseGateway ef3af182-709c-4919-b5b1-ad928c8777cf 00000000-0000-0000-0000-000000000000 MDSR 00000000-0000-0000-0000-000000000000 b086e54a-9b31-41f9-9ecf-f7deb8993c5b 2edee660-1e3e-4ed2-b1cc-28b21a9bd6c8 3A0EA094 [DM.Pipeline.ExceptionUtils] EnsureGatewayPipelineException encountered a non-GatewayPipelineException: System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a send. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
Note this is for an existing working flow before we upgraded to Subscription Edition.
I have also:
* Updated the Gateway to the latest version, rebooted systems
* Removed any unnecessary software
* Created NEW connections in Connections in PowerApps
* We are not using a Proxy server
* Switched to HTTP
* Checked name resolution - the gateway can get to the new farms just fine, can connect to the web sites through the browser just fine (so 443 is not blocked)
* Created new Flow, just "When an item is created or modified", and get the same "We are unable to find the site address" error, so it is not existing flows having issues.
Since it is exactly the same sites / same data / same permissions, just migrated to SE, I'm stumped. We are not using proxies and the Gateway can get access to the new farms no problem.
What does work
If I use my old SharePoint 2019 Farms, everything works fine - with the same connectors.
* If I type the DEV farm URL, it works fine with no changes
* If I put the old PROD farm IP's in the HOSTS files of the Gateway, then it works fine again
I even bypassed the VIP and pointed directly to the SharePoint front-end by putting it in the hosts file - and still failed.
Is SharePoint Subscription edition supported for the On-Prem Gateway? Since it all works fine with the 2019 farms, but just the SE farms not working - I am at a loss. As far as I know, there are no settings for this in SharePoint On-Prem at all to make for this to work.