Skip to content
This repository was archived by the owner on Jun 7, 2024. It is now read-only.
This repository was archived by the owner on Jun 7, 2024. It is now read-only.

TerminatingError(Invoke-RestMethod): "Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host." #34

Description

@treestryder

Get-WorkdayWorker randomly fails with the following error. I am creating this issue after Get-WorkdayWorker failed when attempting to request page 67 of 174. I suspect Workday is timing out on long running requests, or even individual pages.
TerminatingError(Invoke-RestMethod): "Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host."

Not sure what to do to improve matters. Might want to start by upgrading the Get_Workers request from version 30 to version 41. Which will likely require the upgrade of ConvertFrom-WorkdayWorker, Get-WorkdayWorkerPhone, Get-WorkdayWorkerEmail, Get-WorkdayWorkerNationalId, and Get-WorkdayWorkerOtherId, as well.

Anyone have thoughts on this?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions