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

[BUG] Cannot bind server socket: Address already in use #319

Open
justjoheinz opened this issue Aug 30, 2024 · 3 comments
Open

[BUG] Cannot bind server socket: Address already in use #319

justjoheinz opened this issue Aug 30, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@justjoheinz
Copy link

Describe the bug
I use doom emacs and have configured org-roam ui as follows:


(use-package! websocket
  :after org-roam)

(use-package! org-roam-ui
    ;; :after org-roam
    :hook (after-init . org-roam-ui-mode)
    :config
    (setq org-roam-ui-sync-theme t
          org-roam-ui-follow t
          org-roam-ui-update-on-save t
          org-roam-ui-open-on-start nil))

When I open a 2nd instance I receive the error that the address is already in use. A consequence of org-roam-ui being initialised a second time.

My attempts to remedy the problem failed so far. I'd like to only start org-roam-ui when it is not yet running. org-roam-ui-open-on-start is obviously to late. And my attempts with hook failed. Please suggest how that could be avoided and if necessary update the documentation in the README.

@justjoheinz justjoheinz added the bug Something isn't working label Aug 30, 2024
@adieundie
Copy link

Hello, did you ever find a fix for this? I've tried using other pulls of org-roam-ui with my doom config, and I still get the "address already in use" error. Seems like Issue #202 references this same issue, but I'm not able to implement their patches

@justjoheinz
Copy link
Author

@adieundie No, so far I had no look. It does not seem to be related to desktop. When I start my emacss with emacs --no-desktop the error persists. Trying to disable the desktop-save-mode in my config.org also did not affect the bug.

@justjoheinz
Copy link
Author

@adieundie I guess I uninstall the org-roam-ui again. The last commit is 2 years ago, so it is more or less dead, even though a nice concept.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants