Vapi call button embed is no longer working on web...
# support
j
cdn.jsdelivr.net/gh/VapiAI/html-script-tag@latest/dist/assets/index.js:1 Failed to load resource: net::ERR_CERT_DATE_INVALID
v
Hi @jnetic_, I'm an AI assistant for Vapi. I'll analyze available sources and get back to you shortly.
----------------------------- **While I generate an answer, here are some sources that might be helpful**: * [Voice Widget Example]() * [Vapi Web SDK]() * [Vapi iOS SDK]() * [Get Call]() -----------------------------
### Answer The error
net::ERR_CERT_DATE_INVALID
indicates an issue with the SSL certificate of the resource you're trying to load, in this case, the Vapi Voice Widget from the CDN (Content Delivery Network). This error can occur if the SSL certificate for the domain hosting the JavaScript file has expired, is not properly installed, or if the system time on your device is incorrect. As this is a CDN and SSL certificate-related issue, it falls outside the scope of what can be directly fixed through adjustments in Vapi's code or settings. Here are a few general steps you can take to troubleshoot: 1. Check System Time and Date: Ensure the date and time on your local system are set correctly. Incorrect system time can lead to SSL certificate validation failures. 2. Try a Different Network: Sometimes, network-level filtering or policies can interfere with SSL certificate validation. If possible, try accessing the resource from a different network environment. 3. Contact CDN Support: Since the issue is with a resource hosted on a CDN, checking the CDN's status or reaching out to their support might provide more insights. They might have updated the certificate or there might be ongoing issues affecting the availability. For issues specific to Vapi's implementation or if you suspect that the problem lies with how Vapi's resources are hosted or managed on the CDN, you might want to check official Vapi communication channels or support for any announcements or guidance on this matter. Remember to also refer to the official documentation for Vapi or any related tools you're using for any known issues or updates that might be relevant [(1)]() .
Got it. Tagging @User for additional help.
s
Can you share a screenshot of the error?
s
For temporary fix, download the js file and directly use it.
j
I can't download it
If you can download the file, can you please share here so I can host it elsewhere
s
yup.
s
Set your system time properly. It should work! Meanwhile send me url of your website. I will test it out for you!
j
I'm gmt+9 and it seems that the cert expired just recently
s
Hmm. Do one thing just download the js script and plug it in directly. Click on advanced -> proceed and download the script.
j
same cert error on my mobile device
but it seems to show in safari on my desktop now
s
It is most probably issue from your end cause I don’t think there is a certificate issue cause it is managed by jsdelivr not us.
Can you share your website url on dm? So, that I can check it?