microsoft / microsoft/vscode-powerquery-sdk

Power Bi Unexpected EOF

Open
#329 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

help wanted more info required question
Dominant language
TypeScript
Stars
92
Forks
23
PR merge metrics
No merged PRs in 30d

Description

Preflight Checklist
Power Query SDK

0.4.0

Regression From

No response

Platform

Windows

Architecture

x64

OS Version

No response

VSCode version

1.89.1

PQSdkTool Path

No response

Bug Description

In my custom connector I have implemented a function which returns a large amount of data by using the list.generate function in order to make a series of web requests to get paginated data from a web service. The list of tables of records is then combined into a single table. The issue is that I sometimes encounter the error in the screenshot below when loading the data. However, the web service that furnishes the data does not report any errors. It seems as though power bi is getting incomplete data somehow or is closing it's connection for some reason. From the perspective of the web service, it gets a series of requests for some of the pages of data and then simply stops receiving requests after the error is encountered in power bi. I will also add that the data is not changing between attempts that succeed and those that fail.

PowerBI EOF

The code in question is here:

image

Steps to Reproduce

Open the connector in power bi desktop.
Load a table that utilizes the function to get paginated data.
Wait for data to load or fail (the failure is not always consistent).

Actual Experience

PowerBI EOF

Expected Experience

Sometimes all the data loads from all the pages and everything works as expected.

Additional Context

These "Microsoft.Mashup.Container" logs which show the issue from the screenshot.
PowerBI with EOF error.zip

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no repository file or test. Start by examining the attached Microsoft.Mashup.Container logs and reproducing the intermittent failure in Power BI Desktop with the paginated custom connector; compare successful and failed runs. Done means the source of the unexpected EOF is identified and a verified fix or actionable diagnosis is documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
vscode
Domain
data, devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.