Access restrictions to Google Charts

567 views
Skip to first unread message

Júlio Sá

unread,
Sep 26, 2019, 10:05:45 AM9/26/19
to Google Visualization API
Hi,

day after day,...
and after some time of use, Google Charts stops from loading on my Angular project.
For now I'm in development mode and my project it's running in localhost

My Browser console shows like this:


angular-google-charts.js:152 GET https://www.gstatic.com/charts/loader.js net::ERR_CERT_AUTHORITY_INVALID
angular-google-charts.js:132 Failed to load the google chart script!
core.js:4002 ERROR Failed to load the google chart script!


After this some of my Google services just stop working, namely Google maps 'till the day after.
I think this have something to do with access restrictions from the Google side but I'm not sure why it happens and more importantly how to solve this.

Any idea here please?

Júlio Sá

unread,
Sep 27, 2019, 7:33:52 AM9/27/19
to Google Visualization API

I think I'm having problems with 'my-custom-maps-api-key ...


> @NgModule({
>   ...
>   imports: [
>     ...
>     GoogleChartsModule.forRoot('my-custom-maps-api-key'),
>     ...
>   ],
>   ...
> })
> export class AppModule {}
 

All I know is that after some time using Google Charts they just stop working
with the above error pasted on my 1st message

Daniel LaLiberte

unread,
Nov 15, 2019, 12:11:28 PM11/15/19
to Google Visualization API
The error you posted ("GET https://www.gstatic.com/charts/loader.js net::ERR_CERT_AUTHORITY_INVALID") does not appear to be related at all to your maps-api-key.  The maps-api-key is used much later in the process, after the loader is loaded, and the map chart code is loaded.   I don't know of any certificate authority issues regarding gstatic.com, or the charts/loader.js.  Is this still happening for you, or for anyone else?
Reply all
Reply to author
Forward
0 new messages