Skip to content

POWERPIPE_PORT is not honored #362

Closed

Description

Describe the bug

POWERPIPE_PORT environment variable is not honored by powerpipe server and it forces to pass --port "$POWERPIPE_PORT" option, otherwise the default port (9033) is used.

Below you can see that although POWERPIPE_PORT environment variable is used, powerpipe server does not honor it and listens on the default port (9033).

$ env | grep POWERPIPE_PORT
POWERPIPE_PORT=9194

$ powerpipe server
[ Wait    ] Starting WorkspaceEvents Server
[ Message ] WorkspaceEvents loaded
[ Message ] Initialization complete
[ Ready   ] Dashboard server started on 9033 and listening on local
[ Message ] Visit http://localhost:9033
[ Message ] Press Ctrl+C to exit

Powerpipe version (powerpipe -v)

$ powerpipe -v
Powerpipe v0.3.1

To reproduce

  1. Use POWERPIPE_PORT
  2. Execute powerpipe server
  3. Try to access powerpipe with the port specified in POWERPIPE_PORT

Expected behavior

POWERPIPE_PORT environment variable should be honored by powerpipe server without specifying --port option.

Additional context

Activity

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

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions