Skip to content

Can I access binary console dashboard from other machine than my host? #7

Open

Description

@Kohagan91

Hello,

First of all, thanks for this release in container base.

I'm running this container on top of a docker swarm system.

So I want to access the binary console dashboard from outside of the worker that runs this service.

I can access the dashboard but it doesn't load correctly due to HTTP request address: localhost:45454 instead of domainName:45454, same behavior for WebSocket on port 45954.

image

I don't find any parameter to launch it on another domain name, other than localhost.

Do you have a solution to this issue?

Activity

  1. shawnlobo96 commented on Dec 17, 2020

    @shawnlobo96

    @Kohagan91
    ​
    The behavior you see is due to CORS since the request is originating from a hostname other than localhost.
    ​
    ​Currently, you will only be able to access the dashboard over localhost due to this restriction.

    This has been added as a feature request.

  2. Kohagan91 commented on Dec 18, 2020

    @Kohagan91
    Author

    Just for your information, I think you have "just" to change the CORS and link inside the /static/js/constants/api.js file with the same link.

    Do the Browserstack local Binaries is an open-source project that I can help you via PR?

    Thanks!

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions