aerokube / moon

Browser automation solution for Kubernetes and Openshift supporting Selenium, Playwright, Puppeteer and Cypress
http://aerokube.com/moon/latest
Apache License 2.0
224 stars 20 forks source link

Couldn't upload video to Minio S3 after updating to 2.7 #432

Open evheniyt opened 1 month ago

evheniyt commented 1 month ago

After updating moon to version 2.7.1 we found that the recorded video couldn't be uploaded to S3 on Minio.

Error:

video-recorder 2024/09/22 14:56:11 upload: operation error S3: PutObject, https response error StatusCode: 0, RequestID: , HostID: , request send failed, Put "http://moon.ci-infrastructure-minio.ci-infrastructure.svc.cluster.local:9000/chrome-125-0-df6a7edc-d951-4a6d-83ac-57fc2affc846/video.mp4?x-id=PutObject": dial tcp: lookup moon.ci-infrastructure-minio.ci-infrastructure.svc.cluster.local on 10.96.0.10:53: no such host 

Everything works fine on version 2.6.1

video-recorder Completed 256.0 KiB/366.8 KiB (23.3 MiB/s) with 1 file(s) remainingCompleted 366.8 KiB/366.8 KiB (9.3 MiB/s) with 1 file(s) remaining upload: Downloads/video.mp4 to s3://moon/chrome-125-0-0ec133e0-e503-4f9c-8b15-fec14b0e60a2/video.mp4

Config:

      storage:
        endpoint: http://ci-infrastructure-minio.ci-infrastructure.svc.cluster.local:9000
        bucket: moon
        accessKey: "minio"
        secretKey: "minio"
        metadata: false
aandryashin commented 1 month ago

Thank you for the report, this is known issue with minio and it will be fixed in next 2.7.2 release, as a workaround you can set storage endpoint by ip address.

вс, 22 сент. 2024 г., 18:09 evheniyt @.***>:

After updating moon to version 2.7.1 we found that the recorded video couldn't be uploaded to S3 on Minio.

Error:

video-recorder 2024/09/22 14:56:11 upload: operation error S3: PutObject, https response error StatusCode: 0, RequestID: , HostID: , request send failed, Put "http://moon.ci-infrastructure-minio.ci-infrastructure.svc.cluster.local:9000/chrome-125-0-df6a7edc-d951-4a6d-83ac-57fc2affc846/video.mp4?x-id=PutObject": dial tcp: lookup moon.ci-infrastructure-minio.ci-infrastructure.svc.cluster.local on 10.96.0.10:53: no such host

Everything works fine on version 2.6.1

video-recorder Completed 256.0 KiB/366.8 KiB (23.3 MiB/s) with 1 file(s) remainingCompleted 366.8 KiB/366.8 KiB (9.3 MiB/s) with 1 file(s) remaining upload: Downloads/video.mp4 to s3://moon/chrome-125-0-0ec133e0-e503-4f9c-8b15-fec14b0e60a2/video.mp4

Config:

  storage:
    endpoint: http://ci-infrastructure-minio.ci-infrastructure.svc.cluster.local:9000
    bucket: moon
    accessKey: "minio"
    secretKey: "minio"
    metadata: false

— Reply to this email directly, view it on GitHub https://github.com/aerokube/moon/issues/432, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAKY23JIDOVNJXSM4ZEI3QDZX3MRFAVCNFSM6AAAAABOUUNDY2VHI2DSMVQWIX3LMV43ASLTON2WKOZSGU2DCMJSGI4DGMA . You are receiving this because you are subscribed to this thread.Message ID: @.***>