Builds randomly fail with "exception was thrown: The operation was canceled"

akira's Avatar


08 Dec, 2023 01:16 AM

Builds randomly fail with exception

[ 00:01:17.45] When sending 'PUT http://localhost:46381/api/tests/batch' with body '<long json string>', exception was thrown: The operation was canceled.

The project has three images configured, Windows, MacOS, and Ubuntu. Lately, it has been happening a lot on Ubuntu and occasionally on Windows too.

I can barely find useful info on the internet with these error messages.

See builds like and on

  1. 1 Posted by akira on 08 Dec, 2023 01:29 AM

    akira's Avatar

    Surprised to see xunit has a specialized AppVeyor client that generates this message:
    The JSON sent in my case is 28KB, which doesn't make sense to consistently takes > 30 seconds. There must be something else wrong.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac