ttsukagoshi / website-monitoring-by-gas

Website status monitoring using Google Sheets and Google Apps Script.
https://www.scriptable-assets.page/gas-solutions/website-monitoring-by-gas/
Apache License 2.0
11 stars 3 forks source link

Exception: Address unavailable: <<url>> #134

Open OMGJS2022 opened 2 years ago

OMGJS2022 commented 2 years ago

Hello there, thanks so much for developing and sharing this code.

I am using it in a Google Sheet that you have provided. All runs smothly but I am seing the following error message every few minutes....

Any chance you have some advice on how to fix it?

Thanks. Regards, Jochen

Subject: [Website Status] Error: Status Check

On Sun, May 22, 2022 at 9:43 AM info@online-marketing-guy.com wrote: Exception: Address unavailable: https://www.vatvalve.com/page/vat-motion-components at targetWebsites.reduce.newErrors (websiteMonitoring:451:23) at Array.reduce () at websiteMonitoring (websiteMonitoring:436:39) at websiteMonitoringTriggered (websiteMonitoring:300:3) at GS_INTERNAL_top_function_call.gs:1:8


This notice is managed by the following spreadsheet: https://docs.google.com/spreadsheets/d/1WDJx6iFu5KrL-2RQ70gEjBPbGCtHxvbM7IIIz6PO5gU/edit

ttsukagoshi commented 2 years ago

Hi @OMGJS2022 thanks for your comment!

I've seen the same error in my case but it only happens once a month or two, so I've considered it an occasional glitch in Google's Apps Script execution... Every few minutes in your case does seem a bit too frequent.

I'll try to look into it, but to be honest I'm not sure where to start. Any additional inputs from other users are welcome!!

OMGJS2022 commented 2 years ago

Thanks so much for your reply. I have since changed the interval from 1 to 5 minutes and the error has not reappeared. I might experiment with this a little over the next few days.