Vector35 / Vector35/binaryninja-api
Improve UX and fix bugs regarding logging out of an Enterprise Server
@fuzyll is already working on this.
Since Jul 31, 2025.
- Dominant language
- C++
- Stars
- 1.3k
- Forks
- 298
- Avg merge
- 5d 5h
- Merged PRs (30d)
- 19
Description
CC #6913.
The correct way to prevent Enterprise server connection warnings and errors, if you do not want to be connected to the server, is to log out of the server. Enterprise has no way of knowing a priori whether you are totally offline or if there is a legitimate connection error. Trying to solve that problem with tons of heuristics is not something we're interested in doing or even sure if we can do successfully.
Unfortunately, after talking with @ElykDeer, it appears pretty trivial for a user away from their Enterprise server to be unable to log out of the server to prevent the errors, which I believe may be two separate bugs.
What Works
If you have a client that was, at some point, actively connected, you can:
- Click on the Remote Browser
- Click "Disconnect"
- Click "Log Out"
This will properly log your client out and, after restarting, it won't show any of the errors.
What Doesn't Work
If you have already restarted your client while it was offline, and you click on the button to show the Remote Browser, you are greeted with this:
This is correct: You are not, currently, connected to an Enterprise server! But, you are still "logged into" one. This is the first 'bug': It's not obvious what's happening here, and it's not obvious to the user how to proceed. We need to find a better way to surface the "logged in" status to users, especially in this state.
If, here, you click "Connect...", you will see this dialog:
This dialog surfaces the ability for the user to "log out". But, if you click "log out" and restart the client, it will still show all the earlier error messages. So, clearly some part of the state for this is being kept around, and it should not. This is the second 'bug'.
What We Should Do
In the short-term, we should fix both of the bugs above. In the long-term, we should discuss how we can surface the status of being "logged into" an Enterprise server better for users. It might be that what we've implemented here could be implemented better, and theoretically we should also have the ability to log out of all Enterprise servers (in the event that someone is connected to multiple) as well with a single action.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.