[Skype Web Control] Bug? Not loading on Chrome and Firefox?
Bot Info
- SDK Platform: .NET
- SDK Version: 3.12.2.4
- Active Channels: Skype, Web
- Deployment Environment: Azure bot service, web app hosted on Azure VM.
Issue Description
The Skype Web control seems to have an issue on Chrome (63.0.3239.132) and Firefox (57.0.3).
The chat window starts to load, refreshes twice and then ends up showing a white rectangle as below:
This is the console log:
SkypeWebControl.log
The same bot works fine in the Web Control on Edge (41.16299) however:

This also only appears to happen on browsers where the Web Control scripts have not been previously cached. Opening an incognito window still shows this issue.
Code Example
<html>
<body style="background-color:black">
<span class="skype-button bubble " data-bot-id=""></span>
<script src="https://swc.cdn.skype.com/sdk/v1/sdk.min.js"></script>
</body>
</html>
Reproduction Steps
- Add Skype Web Control to a page
- Make sure it's not a cached
- Open in Chrome, Firefox and Edge
Expected Behavior
The chat window to load and users be able to send messages
Actual Results
Shows a white rectangle
@wacton - Thanks for reporting - I will forward this information to the Skype Web Control team for further investigation.
@wacton I'm the PM for Skype Web Control. We unfortunately cannot reproduce this. Can you provide us your bot's ID, so we can test it against that as well?
@brene
I am facing exactly the same issue in the same versions of Chrome and Firefox...
Here's my bot id:- 404916f0-9fa1-4003-9d26-8e99978614c6
Could You please help me in this regard ?
@brene bot ID is ce0f5873-7d96-477b-94d8-105d6a3923b1
It seems to be a bit sporadic when I test it. Testing it again now, I initially got it to load on Firefox, then opened Firefox in a private window and it doesn't load. Went back into normal mode with Firefox and cleared all site data & cache. Reloaded the page with the bot, I now see the same issue present itself again.
In chrome... Here's my error log:-
Failed to load resource: net::ERR_SPDY_INADEQUATE_TRANSPORT_SECURITY
services-bundle.min.js:1 Uncaught (in promise) Object
lwc-chat-index.min.html:1 Uncaught (in promise) Object
lwc-chat-index.min.html:1 Uncaught (in promise) Object
swc.cdn.skype.com/v/0.49.11/calling-bundle.min.js:1 Trouter [Trouter] open connection
services-bundle.min.js:1 Uncaught (in promise) Object
lwc-chat-index.min.html:1 Uncaught (in promise) Object
swc.cdn.skype.com/v/0.49.11/calling-bundle.min.js:1 Trouter [Trouter] auth required
swc.cdn.skype.com/v/0.49.11/calling-bundle.min.js:1 Trouter [Trouter event] authentication failed
swc.cdn.skype.com/v/0.49.11/calling-bundle.min.js:1 trouter telemetry event: trouterinit {"type":"authenticationFailed","registrationId":"4c014f06-7f0c-d26b-8812-443aed05438e","connectionId":"uSoCADFYnMI2V8D7B874_tEq","connectedClientId":"V8D7B874_tEq"}
services-bundle.min.js:1 Uncaught (in promise) Object
chat-bundle.min.js:13 Uncaught (in promise) TypeError: Cannot read property 'then' of undefined
at chat-bundle.min.js:13
at
@Rakin061 @wacton do you mind telling me if your website is running on HTTPS or HTTP? We are still having trouble reproducing the error.
Hello @brene
Thanks for your reply. Actually my website is running on HTTP.
Here's the link : http://job.erainfotechbd.com:8888/hr/f?p=100:1:2524620618320548
Downside, there is the skype-rounded button named. "Chat with ERA HRM"
My Google Chrome Version:- 63.0.3239.132 (Official Build) (32-bit) My Firefox Version:- 57.0.4 (32-bit)
Hopefully, you could reproduce if you use the identical version of the above mentioned browsers.
And, the Web control embed code:-
<span class="skype-button rounded"
data-bot-id="404916f0-9fa1-4003-9d26-8e99978614c6" data-text="Chat with ERA HRM"></span>
<script src="https://swc.cdn.skype.com/sdk/v1/sdk.min.js"></script>
Thanks in advance.
@brene the website where it normally runs is https, which is where we first picked up the issue.
For my testing locally to exclude any other of our code I just created a basic html page and opened it directly in a browser window. The html page contains only the code referenced in my first post.
@brene I've added my test page to a public site. You can hit it with either http or https: http://devwww.appsforops.com/Testbot.html or https://devwww.appsforops.com/Testbot.html
I can sometimes get it to work when not in Incognito/Private browser window. But it always happens when I open a new Incognito window.
Hm... that's really weird. I just tried it and I can't seem to repro.
Can you make a screenshot with the network tag open? This could help us out.
Sure. Here is the screenshot.

Here's my screenshot as well. It is hosted in a Real Ip shown in the image and will be always running.
Link:- http://202.40.190.116:81/ocas/
For my bot if i am logged in to skype with the webchat, the webchat works fine. Otherwise webchat does not load. Both in http and https.
I just checked in Chrome and Firefox clearing caches and browsing data and I found that everything is fairly Okay!!
Any news from your end ?? @wacton ??
So, @brene Have you been able to reproduce the problem and fix this problem as well ? If yes, then I would love to notify all my clients that the problem has been solved.
@Rakin061 @chathudev @wacton we have rebooted some of our services, where we believe the root cause could be. Can you check again?
This one is very tricky to debug as sadly no one from the team can reproduce this.
@brene I tested it on my side now and can no longer reproduce it. I've asked other members on my team just to confirm they are no longer seeing it either. It looks like the rebooting of your services fixed it, will confirm once I hear back from them.
Awesome! Please reopen this when this is still an issue.
Just had confirmation from the rest of my team, everything back in working order. Thanks for your help @brene