Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowGet inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.
i am losing my brain cells with this power bi service crap, my data source is a postgresql database hosted on a server, in power bi desktop it connects perfect, when i check the connection in connections it says online, but when i try to refresh the semantic model i get this error:
The cloud connection in settings is online:
Solved! Go to Solution.
What encryption option did you use when setting up your gateway connection? It sounds like you chose the "encrypted" option when your server does not support that
Hi,d_gosbell ,thanks for your concern about this issue.
Your answer is excellent!
And I would like to share some additional solutions below.
Hello,@HMZ_PBIX .I am glad to help you.
I think d_gosbell's suggestion is helpful
Have you set up a gateway connection for the PostgreSQL sources in the power bi service. If you are using a gateway, in the gateway connection you can see that you can set the data source to be unencrypted, some users have mentioned that if you need to ensure that the data source is encrypted then you need to set up the SSL certificates correctly according to the Microsoft requirements.
Until then I would recommend that you try setting No Encryption first (either in Power BI Desktop or Power BI Service), check that you can create the gateway connection and refresh the report properly in your environment, and then consider the encryption issue later.
powerbi - Power BI Service - Unable to refresh a postgresql source which doesn't support encrypted c...
In the official documentation, it is recommended to give preference to the unencrypted option in the official connection cases (selected when connecting to the data source in power bi desktop).
You need to use NpgSQL and configure the relevant parameters.
I've tried configuring the power bi service gateway connection for PostgreSQL sources and the report refreshes successfully in the service, so hopefully this issue will help you. (This covers the process of making my pbix file to finally refreshing it in service)
URL:
Error connecting Postgres with Gateway - Microsoft Fabric Community
Settings in Power BI Desktop
Settings in Power BI Service(use gateway)
I hope my suggestions give you good ideas, if you have any more questions, please clarify in a follow-up reply.
Best Regards,
Carson Jian,
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi,d_gosbell ,thanks for your concern about this issue.
Your answer is excellent!
And I would like to share some additional solutions below.
Hello,@HMZ_PBIX .I am glad to help you.
I think d_gosbell's suggestion is helpful
Have you set up a gateway connection for the PostgreSQL sources in the power bi service. If you are using a gateway, in the gateway connection you can see that you can set the data source to be unencrypted, some users have mentioned that if you need to ensure that the data source is encrypted then you need to set up the SSL certificates correctly according to the Microsoft requirements.
Until then I would recommend that you try setting No Encryption first (either in Power BI Desktop or Power BI Service), check that you can create the gateway connection and refresh the report properly in your environment, and then consider the encryption issue later.
powerbi - Power BI Service - Unable to refresh a postgresql source which doesn't support encrypted c...
In the official documentation, it is recommended to give preference to the unencrypted option in the official connection cases (selected when connecting to the data source in power bi desktop).
You need to use NpgSQL and configure the relevant parameters.
I've tried configuring the power bi service gateway connection for PostgreSQL sources and the report refreshes successfully in the service, so hopefully this issue will help you. (This covers the process of making my pbix file to finally refreshing it in service)
URL:
Error connecting Postgres with Gateway - Microsoft Fabric Community
Settings in Power BI Desktop
Settings in Power BI Service(use gateway)
I hope my suggestions give you good ideas, if you have any more questions, please clarify in a follow-up reply.
Best Regards,
Carson Jian,
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
What encryption option did you use when setting up your gateway connection? It sounds like you chose the "encrypted" option when your server does not support that
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
5 | |
4 | |
3 | |
2 | |
2 |