Skip to content

WiFi server becomes unresponsive if it loses connection to network and reconnects #38

@cameronwest

Description

@cameronwest

WiFi shield can connect fine, can receive and send packets, and works for a random amount of time - sometimes less than a minute, at most 5 hours. After much debugging, I determined that if the server status ever returned 4 (WL_CONNECT_FAILED), it became unresponsive to clients. Which makes sense.

I then added code where if that status occurs, it would reconnect to the network. The shield is able to reconnect without issue, returns a successful status, however it is still completely unresponsive to clients. The only thing that seems to work is manually pressing the reset button on the WiFi shield.

This has been frustrating since our project needs to have this server running for months or years without any manual intervention. 5 hours simply doesn't cut it for our needs.

I've already applied the latest version of the firmware (and multiple other versions) and this has never been resolved by any of them.

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