Re: wunderground daily email alert

Michael J Rubinsky <[email protected]>
Newsgroups gmane.comp.horde.kronolith
Message-ID <20160214121733.Horde.C6pvtaqmZrtnGQK5g7nealA@h4.theupstairsroom.com>
Quoting John H. Bennett III <[email protected]>:

> Quoting "John H. Bennett III" <[email protected]>:
>
>> Quoting Michael J Rubinsky <[email protected]>:
>>
>>> Quoting John H. Bennett III <[email protected]>:
>>>
>>>> Hello all,
>>>>
>>>> Since upgrading to the latest horde stable versions, I am getting  
>>>> the below email everyday.  I do have the weather configured to  
>>>> show up on my calendar, and also to show in the portal.  Did  
>>>> something change with the behavior?  I am working on trying to  
>>>> downgrade to the previous version of kronolith and see if these  
>>>> emails stop.
>>>
>>>
>>> Do you have caching enabled?
>>>
>>>
>>>> I could use some hints on how to downgrade a horde application using pear.
>>>>
>>>> Hello,
>>>>
>>>> Your wunderground API key (my key) exceeded its allotted usage  
>>>> today by making 12 calls within a minute but the limit is 10.
>>>>
>>>> We used one of your raindrops instead of disabling the key for  
>>>> the remainder of the day. You now have 29 remaining raindrops.
>>>>
>>>> We check usage for 24-hour periods based on U.S. Eastern Time.
>>>>
>>>> The plan you are registered for is Stratus - Developer, granting  
>>>> you 500 calls per day with 10 calls per minute limit. To upgrade  
>>>> your plan go to:  
>>>> http://www.wunderground.com/weather/api/d/ecb7f558afdd63e3/edit.html
>>>>
>>>> Details: exceededrate: maxrate: 12 (of 10)
>>>> Time: Tue, Feb 09, 2016 00:30 EST
>>>>
>>>> Thank you,
>>>> wunderground.com API Team
>>>>
>>>> This is an automatically generated email; it cannot be replied  
>>>> to. For Documentation review read through:
>>>> http://www.wunderground.com/weather/api/d/documentation.html
>>>> For Developer questions and forms post in our Community here:
>>>> http://www.wunderground.com/weather/api/d/community.html
>>>> For Technical Support submit a ticket here:
>>>> http://wuhelp.wunderground.com/index.php?_m=tickets&_a=submit&step=1&departmentid=32
>>>>
>>>> --
>>>> wunderground.com |  300 Interstate North Parkway, Atlanta, GA 30339
>>>>
>>>> Thank you,
>>>>
>>>> John
>>>>
>>>> -- 
>>>> kronolith mailing list
>>>> Frequently Asked Questions: http://wiki.horde.org/FAQ
>>>> To unsubscribe, mail: [email protected]
>>>
>>>
>>>
>>> -- 
>>> mike
>>> The Horde Project
>>> http://www.horde.org
>>> https://www.facebook.com/hordeproject
>>> https://www.twitter.com/hordeproject
>>
>>
>> Here is what I have for anything with cache:
>>
>> $conf['session']['cache_limiter'] = 'nocache';
>> $conf['share']['cache'] = false;
>> $conf['cache']['default_lifetime'] = 1800;
>> $conf['cache']['params']['dir'] = '/tmp/';
>> $conf['cache']['params']['sub'] = 0;
>> $conf['cache']['driver'] = 'File';
>> $conf['cache']['use_memorycache'] = '';
>> $conf['cachecssparams']['url_version_param'] = true;
>> $conf['cachecss'] = false;
>> $conf['cachejsparams']['url_version_param'] = true;
>> $conf['cachejs'] = false;
>> $conf['cachethemes'] = false;
>>
>>
>> I didn't get the message today, so possibly my key had been  
>> compromised.  I'll keep monitoring.
>>
>> From the other response, I wouldn't try to downgrade my production  
>> server until I tested it on a test server, and was comfortable with  
>> the process and results.
>>
>> Thank you,
>>
>> John
>
> Spoke too soon, I am still getting them.  Instead of downgrading  
> Kronolith, I downgraded Horde_Service_Weather to 2.3.1 Thursday  
> night, and I haven't gotten any more notices.  Looking at the  
> changes, could this change be causing my issues,  
> https://github.com/horde/horde/commit/22c3705bfe731acfa365a443f813bf676642dac7?


No, that commit doesn't cause any request to be sent, it only  
changes/fixes how information already obtained from wunderground is  
used.

You can place some Horde::debug() statements in  
Horde_Service_Weather_WeatherUnderground::_makeRequest() to find out  
exactly what requests are being sent, and why they are not coming from  
the cache.

-- 
mike
The Horde Project
http://www.horde.org
https://www.facebook.com/hordeproject
https://www.twitter.com/hordeproject

-- 
kronolith mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: [email protected]
smime.p7s (application/pkcs7-signature, 5.6 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.