Check if games sandbox exists before starting server #2251

Closed
opened 2019-01-30 20:33:18 +01:00 by neb-b · 4 comments
neb-b commented 2019-01-30 20:33:18 +01:00 (Migrated from github.com)

The Issue

With the new sandbox server, it's not possible to run two apps at once. You get an error saying the sandbox port is already in use.

Steps to Reproduce

  1. Run the app in dev mode
  2. Run the latest rc
  3. See the error

Suggested Solutions

Check if the port is in use before starting the server.

<!-- Thanks for reporting an issue to LBRY and helping us improve! To make it possible for us to help you, please fill out below information carefully. Before reporting any issues, please make sure that you're using the latest version. - App releases: https://github.com/lbryio/lbry-desktop/releases - Standalone daemon: https://github.com/lbryio/lbry/releases We are also available on live chat at https://chat.lbry.io --> ## The Issue With the new sandbox server, it's not possible to run two apps at once. You get an error saying the sandbox port is already in use. ### Steps to Reproduce 1. Run the app in dev mode 2. Run the latest rc 3. See the error ### Suggested Solutions Check if the port is in use before starting the server.
skhameneh commented 2019-02-01 21:53:28 +01:00 (Migrated from github.com)

🤔 seems reasonable, I'd imagine this is rarely needed (except maybe in your case of testing/dev multiple instances)

🤔 seems reasonable, I'd imagine this is rarely needed (except maybe in your case of testing/dev multiple instances)
neb-b commented 2019-02-01 21:56:08 +01:00 (Migrated from github.com)

Yep. It's nice to have the app and the dev build open at the same time for testing.

Yep. It's nice to have the app and the dev build open at the same time for testing.
neb-b commented 2019-02-01 21:57:01 +01:00 (Migrated from github.com)

Or maybe only start the sandbox server with a flag passed in in dev mode? Then it would default to off and the production app would still work

Or maybe only start the sandbox server with a flag passed in in dev mode? Then it would default to off and the production app would still work
skhameneh commented 2019-03-25 05:17:34 +01:00 (Migrated from github.com)

@seanyesmunt fixed this

@seanyesmunt fixed this
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: LBRYCommunity/lbry-desktop#2251
No description provided.