<div dir="ltr"><div>Hi,</div><div><br></div><div>When doing a few requests to the Sentinel 2 bucket of Google (<a href="https://cloud.google.com/storage/docs/public-datasets/sentinel-2">https://cloud.google.com/storage/docs/public-datasets/sentinel-2</a>) we have been getting 503 Responses when using the automatic authentication. See the end of this email for the full output.</div><div><br></div><div>This behavior goes away when using e.g. the GS_ACCESS_KEY_ID/GS_SECRET_ACCESS_KEY authentication method.</div><div><br></div><div>The Service account this machine is running with has "Full Access to All Cloud APIs"<br></div><div><br></div><div>Not sure if this is a gdal problem or actually a google internal issue since accessing our own buckets works fine.<br></div><div><br></div><div>Best,<br></div><div>Christoph</div><div><br></div><div>Output:</div><div>export CPL_DEBUG=ON<br></div><div>gdalinfo /vsigs/gcp-public-data-sentinel-2/tiles/29/T/NE/S2B_MSIL1C_20170719T112119_N0205_R037_T29TNE_20170719T112511.SAFE/GRANULE/L1C_T29TNE_A001922_20170719T112511/IMG_DATA/T29TNE_20170719T112119_B01.jp2</div><div><br></div><div>HTTP: Fetch(<a href="http://metadata.google.internal/computeMetadata/v1/instance/service-accounts/default/token" target="_blank">http://metadata.google.internal/computeMetadata/v1/instance/service-accounts/default/token</a>)<br>HTTP: libcurl/7.65.3 OpenSSL/1.1.1c zlib/1.2.5 libssh2/1.8.2<br>HTTP: GDAL was built against curl 7.64.1, but is running against 7.65.3.<br>HTTP: These HTTP headers were set: Metadata-Flavor: Google<br>GOA2: Refresh Token Response:<br>{"access_token":"REMOVED IN EMAIL","expires_in":2877,"token_type":"Bearer"}<br>GOA2: Access Token : 'REMOVED IN EMAIL'<br>GS: Using GCE inherited permissions<br>GS: <html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"/><title>Sorry...</title><style>
 body { font-family: verdana, arial, sans-serif; background-color: #fff;
 color: #000; }</style></head><body><div><table><tr><td><b><font
 face=sans-serif size=10><font 
color=#4285f4>G</font><font 
color=#ea4335>o</font><font 
color=#fbbc05>o</font><font 
color=#4285f4>g</font><font 
color=#34a853>l</font><font 
color=#ea4335>e</font></font></b></td><td
 style="text-align: left; vertical-align: bottom; padding-bottom: 15px; 
width: 50%"><div style="border-bottom: 1px solid 
#dfdfdf;">Sorry...</div></td></tr></table></div><div
 style="margin-left: 4em;"><h1>We're 
sorry...</h1><p>... but your computer or network may be 
sending automated queries. To protect our users, we can't process your 
request right now.</p></div><div style="margin-left: 
4em;">See <a href="<a href="https://support.google.com/websearch/answer/86640" target="_blank">https://support.google.com/websearch/answer/86640</a>">Google Help</a> for more information.<br/><br/></div><div style="text-align: center; border-top: 1px solid #dfdfdf;"><a href="<a href="https://www.google.com" target="_blank">https://www.google.com</a>">Google Home</a></div></body></html><br>VSICURL: GetFileSize(<a href="https://storage.googleapis.com/gcp-public-data-sentinel-2/tiles/29/T/NE/S2B_MSIL1C_20170719T112119_N0205_R037_T29TNE_20170719T112511.SAFE/GRANULE/L1C_T29TNE_A001922_20170719T112511/IMG_DATA/T29TNE_20170719T112119_B01.jp2)=0" target="_blank">https://storage.googleapis.com/gcp-public-data-sentinel-2/tiles/29/T/NE/S2B_MSIL1C_20170719T112119_N0205_R037_T29TNE_20170719T112511.SAFE/GRANULE/L1C_T29TNE_A001922_20170719T112511/IMG_DATA/T29TNE_20170719T112119_B01.jp2)=0</a>  response_code=503<br>GS: <html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"/><title>Sorry...</title><style>
 body { font-family: verdana, arial, sans-serif; background-color: #fff;
 color: #000; }</style></head><body><div><table><tr><td><b><font
 face=sans-serif size=10><font 
color=#4285f4>G</font><font 
color=#ea4335>o</font><font 
color=#fbbc05>o</font><font 
color=#4285f4>g</font><font 
color=#34a853>l</font><font 
color=#ea4335>e</font></font></b></td><td
 style="text-align: left; vertical-align: bottom; padding-bottom: 15px; 
width: 50%"><div style="border-bottom: 1px solid 
#dfdfdf;">Sorry...</div></td></tr></table></div><div
 style="margin-left: 4em;"><h1>We're 
sorry...</h1><p>... but your computer or network may be 
sending automated queries. To protect our users, we can't process your 
request right now.</p></div><div style="margin-left: 
4em;">See <a href="<a href="https://support.google.com/websearch/answer/86640" target="_blank">https://support.google.com/websearch/answer/86640</a>">Google Help</a> for more information.<br/><br/></div><div style="text-align: center; border-top: 1px solid #dfdfdf;"><a href="<a href="https://www.google.com" target="_blank">https://www.google.com</a>">Google Home</a></div></body></html><br>ERROR 11: HTTP response code: 503<br>gdalinfo failed - unable to open '/vsigs/gcp-public-data-sentinel-2/tiles/29/T/NE/S2B_MSIL1C_20170719T112119_N0205_R037_T29TNE_20170719T112511.SAFE/GRANULE/L1C_T29TNE_A001922_20170719T112511/IMG_DATA/T29TNE_20170719T112119_B01.jp2'.</div><div><br></div><div><br>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div style="font-size:12px;color:rgb(136,136,136);font-family:Helvetica;line-height:normal;margin:0in 0in 0.0001pt"><span style="line-height:24px;font-family:Arial,sans-serif"><font color="#45818e"><b>Christoph Paulik</b></font></span><span style="line-height:24px;color:rgb(69,129,142);font-family:Arial,sans-serif"> </span><span style="line-height:24px;font-family:Arial,sans-serif"><font color="#ff9900">//</font></span><span style="line-height:24px;color:rgb(69,129,142);font-family:Arial,sans-serif"> Head of Infrastructure<br></span></div><span style="font-size:12px"><div style="line-height:normal;margin:0in 0in 0.0001pt"><span style="color:rgb(34,34,34);font-family:Arial,sans-serif;line-height:18pt"><font color="#3d85c6">VanderSat</font></span><span style="color:rgb(136,136,136);font-family:Arial,sans-serif;line-height:18pt"> </span><span style="color:rgb(34,34,34);font-family:Arial,sans-serif;line-height:18pt"><font color="#ff9900">//</font></span><span style="font-family:Arial,sans-serif;line-height:18pt"><font color="#222222"> </font><font color="#3d85c6">Satellite observed water data. Globally. Daily.</font></span></div><div style="color:rgb(34,34,34);line-height:normal;margin:0in 0in 0.0001pt"><span style="font-family:Arial,sans-serif;line-height:18pt"><div style="font-family:Helvetica;line-height:normal;margin:0in 0in 0.0001pt"><span style="font-family:Arial,sans-serif;line-height:18pt"><font color="#3d85c6"><a href="https://maps.google.com/?q=Wilhelminastraat+43a,+2011+VK,+Haarlem+(NL),+The+Netherlands&entry=gmail&source=g" style="color:rgb(17,85,204)" target="_blank">Wilhelminastraat 43a, 2011 VK, Haarlem (NL), The Netherlands</a></font></span></div></span></div></span><div style="color:rgb(0,0,0);font-size:12px;line-height:normal;margin:0in 0in 0.0001pt"><span style="color:rgb(136,136,136);font-family:Arial,sans-serif;line-height:18pt"><font color="#ff9900"><b>M</b></font></span><span style="color:rgb(92,102,112);font-family:Arial,sans-serif;line-height:18pt"> </span><font style="color:rgb(34,34,34)"><span style="color:rgb(136,136,136);font-family:Arial,sans-serif;line-height:18pt"> </span><font color="#3d85c6"><span style="font-family:Arial,sans-serif;line-height:18pt">+31 6 </span><font style="font-family:Arial,sans-serif;line-height:24px">18271928 </font></font></font><span style="font-family:Arial,sans-serif;color:rgb(136,136,136);line-height:18pt"><font color="#ff9900"><b>W</b></font></span><span style="font-family:Arial,sans-serif;color:rgb(92,102,112);line-height:18pt"> </span><font color="#45818e"><span style="font-family:Arial,sans-serif;line-height:18pt"> </span></font><a href="http://www.vandersat.com/" style="color:rgb(17,85,204);font-family:Arial,sans-serif" target="_blank"><font color="#3d85c6">www.vandersat.com</font></a></div><p style="color:rgb(0,0,0);font-size:12px;font-family:Calibri,sans-serif;line-height:normal;margin:0in 0in 0.0001pt"><span style="color:rgb(34,34,34);font-family:arial,sans-serif"></span></p><div style="color:rgb(0,0,0);font-size:12px;font-family:Helvetica;line-height:normal;margin:0in 0in 0.0001pt">--------------------------------------------------------------------------------------</div></div></div></div></div></div></div>