Public bug reported:

resquest failed due to auth token expired: 401. refreshing token
exception: 
/build/grive2-bhMj32/grive2-0.4.0/libgrive/src/json/JsonParser.cc(169): Throw 
in function void gr::JsonParser::Parse(const char*, std::size_t)
Dynamic exception type: 
boost::exception_detail::clone_impl<gr::JsonParser::Error>
[gr::expt::BacktraceTag*] = #0 0x471390 grive gr::Exception::Exception()
#1 0x45f3f1 grive gr::JsonParser::Error::Error()
#2 0x45e670 grive gr::JsonParser::Parse(char const*, unsigned long)
#3 0x46bc3d grive gr::http::ValResponse::Write(char const*, unsigned long)
#4 0x7fcb578bacd0 /usr/lib/x86_64-linux-gnu/libcurl.so.4 
#5 0x7fcb578cf650 /usr/lib/x86_64-linux-gnu/libcurl.so.4 
#6 0x7fcb578d89dc /usr/lib/x86_64-linux-gnu/libcurl.so.4 
#7 0x7fcb578d9181 /usr/lib/x86_64-linux-gnu/libcurl.so.4 curl_multi_perform
#8 0x7fcb578d07b3 /usr/lib/x86_64-linux-gnu/libcurl.so.4 curl_easy_perform
#9 0x457938 grive gr::http::CurlAgent::ExecCurl(std::string const&, 
gr::DataStream*, gr::http::Header const&)
#10 0x457e05 grive gr::http::CurlAgent::Put(std::string const&, gr::File*, 
gr::DataStream*, gr::http::Header const&)
#11 0x45b5a7 grive gr::AuthAgent::Put(std::string const&, gr::File*, 
gr::DataStream*, gr::http::Header const&)
#12 0x453fa2 grive gr::v2::Syncer2::Upload(gr::Resource*)
#13 0x454ae0 grive gr::v2::Syncer2::Create(gr::Resource*)
#14 0x447ab7 grive gr::Resource::SyncSelf(gr::Syncer*, gr::Val const&)
#15 0x447db7 grive gr::Resource::Sync(gr::Syncer*, gr::DateTime&, gr::Val 
const&)
#16 0x447ed8 grive gr::Resource::Sync(gr::Syncer*, gr::DateTime&, gr::Val 
const&)
#17 0x447ed8 grive gr::Resource::Sync(gr::Syncer*, gr::DateTime&, gr::Val 
const&)
#18 0x447ed8 grive gr::Resource::Sync(gr::Syncer*, gr::DateTime&, gr::Val 
const&)
#19 0x442488 grive gr::State::Sync(gr::Syncer*, gr::Val const&)
#20 0x44b1d6 grive gr::Drive::Update()
#21 0x43124e grive Main(int, char**)
#22 0x42f18b grive main
#23 0x7fcb561fdec5 /lib/x86_64-linux-gnu/libc.so.6 __libc_start_main
#24 0x42fd8f grive 

[gr::JsonText*] = {
 "error": {
  "errors": [
   {
    "domain": "global",
    "reason": "authError",
    "message": "Invalid Credentials",
    "locationType": "header",
    "location": "Authorization"
   }
  ],
  "code": 401,
  "message": "Invalid Credentials"
 }
}

[gr::ParseErr*] = parse error: trailing garbage
                                       {  "error": {   "errors": [    
                     (right here) ------^

** Affects: grive (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1459793

Title:
  grive crashes when refreshing token

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grive/+bug/1459793/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to