[
https://issues.apache.org/jira/browse/BEAM-7616?focusedWorklogId=299617&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-299617
]
ASF GitHub Bot logged work on BEAM-7616:
----------------------------------------
Author: ASF GitHub Bot
Created on: 22/Aug/19 18:08
Start Date: 22/Aug/19 18:08
Worklog Time Spent: 10m
Work Description: aaltay commented on pull request #9401: [BEAM-7616]
apitools use urllib with the global timeout. Set it to 60 seconds # to prevent
network related stuckness issues.
URL: https://github.com/apache/beam/pull/9401#discussion_r316816017
##########
File path: sdks/python/apache_beam/internal/gcp/auth.py
##########
@@ -32,6 +33,10 @@
except ImportError:
GceAssertionCredentials = None
+# apitools use urllib with the global timeout. Set it to 60 seconds
+# to prevent network related stuckness issues.
+socket.setdefaulttimeout(60)
+
Review comment:
I am not sure. Adding a log statement here. I should be able to run a job
and look and figure out from the logs.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 299617)
Time Spent: 2h 40m (was: 2.5h)
> urlopen calls could get stuck without a timeout
> -----------------------------------------------
>
> Key: BEAM-7616
> URL: https://issues.apache.org/jira/browse/BEAM-7616
> Project: Beam
> Issue Type: Bug
> Components: sdk-py-core
> Reporter: Ahmet Altay
> Assignee: Udi Meiri
> Priority: Blocker
> Fix For: 2.14.0, 2.16.0
>
> Time Spent: 2h 40m
> Remaining Estimate: 0h
>
--
This message was sent by Atlassian Jira
(v8.3.2#803003)