No se puede acceder a la puerta de enlace de Power BI detrás del firewall

Un usuario Pregunto ✅


0


Votar

Hola,

Seguimos la guía en https://docs.microsoft.com/en-us/data-integration/gateway/service-gateway-communication#ports para abrir puertos y permitir el acceso de Power BI a la puerta de enlace de datos local. Aún después de aplicar estas reglas, el servicio Power BI no puede conectarse a la puerta de enlace. Cuando permitimos todo el tráfico, todo funciona, pero esta no puede ser la solución.

Por favor, informe si falta un dominio / puerto que debamos agregar a las reglas.

Estado: nuevo

5 Comentarios (5 Nuevos)

@youssef_youssef

Puede echar un vistazo a Solucionar problemas de la puerta de enlace de datos local.

youssefyoussef

Lo intenté pero nada funcionó. Probé las pruebas de diagnóstico y no se pudo conectar a la red.

youssefyoussef

Intenté desinstalar y reinstalar la puerta de enlace. Al reinstalar, aparece el siguiente error:

No se pudo descargar el instalador de la puerta de enlace de datos local.
El host remoto cerró a la fuerza una conexión existente

youssef_youssef

Hola

Cualquier ayuda aquí. Pude instalar la puerta de enlace utilizando el instalador fuera de línea, pero no puede crear la puerta de enlace. Aquí está el error que encontré en los registros del configurador de la puerta de enlace.


EnterpriseGatewayConfigurator.exe Information: 0 : backendUriFromService: https://wabi-north-europe-redirect.analysis.windows.net/
EnterpriseGatewayConfigurator.exe Warning: 0 : DiscoverUnifiedGateway returned exception: System.AggregateException: One or more errors occurred. ---> 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 receive. ---> 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
at System.Net.Sockets.Socket.EndReceive(IAsyncResult asyncResult)
at System.Net.Sockets.NetworkStream.EndRead(IAsyncResult asyncResult)
--- End of inner exception stack trace ---
at System.Net.Security._SslStream.EndRead(IAsyncResult asyncResult)
at System.Net.TlsStream.EndRead(IAsyncResult asyncResult)
at System.Net.Connection.ReadCallback(IAsyncResult asyncResult)
--- End of inner exception stack trace ---
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar)
--- End of inner exception stack trace ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.PowerBI.DataMovement.ExternalClient.PowerBIDataMovementClientExtensions.<GetUnifiedGatewayClustersRequireAdminAsync>d__40.MoveNext()
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
at Microsoft.PowerBI.DataMovement.GatewayUiCommon.WizardViewModelBase.GetGatewayCollection(HttpClient gatewayHttpClient)
---> (Inner Exception #0) 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 receive. ---> 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
at System.Net.Sockets.Socket.EndReceive(IAsyncResult asyncResult)
at System.Net.Sockets.NetworkStream.EndRead(IAsyncResult asyncResult)
--- End of inner exception stack trace ---
at System.Net.Security._SslStream.EndRead(IAsyncResult asyncResult)
at System.Net.TlsStream.EndRead(IAsyncResult asyncResult)
at System.Net.Connection.ReadCallback(IAsyncResult asyncResult)
--- End of inner exception stack trace ---
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar)
--- End of inner exception stack trace ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.PowerBI.DataMovement.ExternalClient.PowerBIDataMovementClientExtensions.<GetUnifiedGatewayClustersRequireAdminAsync>d__40.MoveNext()<---

EnterpriseGatewayConfigurator.exe Information: 0 : Model gateway state: Unconfigured

youssef_youssef

@ v-chuncz-msft ¿Podría comprobar este problema?

Cambié la configuración del proxy de la puerta de enlace para rastrear todo el tráfico y estas son las solicitudes que fallaron. Usé a Fiddler para interceptar el tráfico.

GET https://wabi-north-europe-redirect.analysis.windows.net/unifiedgateway/gatewayclusters HTTP/1.1
Authorization: Bearer .....
Host: wabi-north-europe-redirect.analysis.windows.net
PUT https://wabi-north-europe-redirect.analysis.windows.net/unifiedgateway/gateways/CreateGatewayWithApps HTTP/1.1
Authorization: Bearer .....
Content-Type: application/json; charset=utf-8
Host: wabi-north-europe-redirect.analysis.windows.net
Content-Length: 1227
Expect: 100-continue

{"createGatewayRequest":{"gatewayName":"Syngenta Genomic Selection","gatewayDescription":null,"gatewayAnnotation":"{"gatewayContactInformation":["youssef.youssef@syngenta.com"],"gatewayVersion":"3000.9.194+ga90bb05c0e","gatewayWitnessString":"{\"EncryptedResult\":\"F1OdSMaoZWVAzIHn8m9nv3VE3zPdH1GYBvJWTtoZ7aVerACimZAqYBFBiteu/NX1sKEkKgJcCvdv9KfcKRzfGQjBPR+JfVbXbBZeVrK19+Ia8jLPk4M64Y3gbi1OnReib2Kt+xrMPMkc8XWMbpfrwQ==\",\"IV\":\"ZW4OYXp102Ts8YFlmCktFQ==\",\"Signature\":\"mjRnocRFLo+XShddSLY22LmxhUh9eXhlkb6mPtEBp8Q=\"}","gatewayMachine":"USAEIWPBID001"}","gatewayPublicKey":"PD94bWwgdmVyc2lvbj0iMS4wIj8+DQo8UlNBUGFyYW1ldGVycyB4bWxuczp4c2Q9Imh0dHA6Ly93d3cudzMub3JnLzIwMDEvWE1MU2NoZW1hIiB4bWxuczp4c2k9Imh0dHA6Ly93d3cudzMub3JnLzIwMDEvWE1MU2NoZW1hLWluc3RhbmNlIj4NCiAgPEV4cG9uZW50PkFRQUI8L0V4cG9uZW50Pg0KICA8TW9kdWx1cz5wMWJqVnJZVyszK3hzUmYzUmNRclBWTk5OUktTYkU3ZDAreGtoWFdpNmh5TTVFL0k5emdBRVVUeXNBeVhBbXU4V0txMmRWNW1DMUsrWlFNYVR2SDEyL3FaeDVMWWRDNUQ1OElGWkE0cTdIY2cwcVRjYStQeGVaYm1JZnpZWnQvZjRWYTBjNHBxVE5IQTdlMDNMdTFWTWkvVUM0NkloeXAyMW8zWk9KNmNiWWs9PC9Nb2R1bHVzPg0KPC9SU0FQYXJhbWV0ZXJzPg=="},"appsToAdd":["PowerBI","PowerApps","LogicApps","PowerBIPaaS","AsAzure","PowerPlatformAdminCenter"]}

Deja un comentario

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *