Skip to content

Exception "There is no valid request available" when any client reconnect. #138

@eryk955

Description

@eryk955

Hi
I have big problem with creating ModbusTCP Server. Server works, data flows, but when client reconnect (like PLC, because don't like to keep alive connection) FluentModbus call exception "System.Exception" and "There is no valid request available.". So in short, exception occurs, when any client tried to reconnect.

I checked this also on Node-Red ModbusTCP Client. Init connection is ok, but when Connected, VS call exception like above. I cannot find reason why this happens, so please, help :)

Tried also RequestValidator, but this cannot catch this problem. Problem still happens when Server is asynchronus.

Zrzut ekranu 2024-11-22 151142
Zrzut ekranu 2024-11-22 151200
Zrzut ekranu 2024-11-22 151407

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