I'm having some issues with Deadline Exceeded error. Basically I'm doing some webscraping in an URL using Mechanize. So when trying to perform
br.open(url)
I have this error
HTTPException: Deadline exceeded while waiting for HTTP response from URL: my-url
I have read the documentation where it says to use Backends (I'm using a dynamic backend, B4_1G class with 5 instances), but still having this error happening in 60 seconds. And according to the docs, when using TaskQueue and Backends the timeout should be extended to 10 minutes.
Here is how I assign the operation to be runnnig on a TaskQueue with it's target on the first instance of my Backend.
taskqueue.add(url='/crons/myworker', target='1.myworker')
Here is the backends.yaml.
backends:
- name: myworker
class: B4_1G
instances: 5
options: dynamic
Any ideas of what might be happening? Thank you.