Mender-connect get "read /dev/ptmx:input/output error"

when I try to connect my linux device by mender-connect,I got this error.
time=“2021-09-18T16:24:12+08:00” level=error msg=“error reading stdout: read /dev/ptmx: input/output error”
time=“2021-09-18T16:24:12+08:00” level=info msg=“session 0c8759e9-3dba-4e80-89ea-323b89fa1dfb status:0 stopping shell”
time=“2021-09-18T16:24:16+08:00” level=error msg=“session 0c8759e9-3dba-4e80-89ea-323b89fa1dfb, shell pid 2449144, termination error: error waiting for the process: exit status 2”

I used “systemctl status mender-connect” to print it.have anyone see this error before and fixed it?