• Skip to main content
  • Skip to primary sidebar
  • Skip to footer

Foliovision

  • Weblog
    • FV Player
    • WordPress
    • Video of the Week
    • Case Studies
    • Business
  • About
    • Testimonials
    • Meet the Team
    • We Support
    • Careers
    • Contact
    • Pricing
  • Products
  • Support
    • FV Player Docs
    • Pro Support
  • Login
  • Basket is empty

Only one auth mechanism allowed

Foliovision › Forums › FV Player › Troubleshooting › Only one auth mechanism allowed

  • Remruata L. 4 years, 7 months ago

    Hi, i am able to play my hls file on a Chrome browser but i still get this error. Is this something that i should care about?

    Analysis of https://d2dqbahhsbj76i.cloudfront.net/test2/master.m3u8?Key-Pair-Id=APKAJOXTFZY3PMRYFP2A&Signature=nvxYXi4eWiWfNqAXjpTWKcW7A1f968-d008lE3WDaUJ1YsJyW1tAOu9we2jrsnsH0m~JjsFoFior3gsHTv3qDTd5k-m8~ATintOoUPbRSJh97DaQcdaFRs--yYfBOvLrIJSPZIcaZb31LUuS7rxGEZIte68yR0XXfsa3qFNzYCWk3lyoVirjBamSLkrUZDtmmxJVGdUd4CKcJQhMCwo7NVVJnu7RFZSMBt9ycb3WlUf-6Fa~BYEi3ToYC6GBcUtmOpQG~8ztTRM1poKoOGbWHEKeeNxt8SaF7EFhuXEfFxZfEW-DQ64IE71MKKqgKRoxIeHTlVE3scVG~kU3X8Yzkg__&Expires=1625001488

    Mime Type: application/xml
    Compatibility: CORS headers and crossdomain.xml found

    Amazon S3: Only one auth mechanism allowed; only the X-Amz-Algorithm query parameter, Signature query string parameter or the Authorization header should be specified

Viewing 20 replies - 1 through 20 (of 20 total)
  • Mária Stašová 5 years ago
    Avatar photo

    Hello Remruata,

    we are glad to hear you were able to make your video play. It is also correctly secured now.

    I will ask our development team about the error.

    Thanks,
    Maria

    Remruata L. 5 years ago

    thank you

    Mária Stašová 5 years ago
    Avatar photo

    Hello Remruata,

    You are using URL tokens, but it seems that the video segments are loading without the URL tokens, causing the protection not to work properly.

    Try using the Stream Loader feature: https://foliovision.com/2020/11/hls-download-protection-cloudfront

    If the issues persist, please, send us a full report from the video checker by clicking the “Send report to Foliovision” button.

    Thanks,
    Maria

    Remruata L. 5 years ago

    Yes. Thats it. Thanks. Its working now.

    Another problem i had is I find it difficult trying to click the fullscreen mode icon, it goes away as soon as the cursor is going to the icon. Do i need to open another ticket for this?

    Mária Stašová 5 years ago
    Avatar photo

    Hello Remruata,

    could you please send us such an video where you face this issue? Also, what device and browser are you facing the issue on?

    Thanks,
    Maria

    Remruata L. 5 years ago

    and the chromecast button is not available now. it was working before.

    Mária Stašová 5 years ago
    Avatar photo

    Hello Remruata,

    does the fullscreen button issue disappear if you switch to a standard WordPress theme? For example Twenty Twenty-Two theme.

    As for the Chromecast issue, try using a basic Mp4 file and see, if Chromecast works with that.

    Thanks,
    Maria

    Remruata L. 5 years ago

    Hi,
    I changed to twenty twenty theme and the full screen hover issue dissapears.
    Chromecast issue is also working with mp4 file. Why does it not work with hls files? I checked the “Chromecast Encrypted HLS” checkbox and it was working before. I dont remember making any changes after this.

    Remruata L. 5 years ago

    Also How will i fix the fullscreen issue with my theme?

    Martin 5 years ago

    Hello Remruata,

    I do not have Chromecast available at the moment, so I’m asking Maria to test. In the meantime please test on the first video here: https://foliovision.com/player/demos/encrypted-hls-stream

    The fullscreen button might be misbehaving if your theme is using some forced CSS rules (!important). Please let us know how exactly does the button disappear. Does it change position, or does it change color? Based on that you should be able to use some CSS like this to make it appear:

    .flowplayer .fp-fullscreen {
      color: white !important;
      opacity: 1 !important;
    }
    

    Thanks,
    Martin

    Martin 5 years ago

    Hello Remruata,

    we are having no issues with Chromecast here: https://foliovision.com/player/demos/encrypted-hls-stream

    1) Settings -> FV Player Pro -> Pro Feature -> Chromecast Encrypted HLS – has to be enabled

    This will lower the security of the encrypted streams a bit.

    And it will set CORS headers for * origins to the FV Player Pro Stream Loader URLs like https://site.com/?stream_loader=….

    Are you using anything to adjust the HTTP headers? Cloudflare might be doing that. In order for Chromecast to work with encrypted HLS streams following conditions have to be met:

    Are you adjusting the CORS (or allowed domains) on your Cloudfront distribution?

    2) The HLS must not be using a separate audio track. We have some plans about how to improve this to work with Chromecast. I checked your demo page and it appears to not be the case.

    Thanks,
    Martin

    Remruata L. 5 years ago

    hi,
    I checked the link and the videos in the demos doesnt have any chromecast button.Could it be that it is not working?

    Remruata L. 5 years ago

    [
    {
    “AllowedHeaders”: [
    “*”
    ],
    “AllowedMethods”: [
    “GET”,
    “POST”,
    “PUT”
    ],
    “AllowedOrigins”: [
    “*”
    ],
    “ExposeHeaders”: [],
    “MaxAgeSeconds”: 3000
    }
    ]

    Remruata L. 5 years ago

    the above is the Cors of my delivery bucket

    Remruata L. 5 years ago

    Is there anything i did wrong here?

    qqqq
    qqqq
    Remruata L. 5 years ago

    I have made some changes again. Now, the chromecast button appeared on the Hls encrpyted video. But i still am unable to cast it. I tested this on an mp4 video from my s3 bucket which could be casted. I will post my cloudfront distribution screenshots and please check if i am missing anything.

    Remruata L. 5 years ago

    Here are the screenshots of my Cloudfront distribution settings and my bucket Cors configuration as well

    screenshot_20210711-212614_chrome-2
    Screenshot_20210711-212614_Chrome-1
    screenshot_20210711-212633_chrome-2
    Screenshot_20210711-212633_Chrome-1
    screenshot_20210711-212650_chrome-2
    Screenshot_20210711-212650_Chrome-1
    screenshot_20210711-212906_chrome-2
    Screenshot_20210711-212906_Chrome-1
    screenshot_20210711-212920_chrome-2
    Screenshot_20210711-212920_Chrome-1
    screenshot_20210711-213049_chrome-2
    Screenshot_20210711-213049_Chrome-1
    Mária Stašová 5 years ago
    Avatar photo

    Hello Remruata,

    thank you for the screenshots. I cannot see whether you have whitelisted the correct headers. Please check according to the screenshot I attached.

    Everything else in your settings is correct.

    Thanks,
    Maria

    distribution-settings-new-2
    distribution-settings-new
    Remruata L. 5 years ago

    Hi,
    Yes, i whitelisted these three headers. If the setup is correct, then is there any other reason that may cause chromecast to not cast on this hls encrypted videos. Mp4 videos can be casted.

    Martin 5 years ago

    Hello Remruata,

    here are some other things to check:

    Will it play a normal non-encrypted HLS stream?

    Will it play if you disable the URL tokens and the FV Player Pro “Stream Loader” settings?

    Are you using any custom firewall rules in the AWS WAF?

    Thanks,
    Martin

Viewing 20 replies - 1 through 20 (of 20 total)
Reply To: Only one auth mechanism allowed



Please Sign in or Register to upload files.

Related Posts

  1. Amazon S3 Frankfurt Issues

    Amazon S3 Frankfurt Issues

  2. Rackspace Issues

    Rackspace Issues

  3. Amazon S3: Request is not yet valid

    Amazon S3: Request is not yet valid

Primary Sidebar

Troubleshooting

    Categories

    • Business
    • Camera Reviews
    • Case Studies
    • Design
    • FV Player
    • Internet Marketing
    • IT
    • Life
    • SEO
    • Slovak
    • Video of the Week
    • WordPress

    Footer

    Our Plugins

    • FV WordPress Flowplayer
    • FV Thoughtful Comments
    • FV Simpler SEO
    • FV Antispam
    • FV Gravatar Cache
    • FV Testimonials

    Free Tools

    • Pandoc Online
    • Article spinner
    • WordPress Password Finder
    • Delete LinkedIn Account
    • Responsive Design Calculator
    Foliovision logo
    All materials © 2026 Foliovision s.r.o. | Panská 12 - 81101 Bratislava - Slovakia | info@foliovision.com
    • This Site Uses Cookies
    • Privacy Policy
    • Terms of Service
    • Site Map
    • Contact
    • Tel. ‭+421 2/5292 0086‬