The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hi all,
we have set up a number of PBI datasets (about a dozen) on PBI Online that are scheduled to update on a daily basis. All these datasets refer to a Postgres database we host ourselves at a rented VM.
However, we receive error messages about these automatic updates sporadically, but with a too high frequency (multiple per week). These error messages say:
Refresh failed:
<Report name> has failed to refresh.
Failure details: The last refresh attempt failed because of an internal service error. This is usually a transient issue. If you try again later and still see this message, contact support.
{"error":{"code":"ModelRefresh_ShortMessage_ProcessingError","pbi.error":{"code":"ModelRefresh_ShortMessage_ProcessingError","parameters":{},"details":[{"code":"Message","detail":{"type":1,"value":"An error happened while reading data from the provider: 'Connection is not open'"}}],"exceptionCulprit":1}}} Table: public <table_name>.
This happens for multiple different datasets and different tables in the Postgres database. How can we trace down these sporadic issues? Manual access to the database works fine. What does this error message tell us in detail, I could not find it on Google? Is there any way to turn on logs either on the PBI or the Postgres site?
Thanks in advance,
Christoph Thiede
HI @Anonymous,
How many data sources that you enable scheduler refresh based on power bi?
Have you tried to trace database logs to confirm if they are too many requests that exceed to max connection limits of database settings?
How to increase the max connections in postgres?
Regards,
Xiaoxin Sheng
You can turn on advanced logging on the gateway but I am not sure it will give you much
https://docs.microsoft.com/en-us/data-integration/gateway/service-gateway-performance
Is it possible that your Postgres database is easily overwhelmed by concurrent connection requests?
Hi,
@lbendlin wrote:You can turn on advanced logging on the gateway but I am not sure it will give you much
https://docs.microsoft.com/en-us/data-integration/gateway/service-gateway-performance
How can I turn on logging for the automatic Power BI Online updates? It seems to me that the description to referenced to applies to PBI Desktop only.
@lbendlin wrote:Is it possible that your Postgres database is easily overwhelmed by concurrent connection requests?
The internet says the default capacity is 100 connections so this should not be a problem with ~10 reports á ~5 referenced tables. However, I could try to schedule different update times for different reports (at the moment, they are scheduled all at 4:00 AM), but this feels like an ugly workaround ...