The channel file must be located on the server / address that the user is visiting, since the channel file is used to fix JavaScript errors on several sites. If a user always accesses your site using HTTPS, you should link to the channel file using HTTPS, as well as any other content.
The channel file itself should remain as <script src="//connect.[..], but make sure all of your static contents and JS have all https enabled.
source
share