The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Thank you @vs_7 for your help,
but i checked all the above solutions, and it's clear that's not a mongodb connection issue neither pod port forwarding , the firewall i tried to deactivate it but still same bugs, i use the same connection to update my reports locally on powerbi desktop, and even with powerbi service via on prem data gateway it works fine manually today but the problem is when i schedule refreshing datasets, most of the time, it returns the previous errors
Hi @elhak47 ,
try below steps
Verify network connectivity: Ensure that there is a stable network connection between the Power BI service and your local Kubernetes cluster. Check if there are any network interruptions or latency issues that could cause the connection to be dropped or closed.
Check port forwarding configuration: Review the port forwarding configuration for your MongoDB database on the Kubernetes cluster. Make sure that the port forwarding is correctly set up and that the exposed port is accessible from the Power BI service. Verify that the port forwarding is still active and hasn't been disrupted.
Confirm firewall settings: Double-check the firewall settings on your local machine and Kubernetes cluster. Ensure that the necessary ports are open and not blocked by the firewall. Consult the documentation for your specific firewall software or system to correctly configure the firewall rules.
Update the on-premises data gateway: Ensure that you are using the latest version of the on-premises data gateway software. Check for any available updates and install them to ensure you have the most recent bug fixes and enhancements.
Check MongoDB configuration: Review the configuration of your MongoDB database and verify that it is properly configured to accept connections from the on-premises data gateway. Check the MongoDB logs for any relevant error messages that could shed light on the issue.
Test connectivity outside Power BI: Try connecting to your MongoDB database from a different client or tool outside of Power BI, such as a MongoDB client or command-line tool. This can help isolate whether the issue is specific to Power BI or a more general connectivity problem.
Review Power BI service logs: In the Power BI service, check the logs and error messages for the scheduled refresh operation. Look for any specific error codes or messages that can provide insights into the cause of the issue. This can help in troubleshooting or provide information to Microsoft Support if further assistance is required.