Skip to content

Can't download petscy4py: "Connection reset by peer" #910

Open

Description

@ThomasPKelly

Hi,

I'm installing fenics using hashdist. When it comes to installing petscy, I get the following error message:

Downloading https://bitbucket.org/petsc/petsc4py/downloads/petsc4py-3.6.0.tar.gz...
[CRITICAL] [Errno 104] Connection reset by peer

When I try the website, I have no problem downloading the tar file manually.

Thomas

Activity

  1. jcftang commented on Jan 17, 2016

    @jcftang
    Member

    Can you try with a -v to get some more verbose output? It could have been a transient network problem.

  2. ThomasPKelly commented on Jan 17, 2016

    @ThomasPKelly
    Author

    Thanks for the reply,

    I have switched on verbose. Here is the stdout and stderr output.
    fen_out.txt
    fen_err.txt

  3. jcftang commented on Jan 17, 2016

    @jcftang
    Member

    Can you try a 'hit fetch https://bitbucket.org/petsc/petsc4py/downloads/petsc4py-3.6.0.tar.gz' and see if you get the same error? it may be worth checking which version of python you are using, I think there were SSL issues recently, it maybe a case of just disabling the SSL checks just for that one package.

  4. jcftang commented on Jan 17, 2016

    @jcftang
    Member

    FYI -

    ⌂63% [jtang:~/develop/hashstack2] master(1)+* 1 ± hit fetch https://bitbucket.org/petsc/petsc4py/downloads/petsc4py-3.6.0.tar.gz
    Downloading https://bitbucket.org/petsc/petsc4py/downloads/petsc4py-3.6.0.tar.gz...
    [=========================] 100.0% (1.5MB of 1.5MB) 1.121MB/s ETA 0s
    
    sources:
    - key: tar.gz:oisw2tnx6vupm6eiqsnav3xrnzikgmkr
      url: https://bitbucket.org/petsc/petsc4py/downloads/petsc4py-3.6.0.tar.gz
    

    I seem to be able to get that file without problems from where I am

  5. johannesring commented on Jan 18, 2016

    @johannesring
    Contributor

    I also have no problems downloading that file with HashDist.

    One workaround you could use is to download the file manually and then use hit fetch on the local file to add it to the HashDist source cache:

    wget https://bitbucket.org/petsc/petsc4py/downloads/petsc4py-3.6.0.tar.gz
    hit fetch petsc4py-3.6.0.tar.gz
    
  6. ahmadia commented on Jan 18, 2016

    @ahmadia
    Contributor

    I'm guessing it's a proxy issue. +1 on @johannesring's suggestion.

  7. ThomasPKelly commented on Jan 18, 2016

    @ThomasPKelly
    Author

    @jcftang hit fetch gives the same error unfortunately.
    @johannesring Grabbing the file manually and then fetching it from my directory worked!

    A question: Is there a reason wget was able to obtain the file, while hit fetch wasn't?

  8. ThomasPKelly commented on Jan 18, 2016

    @ThomasPKelly
    Author

    P.S. This the the output when running wget

    --2016-01-18 15:51:40--  https://bitbucket.org/petsc/petsc4py/downloads/petsc4py-3.6.0.tar.gz
    Resolving bitbucket.org (bitbucket.org)... 104.192.143.1, 104.192.143.3, 104.192.143.2
    Connecting to bitbucket.org (bitbucket.org)|104.192.143.1|:443... connected.
    HTTP request sent, awaiting response... 302 FOUND
    Location: https://bbuseruploads.s3.amazonaws.com/petsc/petsc4py/downloads/petsc4py-3.6.0.tar.gz?Signature=EpRaQ6rR7zP866R9NldVF2mr%2F2E%3D&Expires=1453134046&AWSAccessKeyId=AKIAIWY5XSVPZPDQYRQQ&response-content-disposition=attachment%3B%20filename%3D%22petsc4py-3.6.0.tar.gz%22 [following]
    --2016-01-18 15:51:40--  https://bbuseruploads.s3.amazonaws.com/petsc/petsc4py/downloads/petsc4py-3.6.0.tar.gz?Signature=EpRaQ6rR7zP866R9NldVF2mr%2F2E%3D&Expires=1453134046&AWSAccessKeyId=AKIAIWY5XSVPZPDQYRQQ&response-content-disposition=attachment%3B%20filename%3D%22petsc4py-3.6.0.tar.gz%22
    Resolving bbuseruploads.s3.amazonaws.com (bbuseruploads.s3.amazonaws.com)... 54.231.81.184
    Connecting to bbuseruploads.s3.amazonaws.com (bbuseruploads.s3.amazonaws.com)|54.231.81.184|:443... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 1606313 (1.5M) [application/x-tar]
    Saving to: ‘petsc4py-3.6.0.tar.gz.1’
    
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