Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pexpect.pxssh.ExceptionPxssh #19

Open
jaydenthorup opened this issue Aug 25, 2021 · 0 comments
Open

pexpect.pxssh.ExceptionPxssh #19

jaydenthorup opened this issue Aug 25, 2021 · 0 comments

Comments

@jaydenthorup
Copy link

After recent updates I am having this error. I suspect it may be my Linux machine not responding in a timely manner.

https://stackoverflow.com/questions/20054030/pxssh-error-could-not-synchronize-with-original-prompt

My logs

Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 249, in _async_setup_platform
await asyncio.shield(task)
File "/usr/local/lib/python3.9/asyncio/coroutines.py", line 124, in coro
res = func(*args, **kw)
File "/config/custom_components/ssh/sensor.py", line 48, in async_setup_platform
dev.append(SSHSensor(hass, config))
File "/config/custom_components/ssh/sensor.py", line 66, in init
self._connect()
File "/config/custom_components/ssh/sensor.py", line 136, in _connect
self._ssh.login(self._host, self._username,
File "/usr/local/lib/python3.9/site-packages/pexpect/pxssh.py", line 426, in login
raise ExceptionPxssh('could not synchronize with original prompt')
pexpect.pxssh.ExceptionPxssh: could not synchronize with original prompt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant