Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Broken Layout While Playing Record As Configure S3 External Storage #2063

Open
nda888 opened this issue Apr 9, 2024 · 8 comments
Open

Broken Layout While Playing Record As Configure S3 External Storage #2063

nda888 opened this issue Apr 9, 2024 · 8 comments
Assignees
Labels
bug Something isn't working

Comments

@nda888
Copy link

nda888 commented Apr 9, 2024

Describe the issue
After setup configure S3 external storage
https://docs.openreplay.com/en/configuration/external-storage/
The layout record is broken while playing the record, event record was uploaded to s3 bucket successfully.

Although configure AWS endpoint start with "https" in /var/lib/openreplay/vars.yaml
s3:
region: "us-east-1"
endpoint: "https://s3.us-east-1.amazonaws.com"
But the GET method always return "http"

Steps to reproduce the issue

  1. configure s3 external storage (https://docs.openreplay.com/en/configuration/external-storage/)
  2. openreplay -R
  3. record any video and playing

OpenReplay Environment

  • Cloud provider: AWS
  • System specs: 2vCPU/8Gb with 50Gb of storage

ksnip_20240409-150826

@nda888 nda888 added the bug Something isn't working label Apr 9, 2024
@estradino
Copy link
Contributor

Is the OpenReplay dashboard running on secure http (https)?

@nda888
Copy link
Author

nda888 commented Apr 9, 2024

My openreplay running HTTPS and already configure redirect-SSL
# SSL redirection
ssl-redirect: true
force-ssl-redirect: true

here is my configuration

minio:
  # Disable this if you use an external object storage service (s3)
  enabled: false
  global:
    minio:
      # For generating passwords
      # `openssl rand -hex 20`
      accessKey: "AAAA111"
      secretKey: "BBBB111"
      
  s3:
    region: "us-east-1"
    endpoint: "http://s3.us-east-1.amazonaws.com/"
    assetsBucket: "openreplay-assets"
    recordingsBucket: "openreplay-recordings"
    sourcemapsBucket: "openreplay-sourcemaps"
    assistRecordsBucket: "records"
    vaultBucket: "vault-data"
    # This is only for enterpriseEdition
    quickwitBucket: "quickwit"
    # if you're using one node installation, where
    # you're using local s3, make sure these variables
    # are same as minio.global.minio.accesskey and  secretKey
    accessKey: "AAAA"
    secretKey: "BBBB"

@estradino
Copy link
Contributor

What's the error you see when it fetches .mob and/or css files?

@nda888
Copy link
Author

nda888 commented Apr 9, 2024

I attached the image file for describe detail my issue problem
ksnip_20240409-162510

@estradino
Copy link
Contributor

It's not enough. Can I see the response/error for the css (I see CSP in there) and the mob files (I see 403 from the screenshot).

@nda888
Copy link
Author

nda888 commented Apr 9, 2024

I supplement more information
ksnip_20240409-163917

@estradino
Copy link
Contributor

What deployment option did you follow? Is it the vanilla setup or docker?

@nda888
Copy link
Author

nda888 commented Apr 9, 2024

I setup via helmcharts, here is my steps

- mkdir openreplay
- git clone https://github.com/openreplay/openreplay.git . 
- cd ./scripts/helmcharts 
- DOMAIN_NAME=test-example.demo.com bash init.sh
- bash certmanager.sh 
- enter openreplay domain name: test-example.demo.com
- enter your email address for letsencrypt certificate: abc@demo.com
- vim /var/lib/openreplay/vars.yaml 
> - 103,104 lines 
> - ssl-redirect: true 
> - force-ssl-redirect: true 
- openreplay -R (reload) 

I follow this URL: https://docs.openreplay.com/en/deployment/deploy-ubuntu/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants