You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opendal.apache.org by "Xuanwo (via GitHub)" <gi...@apache.org> on 2024/04/07 08:01:53 UTC

[I] gdrive test failed for refresh token [opendal]

Xuanwo opened a new issue, #4432:
URL: https://github.com/apache/opendal/issues/4432

   ```
   Error:    BlockingWriteTest.testBlockingReadFull:59 » OpenDAL Unexpected (persistent) at write => <!DOCTYPE html>
   <html lang=en>
     <meta charset=utf-8>
     <meta name=viewport content="initial-scale=1, minimum-scale=1, width=device-width">
     <title>Error 411 (Length Required)!!1</title>
     <style>
       *{margin:0;padding:0}html,code{font:15px/22px arial,sans-serif}html{background:#fff;color:#222;padding:15px}body{margin:7% auto 0;max-width:390px;min-height:180px;padding:30px 0 15px}* > body{background:url(//www.google.com/images/errors/robot.png) 100% 5px no-repeat;padding-right:205px}p{margin:11px 0 22px;overflow:hidden}ins{color:#777;text-decoration:none}a img{border:0}@media screen and (max-width:772px){body{background:none;margin-top:0;max-width:none;padding-right:0}}#logo{background:url(//www.google.com/images/branding/googlelogo/1x/googlelogo_color_150x54dp.png) no-repeat;margin-left:-5px}@media only screen and (min-resolution:192dpi){#logo{background:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) no-repeat 0% 0%/100% 100%;-moz-border-image:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) 0}}@media only screen and (-webkit-min-device-pixel-ratio:2){#logo{background:url(//www.google.com/images/branding/
 googlelogo/2x/googlelogo_color_150x54dp.png) no-repeat;-webkit-background-size:100% 100%}}#logo{display:inline-block;height:54px;width:150px}
     </style>
     <a href=//www.google.com/><span id=logo aria-label=Google></span></a>
     <p><b>411.</b> <ins>That’s an error.</ins>
     <p>POST requests require a <code>Content-length</code> header.  <ins>That’s all we know.</ins>
   
   
   Context:
      uri: https://oauth2.googleapis.com/token?refresh_token=***&client_id=***&client_secret=***&grant_type=refresh_token
      response: Parts { status: 411, version: HTTP/1.0, headers: {"content-type": "text/html; charset=UTF-8", "referrer-policy": "no-referrer", "content-length": "1564", "date": "Sun, 07 Apr 2024 05:37:36 GMT"} }
      service: gdrive
      path: 709ceb1f-9e68-456b-bdbd-a6d1c81097fb
   
   Backtrace:
      0: opendal::types::error::Error::new
                at /home/runner/work/opendal/opendal/core/src/types/error.rs:337:24
      1: opendal::services::gdrive::error::parse_error::{{closure}}
                at /home/runner/work/opendal/opendal/core/src/services/gdrive/error.rs:64:19
      2: opendal::services::gdrive::core::GdriveSigner::sign::{{closure}}
                at /home/runner/work/opendal/opendal/core/src/services/gdrive/core.rs:325:50
      3: <opendal::services::gdrive::core::GdrivePathQuery as opendal::raw::path_cache::PathQuery>::query::{{closure}}
   ```


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] gdrive test failed for refresh token [opendal]

Posted by "Xuanwo (via GitHub)" <gi...@apache.org>.
Xuanwo closed issue #4432: gdrive test failed for refresh token
URL: https://github.com/apache/opendal/issues/4432


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org