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

Intermittent hangs while establishing a WinRM connection from a Linux client to a Windows server #129

@danports

Description

@danports

I'm trying to track down a hang that occurs intermittently but reliably (about 10-20% of the time) while connecting from a Linux client to a Windows server. When the connection is attempted, WinRM might not yet be running and/or the credentials we're trying to use might not yet be working, but instead of throwing an exception, the client simply hangs (forever, even if the server is shut down).

I've tried enabling OMI client logging, but strangely, when I set the log level to INFO or higher, the problem disappears, which makes me suspect a race condition either in this library or libmi. When the log level is left at the default value (WARNING), none of the OMI log files reference the server which the client is hanging trying to connect to, presumably because the connection handshake didn't progress far enough before it hung.

Can you give me any suggestions as to how I can capture additional details that will help us to track down the issue here?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions