Skip to content

Posit Connect: Board connection issues, have to reconnect to the board multiple times in one session #334

@kelseyroberts

Description

@kelseyroberts

I define the board in my script (code below) and write out a few pins.

board = pins.board_connect(
server_url=os.environ.get("CONNECT_SERVER"),
api_key=os.environ.get("CONNECT_API_KEY")
)
The connection sometimes gets lost in the script and throws an error. ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))

I’ve have to re-run board_connect() mid-script before writing the pin and sometimes need to run it twice for it to work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions