Skip to content

[Bug]: Recorded screenshots do not load on frontend due to wrong URL #832

@rado14

Description

@rado14

Where are you using the app?

Self-Hosted (OSS) with Docker

App Version

0.0.24

Browser

Firefox

Operating System

Windows 10

Steps to Reproduce

  1. Use self hosted docker way with mapped domain
  2. Run Maxun frontend on a different PC than the docker resides
  3. Record any webpage screenshot -> Robot / Run
  4. Display output data of the run
  5. Expand / download screnshot

Expected Behavior

Screenshot(s) should be displayed

Actual Behavior

Screenshots are not displayed.
When checking URL of the screenshots, it is pointing to http://localhost:9000/maxun-run-screenshots/... Such URL on frontend cannot works in case the Minio is hosted on other machine (together with other docker runtimes).
When I access Maxun fronend on the machine where docker runs, screenshots are displayed correctly.

Relevant Logs or Screenshots

Image Image

Additional Context

I tried a possible way. When the screenshot link would be like this: https://maxun.my.domain/maxun-run-screenshots/... , and following nginx configuration added

location ~ ^/(maxun-run-screenshots)(/|$) {
proxy_pass http://localhost:9000;
...
...
it works.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions