Skip to content

The user should be presented with a proper error when creating a service with an existing address  #5850

Open
@etorreborre

Description

If a desktop app user creates a service with the name test (and port 2000), then tries to create a service with the name test and another port then the operation fails:
image

The reason is that ultimately we try to start a worker for the TCP outlet at an address which is already taken by the first TCP outlet.
Unfortunately the reason for the failure is not clear for the user.

This should be prevented by:

  1. checking that the address is not already taken and return an appropriate error message
  2. print the cause in addition to Failed to create outlet (additionally we should say 'service' here to keep the vocabulary aligned).

We love helping new contributors!
If you have questions or need help as you work on your first Ockam contribution, please leave a comment on this discussion.
If you're looking for other issues to contribute to, checkout this discussion and labels - Good first issue or Help wanted

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions