WebPlayback SDK Initialization Error

I use WebPlayback SDK to play songs in my web app. It works correctly on my local machine. I can play songs. But when I deploy my app to AWS Beanstalk, the Player fails to initialize. I use fresh WebApiToken using my AWS url as redirect_url. WebApiToken is correct but initialization fails.

 

Is there any way that I can trace the error and find out the cause of the failure? Or are there any common solutions to this problem?

Child Item
Child Item
Child Item

Accepted answers

All comments

I discovered that in Chrome, you must access Spotify via HTTPS, that's the problem.
Child Item
Child Item