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

Open 'My Psion' browser windows don't recover from connection restarts #71

Open
jbmorley opened this issue Jun 29, 2024 · 1 comment
Open

Comments

@jbmorley
Copy link
Collaborator

There are a number of scenarios where the connection can get restarted:

  • available serial devices change
  • user selected serial devices change
  • Psion connection is restarted (Psion powers down, replugged, etc)

I'm pretty sure the browser window will stop working after each of these (though likely for slightly different reasons).

@kapfab has noticed the following in logs:

ncp: Ignored disconnect

I'm fairly sure this is related to the browser window (rfsv) going through the process of attempting to restablish a connection to ncpd after it's been restarted in-process due to one of the above scenarios.

@jbmorley
Copy link
Collaborator Author

Right now the in-process restarts of ncpd do their best to reset the global ncpd state but it's quite possible I've missed something. However, this looks like something is trying to disconnect from ncpd that ncpd doesn't know about. Perhaps I'm failing to terminate ncpd correctly and the rfsv hasn't noticed the shutdown itself.

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