aws-lex-web-ui icon indicating copy to clipboard operation
aws-lex-web-ui copied to clipboard

Getting vue dependency failure for deployed chatbot

Open karanakatle opened this issue 2 years ago • 3 comments

Hi Team, we are getting a vue dependency failure for deployed chatbots suddenly. Screenshots are attached for your reference.

Screenshot (18)

Can you please help me in this.

karanakatle avatar Apr 20 '22 17:04 karanakatle

@karanakatle Browser is trying to load vue.min.js from https://cdn.jsdelivr.net/npm/[email protected]/dist/vue.min.js and is being prevented by browser from what looks like a CA cert issue. I just tried on a number of running lex web ui instances and they are able to pull from this url. Are you switching vpns used by the browser or changing browser config? Its a cloudflare cert I think with a CA of Baltimore CyberTrust Root.

bobpskier avatar Apr 20 '22 18:04 bobpskier

@bobpskier yes I am using vpn. But to my surprise initially without vpn also I was getting the same issue then I switched to vpn and tested. But now without vpn it is working fine. But if I connected to vpn it is giving me this error. Moreover without VPN i can use it in Microsoft edge. But getting same error in chrome. How to solve it because till yesterday this was working even with vpns?

karanakatle avatar Apr 20 '22 21:04 karanakatle

@karanakatle For me switching vpn is problematic for browsers until I restart the browser and then most of the times clear cache. I see this across a wide range of vpns on most of the web sites I use. This specific error to me means the browsers you are using in conjunction with the vpn / no vpn config on your OS are not handling CA certificate verification from the cdn.jsdeliver.net site. The browsers refuse to load the vue js file and hence the UI can't start. From your browser can you directly load https://cdn.jsdelivr.net/npm/[email protected]/dist/vue.min.js and then look at the certificate? Are there any differences when you are on or off vpn? Are there any differences between browsers? Are you experiencing a man in the middle attack? For whatever reason, your browser is not happy with the CA cert from this resource whomever is supplying it and is preventing it from loading.

bobpskier avatar Apr 21 '22 15:04 bobpskier