mmckegg / patchwork-next

Now located at ssbc/patchwork!
http://github.com/ssbc/patchwork
36 stars 2 forks source link

handling port 8008 being in use #2

Open hackergrrl opened 8 years ago

hackergrrl commented 8 years ago

Hi there! Fantastic work on patchwork-next; it's stellar. :+1:

I realized today that the reason why my last attempt to use patchwork-next failed was because I had been running my own sbot server already -- I didn't see that patchwork-next tries to run its own. The effect on the GUI of this happening is a spinner that never ends; I had assumed the app was simply broken.

What do you think of having either/or

  1. a dialog that appears telling the user that port 8008 is already in use and they'll need to free it to use the app
  2. picking a random port to run the internal sbot server on, to avoid collisions
  3. detecting when an external sbot server is running and using that instead of starting another
mmckegg commented 8 years ago

Interesting. This actually used to work. It would fall back to the global sbot if it was running. But I think the reason this is no longer working is because of some recent changes to the sbot plugins I'm using. @dominictarr has started working on bringing patchwork-next back in line with patchbay, so should work again, eventually!