Skip to content

Crash after 2 http erros : response 500 and response 0 #136

Open

Description

@kemperacc

Operating System : Ubuntu
Kernel: 3.2.0-31-generic

HTTP PUT "https://docs.google.com/feeds/upload/create-session/default/private/full/folder%3A0B3us34LvugybMUpOdTNyak8xdTA/contents?convert=false&upload_id=AEnB2UrNFYtuIBEGLejO1ZLtXPShPFzVYrdhQCzNhoNbLcr12LPUNwzuBcS8SGoTfWfcJlSqbM2aCIZeCgegvZRTThjlVuuZ_g"
HTTP response 500
resquest failed due to temperory error: 500. retrying in 5 seconds
HTTP PUT "https://docs.google.com/feeds/upload/create-session/default/private/full/folder%3A0B3us34LvugybMUpOdTNyak8xdTA/contents?convert=false&upload_id=AEnB2UrNFYtuIBEGLejO1ZLtXPShPFzVYrdhQCzNhoNbLcr12LPUNwzuBcS8SGoTfWfcJlSqbM2aCIZeCgegvZRTThjlVuuZ_g"
HTTP response 0
exception: /build/buildd/grive-0.3.0/libgrive/src/http/CurlAgent.cc(170): Throw in function long int gr::http::CurlAgent::ExecCurl(const string&, gr::http::Receivable_, const gr::http::Header&)
Dynamic exception type: boost::exception_detail::clone_implgr::http::Error
std::exception::what: std::exception
[gr::expt::BacktraceTag_] = #0 0x46582f grive gr::Exception::Exception()
#1 0x457b06 grive gr::http::CurlAgent::ExecCurl(std::string const&, gr::http::Receivable*, gr::http::Header const&)
#2 0x45801a grive gr::http::CurlAgent::Put(std::string const&, gr::StdioFile&, gr::http::Receivable*, gr::http::Header const&)
#3 0x45f351 grive gr::AuthAgent::Put(std::string const&, gr::StdioFile&, gr::http::Receivable*, gr::http::Header const&)
#4 0x44f61d grive gr::Resource::Upload(gr::http::Agent*, std::string const&, bool)
#5 0x44fea0 grive gr::Resource::Create(gr::http::Agent*)
#6 0x4517d9 grive gr::Resource::SyncSelf(gr::http::Agent*, gr::Json const&)
#7 0x451a78 grive gr::Resource::Sync(gr::http::Agent*, gr::DateTime&, gr::Json const&)
#8 0x45205b grive boost::_bi::bind_t<void, boost::_mfi::mf3<void, gr::Resource, gr::http::Agent*, gr::DateTime&, gr::Json const&>, boost::_bi::list4boost::arg<1, boost::_bi::valuegr::http::Agent*, boost::reference_wrappergr::DateTime, boost::_bi::valuegr::Json > > std::for_each<__gnu_cxx::__normal_iterator<gr::Resource**, std::vector<gr::Resource*, std::allocatorgr::Resource* > >, boost::_bi::bind_t<void, boost::_mfi::mf3<void, gr::Resource, gr::http::Agent*, gr::DateTime&, gr::Json const&>, boost::_bi::list4boost::arg<1, boost::_bi::valuegr::http::Agent*, boost::reference_wrappergr::DateTime, boost::_bi::valuegr::Json > > >(__gnu_cxx::__normal_iterator<gr::Resource**, std::vector<gr::Resource*, std::allocatorgr::Resource* > >, __gnu_cxx::__normal_iterator<gr::Resource**, std::vector<gr::Resource*, std::allocatorgr::Resource* > >, boost::_bi::bind_t<void, boost::_mfi::mf3<void, gr::Resource, gr::http::Agent*, gr::DateTime&, gr::Json const&>, boost::_bi::list4boost::arg<1, boost::_bi::valuegr::http::Agent*, boost::reference_wrappergr::DateTime, boost::_bi::valuegr::Json > >)
#9 0x451b39 grive gr::Resource::Sync(gr::http::Agent*, gr::DateTime&, gr::Json const&)
#10 0x45205b grive boost::_bi::bind_t<void, boost::_mfi::mf3<void, gr::Resource, gr::http::Agent*, gr::DateTime&, gr::Json const&>, boost::_bi::list4boost::arg<1, boost::_bi::valuegr::http::Agent*, boost::reference_wrappergr::DateTime, boost::_bi::valuegr::Json > > std::for_each<__gnu_cxx::__normal_iterator<gr::Resource**, std::vector<gr::Resource*, std::allocatorgr::Resource* > >, boost::_bi::bind_t<void, boost::_mfi::mf3<void, gr::Resource, gr::http::Agent*, gr::DateTime&, gr::Json const&>, boost::_bi::list4boost::arg<1, boost::_bi::valuegr::http::Agent*, boost::reference_wrappergr::DateTime, boost::_bi::valuegr::Json > > >(__gnu_cxx::__normal_iterator<gr::Resource**, std::vector<gr::Resource*, std::allocatorgr::Resource* > >, __gnu_cxx::__normal_iterator<gr::Resource**, std::vector<gr::Resource*, std::allocatorgr::Resource* > >, boost::_bi::bind_t<void, boost::_mfi::mf3<void, gr::Resource, gr::http::Agent*, gr::DateTime&, gr::Json const&>, boost::_bi::list4boost::arg<1, boost::_bi::valuegr::http::Agent*, boost::reference_wrappergr::DateTime, boost::_bi::valuegr::Json > >)
#11 0x451b39 grive gr::Resource::Sync(gr::http::Agent*, gr::DateTime&, gr::Json const&)
#12 0x45205b grive boost::_bi::bind_t<void, boost::_mfi::mf3<void, gr::Resource, gr::http::Agent*, gr::DateTime&, gr::Json const&>, boost::_bi::list4boost::arg<1, boost::_bi::valuegr::http::Agent*, boost::reference_wrappergr::DateTime, boost::_bi::valuegr::Json > > std::for_each<__gnu_cxx::__normal_iterator<gr::Resource**, std::vector<gr::Resource*, std::allocatorgr::Resource* > >, boost::_bi::bind_t<void, boost::_mfi::mf3<void, gr::Resource, gr::http::Agent*, gr::DateTime&, gr::Json const&>, boost::_bi::list4boost::arg<1, boost::_bi::valuegr::http::Agent*, boost::reference_wrappergr::DateTime, boost::_bi::valuegr::Json > > >(__gnu_cxx::__normal_iterator<gr::Resource**, std::vector<gr::Resource*, std::allocatorgr::Resource* > >, __gnu_cxx::__normal_iterator<gr::Resource**, std::vector<gr::Resource*, std::allocatorgr::Resource* > >, boost::_bi::bind_t<void, boost::_mfi::mf3<void, gr::Resource, gr::http::Agent*, gr::DateTime&, gr::Json const&>, boost::_bi::list4boost::arg<1, boost::_bi::valuegr::http::Agent*, boost::reference_wrappergr::DateTime, boost::_bi::valuegr::Json > >)
#13 0x451b39 grive gr::Resource::Sync(gr::http::Agent*, gr::DateTime&, gr::Json const&)
#14 0x45205b grive boost::_bi::bind_t<void, boost::_mfi::mf3<void, gr::Resource, gr::http::Agent*, gr::DateTime&, gr::Json const&>, boost::_bi::list4boost::arg<1, boost::_bi::valuegr::http::Agent*, boost::reference_wrappergr::DateTime, boost::_bi::valuegr::Json > > std::for_each<__gnu_cxx::__normal_iterator<gr::Resource**, std::vector<gr::Resource*, std::allocatorgr::Resource* > >, boost::_bi::bind_t<void, boost::_mfi::mf3<void, gr::Resource, gr::http::Agent*, gr::DateTime&, gr::Json const&>, boost::_bi::list4boost::arg<1, boost::_bi::valuegr::http::Agent*, boost::reference_wrappergr::DateTime, boost::_bi::valuegr::Json > > >(__gnu_cxx::__normal_iterator<gr::Resource**, std::vector<gr::Resource*, std::allocatorgr::Resource* > >, __gnu_cxx::__normal_iterator<gr::Resource**, std::vector<gr::Resource*, std::allocatorgr::Resource* > >, boost::_bi::bind_t<void, boost::_mfi::mf3<void, gr::Resource, gr::http::Agent*, gr::DateTime&, gr::Json const&>, boost::_bi::list4boost::arg<1, boost::_bi::valuegr::http::Agent*, boost::reference_wrappergr::DateTime, boost::_bi::valuegr::Json > >)
#15 0x451b39 grive gr::Resource::Sync(gr::http::Agent*, gr::DateTime&, gr::Json const&)
#16 0x45205b grive boost::_bi::bind_t<void, boost::_mfi::mf3<void, gr::Resource, gr::http::Agent*, gr::DateTime&, gr::Json const&>, boost::_bi::list4boost::arg<1, boost::_bi::valuegr::http::Agent*, boost::reference_wrappergr::DateTime, boost::_bi::valuegr::Json > > std::for_each<__gnu_cxx::__normal_iterator<gr::Resource**, std::vector<gr::Resource*, std::allocatorgr::Resource* > >, boost::_bi::bind_t<void, boost::_mfi::mf3<void, gr::Resource, gr::http::Agent*, gr::DateTime&, gr::Json const&>, boost::_bi::list4boost::arg<1, boost::_bi::valuegr::http::Agent*, boost::reference_wrappergr::DateTime, boost::_bi::valuegr::Json > > >(__gnu_cxx::__normal_iterator<gr::Resource**, std::vector<gr::Resource*, std::allocatorgr::Resource* > >, __gnu_cxx::__normal_iterator<gr::Resource**, std::vector<gr::Resource*, std::allocatorgr::Resource* > >, boost::_bi::bind_t<void, boost::_mfi::mf3<void, gr::Resource, gr::http::Agent*, gr::DateTime&, gr::Json const&>, boost::_bi::list4boost::arg<1, boost::_bi::valuegr::http::Agent*, boost::reference_wrappergr::DateTime, boost::_bi::valuegr::Json > >)
#17 0x451b39 grive gr::Resource::Sync(gr::http::Agent*, gr::DateTime&, gr::Json const&)
#18 0x439450 grive gr::State::Sync(gr::http::Agent*, gr::Json const&)
#19 0x43c49b grive gr::Drive::Update()
#20 0x4278ec grive Main(int, char**)
#21 0x4245b9 grive main
#22 0x7f4d42dc976d /lib/x86_64-linux-gnu/libc.so.6 __libc_start_main
#23 0x425321 grive

