TRTHv2 rest API with request library in python

akhil
akhil Newcomer

Hi,

When using python 3.6 Conda with the request library we get a connection reset by peer after 6 mb download or if we direct download from AWS we get the same reset by peer after 248 mb.

Note if we use Linux this does not happen but only on Windows 10

Can you help?

Best Answer

  • @akhil,

    A few queries to help us investigate:

    • Are the Linux and Windows machines on the same network, do they connect to internet through the same firewall ?
    • Can you post the exact error message you receive ?
    • After how much time is the connection reset ?
    • Is this issue systematically reproducible, or does it vary (different time before reset, different received file size, etc.) ?
    • Which Python libraries are you using on Linux, respectively on Windows ?
    • Could you post your Python code so we could test it ?
    • Are you decompressing the data on the fly ? That is not recommended.

    A few suggestions:

    Hope this helps.