Forum Discussion
AnalysisServices: The connection is not open.. Microsoft.Data.Mashup.ErrorCode = 10478
- 1 year ago
Hi Max_WH
My support case for this error message is almost ready to be closed. I thought I'd let you know. It turns out there was a bug in the way the PQ mashup engine interacts with the underlying connections to the PBI dataset. This behavior should be documented by Microsoft in the near future, and I'll post a link here.
I opened two SR # for this bug:
2503220040000275
and2504010010001220
The second was a unified/premier case.
I'm not totally sure, but I think your case and my case were both associated with the same internal IcM (Incident-603360591) You should be able to confirm that with your Mindtree engineer, if you provide my IcM number.
I have an RCA and a longer explanation can be found here:
https://community.fabric.microsoft.com/t5/Service/DataSource-Error-AnalysisServices-The-connection-either-timed/m-p/4702221/highlight/true#M276330The RCA for my case is like so:
I don't know if that helps. At the end of the day, the workaround is pretty straightforward. You have to wrap any queries for the AnalysisServices connector, and put Table.Buffer around them. This ensures that connections won't be held open for long periods of time resulting in socket exceptions. In my case the offending connection was being held open for internal reasons that are NOT in my control. It has something to do with the fact that we are using one query as the driver to loop/execute some nested queries.
Hopefully this is makes sense. Your best is to test with Table.Buffer and see if that avoids the error. IMO this is an obvious bug, but the ASWL PG doesn't currently see it that way (possibly because the bug isn't theirs but belongs to a related product team - PBI integrations or whatever).
Yes, it has something to do with the mashup engine. Ticket opened with Microsoft, but till now they are still investigating the issue. what's a pity!
Hi Max_WH
In your repro, are you running TONS of queries, or just a few? Is the workspace on premium or fabric capacity? Did you enable "Large semantic model storage format"? How certain are you that the mashup engine is responsible (what evidence)? The error sounds more like a problem that the AS team needs to look at. (Sometimes they will deflect to other teams.)
Can you post your query here? Do you know how many rows it is likely to generate? Just because the data size is small doesn't mean that the results won't be enourmous - it depends on the query.
Did the engineers open the ICM with Microsoft yet? Can you share the SR or ICM number here?
Is your engineer from Mindtree ("v-" in front of the name of the email address?) Have you spoken with the ops manager yet about moving the ticket to Microsoft? Usually after three weeks the ops manager will start to take notice, and either will encourage his Mindtree engineers to send the case to Microsoft, or close the case.
Did your engineers look for the failure mesages in their logs, (based on the request ID)? What did they see? Are there socket exceptions? Memory issues? Is the AS service crashing?
Based on the error message, I think the mashup engine is the last place the problem could be originating from. The only fault in the mashup engine is that it isn't relaying a very good error back to us, and will result in the need to spend way too much time on support tickets.