Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pending response rejected since connection got disposed #23709

Closed
eleanorjboyd opened this issue Jun 25, 2024 · 4 comments
Closed

Pending response rejected since connection got disposed #23709

eleanorjboyd opened this issue Jun 25, 2024 · 4 comments
Assignees
Labels
area-testing triage-needed Needs assignment to the proper sub-team

Comments

@eleanorjboyd
Copy link
Member

Testing microsoft/vscode#216888

added this to setting: "editor.experimental.asyncTokenization": true
then I saw this in my python logs whenever I reloaded:

2024-06-25 09:44:11.101 [error] sendStartupTelemetry() failed. s [Error]: Pending response rejected since connection got disposed


2024-06-25 09:44:11.101 [error] [
  'Failed to activate a workspace, Class name = m, completed in 4265ms, has a falsy return value, Arg 1: <Uri:/Users/eleanorboyd/vscode-python/.vscode/settings.json>, Arg 2: {"started":1719333846757}, Return Value: undefined',
  s [Error]: Pending response rejected since connection got disposed
      at Object.dispose (/Users/eleanorboyd/.vscode-insiders/extensions/ms-python.python-2024.9.2024062506-darwin-arm64/out/client/extension.js:2:1952454)
      at Object.dispose (/Users/eleanorboyd/.vscode-insiders/extensions/ms-python.python-2024.9.2024062506-darwin-arm64/out/client/extension.js:2:2007991)
      at S.handleConnectionClosed (/Users/eleanorboyd/.vscode-insiders/extensions/ms-python.python-2024.9.2024062506-darwin-arm64/out/client/extension.js:2:2008397)
      at S.handleConnectionClosed (/Users/eleanorboyd/.vscode-insiders/extensions/ms-python.python-2024.9.2024062506-darwin-arm64/out/client/extension.js:2:2177176)
      at /Users/eleanorboyd/.vscode-insiders/extensions/ms-python.python-2024.9.2024062506-darwin-arm64/out/client/extension.js:2:2008140
      at o.invoke (/Users/eleanorboyd/.vscode-insiders/extensions/ms-python.python-2024.9.2024062506-darwin-arm64/out/client/extension.js:2:1954192)
      at s.fire (/Users/eleanorboyd/.vscode-insiders/extensions/ms-python.python-2024.9.2024062506-darwin-arm64/out/client/extension.js:2:1954957)
      at ne (/Users/eleanorboyd/.vscode-insiders/extensions/ms-python.python-2024.9.2024062506-darwin-arm64/out/client/extension.js:2:1940677)
      at o.invoke (/Users/eleanorboyd/.vscode-insiders/extensions/ms-python.python-2024.9.2024062506-darwin-arm64/out/client/extension.js:2:1954192)
      at s.fire (/Users/eleanorboyd/.vscode-insiders/extensions/ms-python.python-2024.9.2024062506-darwin-arm64/out/client/extension.js:2:1954957)
      at d.fireClose (/Users/eleanorboyd/.vscode-insiders/extensions/ms-python.python-2024.9.2024062506-darwin-arm64/out/client/extension.js:2:1962952)
      at ChildProcess.<anonymous> (/Users/eleanorboyd/.vscode-insiders/extensions/ms-python.python-2024.9.2024062506-darwin-arm64/out/client/extension.js:2:1975319)
      at ChildProcess.emit (node:events:526:35)
      at maybeClose (node:internal/child_process:1105:16)
      at Socket.<anonymous> (node:internal/child_process:457:11)
      at Socket.emit (node:events:514:28)
      at Pipe.<anonymous> (node:net:337:12) {
    code: -32097,
    data: undefined
  }
]
@hediet
Copy link
Member

hediet commented Jun 26, 2024

I'd be very surprised if this error depends on the value of the setting asyncTokenization, as it looks like an error in the python extension.
Can you try to set it to false and see if it still reproduces?

@eleanorjboyd
Copy link
Member Author

yes you are right this is unrelated to f the setting asyncTokenization. I will transfer to the python team for review

@eleanorjboyd eleanorjboyd transferred this issue from microsoft/vscode Jun 26, 2024
@github-actions github-actions bot added the triage-needed Needs assignment to the proper sub-team label Jun 26, 2024
@eleanorjboyd
Copy link
Member Author

for repo steps is just running with this version of vscode and opening a python file: https://builds.code.visualstudio.com/builds/insider?commit=43f70eca0c428e6f1a5bfad59a9b2a66f99b748d&dev=true

@eleanorjboyd
Copy link
Member Author

made many changes in this area- no longer hitting this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-testing triage-needed Needs assignment to the proper sub-team
Projects
None yet
Development

No branches or pull requests

4 participants