[gr::expt::MsgTag_] = GnuTLS recv error (-9): A TLS packet with unexpected length was received.
[gr::http::CurlCodeTag_] = 56
[gr::http::UrlTag_] = https://docs.google.com/feeds/upload/create-session/default/private/full/folder%3A0B3us34LvugybMUpOdTNyak8xdTA/contents?convert=false&upload_id=AEnB2UrNFYtuIBEGLejO1ZLtXPShPFzVYrdhQCzNhoNbLcr12LPUNwzuBcS8SGoTfWfcJlSqbM2aCIZeCgegvZRTThjlVuuZ_g
[gr::http::HeaderTag_] = Expect:
Accept:
Authorization: Bearer ya29.AHES6ZT4wol0GzHqM5b5XTnvF2GzW4dmTZz60qsRPqCettEmIlsTCro
GData-Version: 3.0

Activity

  1. ylite commented on Dec 21, 2012

    @ylite

    Look at this:
    https://bugs.launchpad.net/ubuntu/+source/pycurl/+bug/926548

    Is there a way to have grive use OpenSSL instead of GnuTLS? I'm using Ubuntu 12.04 and GnuTLS is known to be screwed up there.

  2. ylite commented on Dec 21, 2012

    @ylite

    I have started this thread on askubuntu, hope it helps:
    http://askubuntu.com/questions/231335/upgrade-the-gnutls-in-use-by-12-04

  3. added a commit that references this issue on Sep 26, 2018
    a0aff5b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions