Google Earth Engine Python API Warning - warnings

Yesterday, I created a script to get Sentinel-1 images for a specific region and the code ran as expected. Today, running the same code with no changes I get the following warning:
WARNING:googleapiclient.http:Sleeping 0.91 seconds before retry 1 of 5 for request: POST https://earthengine.googleapis.com/v1alpha/projects/earthengine-legacy/value:compute?prettyPrint=false&alt=json, after 500
I am wondering if this is a quota issue? Or some other issue?

Related

How to understand Google Cloud Datastream UNSUPPORTED_EVENTS_DISCARDED

Is there a way to get more detail about unsupported events in google cloud datastream?
I am running a datastream from MySQL and have a few UNSUPPORTED_EVENTS_DISCARDED and I would like to understand what these events are.
In the logs explorer detail is limited to something like following:
message: "Discarded 1 unsupported events with reason code: MYSQL_UNKNOWN_ERROR. Latest discarded event details: An unexpected error occurred while fetching log: mysql-bin.013919, log_pos: 91832523."
event_code: "UNSUPPORTED_EVENTS_DISCARDED"
Here are some limitations regarding datastream/mysql:
Events have a size limitation of 3 MB
Tables that have more than 100 million rows
Not all changes to the source schema can be detected automatically
I suspect that some of the data that you are fetching hits the limitation and returns the error. I recommend to review the document with the limitation and make sure all the data can be fetched.

ESPv2 with Google Cloud Functions upstream request timeout

I'm having issue getting answers from a Google Coud Function going through ESPv2.
Every time I request it, I get a response 15 seconds later with a status code of 504.
My function take between 30 to 45 seconds.
In the logs the functions correctly and answer back after 35 seconds.
Is there a way to increase the timeout in ESPv2 ?
Thanks
For anyone else having this issue, in the openapi-functions.yaml under the x-google-backend you should had the attribut deadline and set it to whatever value in seconds you want.
Here is the hidden documentation https://cloud.google.com/endpoints/docs/openapi/openapi-extensions#deadline
Issue related: https://github.com/GoogleCloudPlatform/esp-v2/issues/4
Depending on the documentation you used to secure the endpoints of your Cloud Function’s with ESPv2, this should be possible. If you are using Cloud Run to host your ESPv2, a 504 error is sent when a request exceeds its request timeout limit. The request timeout limit is a setting that specifies the time within which a response must be returned before sending a 504 response. You can change this value by going in your “Cloud Run” tab, selecting your ESPv2 service, selecting “Edit & Deploy new Revision”, scrolling down to the capacity section and setting the time in milliseconds. This is some documentation that could prove helpful when working with the topics discussed.

Got blocked by Google Finance

I was trying to write come code for stock market predictions and everything was working fine until it suddenly stopped working and threw an error:
----> 1 get_price_data({'q': 'GOOG', 'i': 86400, 'x': 'NASDAQ', 'p': '1Y'})
/usr/local/lib/python3.6/dist-packages/googlefinance/client.py in get_price_data(query)
12 for price in lines:
13 cols = price.split(",")
---> 14 if cols[0][0] == 'a':
15 basetime = int(cols[0][1:])
16 index.append(datetime.fromtimestamp(basetime))
IndexError: string index out of range
I went to http://finance.google.com/finance/info?client=ig&q=NASDAQ:GOOG
and it said there " We're sorry... but your computer or network may be sending automated queries. To protect our users, we can't process your request right now." ............
So i googled it and on the help page it said "
If you see a message that says "We're sorry, but your computer or network may be sending automated queries. To protect our users, we can't process your request right now.":
Open this reCAPTCHA page.
If you see a normal CAPTCHA (letters or numbers) your computer and network are safe. The site you came from could have a configuration problem. Try to let them know about it.
If you still see the "We're sorry, but your computer..." message, then there may be something wrong. See the tips at our unusual traffic help page.
"
but clicking on "this reCAPTCHA" sends me to as error page "Not Found Error 404"
What do I do?
I tried asking on the Google forum, and immediately got a bunch of hacker responses asking to install remote desktop control :\ ...

Firebase not running JSON script

I have created a script using Android studio. The script log into the app and do some insertion of data and open all fragments.
But when I add the script to my Robo test, it only get to the first screen, then waiting there for 5 minutes and finish with a Passed mark.
Anybody knows anything about this, please help.
I encountered the same problem and contacted Firebase support.
As per their response, it seems that the delay actions recorded in the Robo script by Android Studio (3.0.1) are extremely long (an hour or more). These long delays block the script execution.
For example the Robo script I recorded starts with this delay action -
{
"eventType": "DELAYED_MESSAGE_POSTED",
"timestamp": 1522050751149,
"actionCode": -1,
"delayTime": 3596480,
"canScrollTo": false,
"elementDescriptors": []
}
Notice that the "delayTime" set by Android Studio is 3596480 miliseconds which translates to 59.94 minutes. This value is incorrect.
The quick fix for this is to edit the script manually either by removing the faulty DELAYED_MESSAGE_POSTED events or by editing the "delayTime" values to something more realistic (5000 for example).
Firebase support says that this problem will be fixed in Android Studio 3.2 which is currently in canary.

URL monitor issue - Dynatrace 6.1

I have created a URL monitor to check the availability of website.I kept all values as it is in monitor tab and added host( http://abcd.xyz.org ). I scheduled it for every 10 minutes in schedule tab. In Measure tab I put the Lower sever value of HostReachable measure to 0.
I created incident , added HostReachable measure and put its Aggregation to last value. Evaluation time frame is 1 minutes.In Action tab I put my email for notification.
Now after every 10 minutes I started getting email even I browsed the website and it's working fine. Couldn't understand if website loading fine then why incidents occurs.
Email message:
Violations
HostReachable: STG URL Monitor#abcd.xyz.org: Was 0.00 but should be higher than 0.00.
Latest logs given below:
2016-08-17 15:42:33 INFO [UrlMonitor#STG URL Monitor_0] Previous message was repeated 1 times.
2016-08-17 15:42:33 INFO [UrlMonitor#STG URL Monitor_0] Executing method: GET, URI: http://abcd.xyz.org:80/
Thanks
This could have to do with the evaluation timeframe of your Incident. If your monitor is scheduled to run every 10 minutes but your evaluation timeframe is 1 minute it means that you have 9 evaluations where there is "no data".
We typically recommend to align the monitor execution with the Incident. Can you give that a try?
Also - I typically chart these measures to see which values the monitor produces in which timeinterval. this is an easy visual verification check to make sure that e.g: the monitor works correctly and delivers data. Can you do that?
I also wanted to say that we have a very good Dynatrace Online Community and Discussion forum # http://answers.dynatrace.com. You might want to try to post future questions there as there are 100k+ Dynatrace users active on that community
Andi