Subject: Re: your mail
From: Ondřej Jirman
Date: Fri, 18 Dec 2020 10:46:03 +0100
On Fri, Dec 18, 2020 at 10:55:12AM +0800, Art Nikpal wrote:
> yes its depend of connection
> 
> for one provider i have
> 
> ```
> * Connection #0 to host g.api.mega.co.nz left intact
> *   Trying 94.24.36.14:80...03.7z: 0.00% - 0 bytes of 513.5 MiB
> * TCP_NODELAY set
> * Connected to gfs262n304.userstorage.mega.co.nz (94.24.36.14) port 80 (#0)
> > POST
> /dl/d_vh4RYcS7FilgLRBqY3iat3SRPAI2IPwtMlH1fWLbil-5D4m5W_efgcfi4POaBGjofWpU8aKGE1E6nWPIMVY9HJHtS2BczJTMWV2QECMiQmu4_FkvT5VY7ffaJfANdxyVBQPbiBpywgPRmW4BlW2Xyc35Fe2egsBW6rsMS73qdsV1143XOc-T_3trVmGRiooMcXnYcoMA8j0zkF60aPHXYIwof-lI3EQ_eYF7fllqfn1NOa-A/7053208-275488663
> HTTP/1.1
> Host: gfs262n304.userstorage.mega.co.nz
> Accept: */*
> Accept-Encoding: deflate, gzip, br
> User-Agent: Megatools (1.11.0)
> Content-Length: 0
> Content-Type: application/x-www-form-urlencoded
> 
> * Recv failure: Connection reset by peer
> * Closing connection 0
> WARNING: chunk download failed (CURL error: Failure when receiving data
> from the peer), re-trying after 2 seconds
> * Hostname gfs262n304.userstorage.mega.co.nz was found in DNS cache
> *   Trying 94.24.36.14:80...
> * TCP_NODELAY set
> ```
> 
> but with VPN all works
> 
> but same time mega works always via browser for both connections
> 
> whats different

You'd need to ask your internet provider about that. You can also
try making megatools use TLS for encrypted data download too. Maybe
it will help.

https://megous.com/git/megatools/tree/lib/mega.c

  sed s/ssl=0/ssl=1/ lib/mega.c

regards,
	o.

> 
> On Mon, Dec 14, 2020 at 2:46 PM Ondřej Jirman <megatools@megous.com> wrote:
> 
> > Hi,
> >
> > On Mon, Dec 14, 2020 at 10:54:55AM +0800, Art Nikpal wrote:
> > > hi have some bugs
> > >
> > >
> > > master@universe:/tmp/le$ megadl "
> > >
> > https://mega.nz/file/AmpBgbyR#eR1fISfGG9sbr-C7yhkp1bq5RpJ3eGo697cuqIdnHUo"
> > > WARNING: chunk download failed (CURL error: Failure when receiving data
> > > from the peer), re-trying after 2 seconds)
> > > WARNING: chunk download failed (CURL error: Failure when receiving data
> > > from the peer), re-trying after 4 seconds)
> > > WARNING: chunk download failed (CURL error: Failure when receiving data
> > > from the peer), re-trying after 8 seconds)
> >
> > mega.nz is not sending data for you. Not much I can do here. Maybe try
> > again
> > later.
> >
> > It seemed to have worked here:
> > https://megous.com/dl/tmp/ba2299fadb40635d.png
> >
> > regards,
> >         o.
> >
> > >
> > > i have check
> > > last version
> > > commit 3f59e274bad49bd7e4edfc1146308fdfc4b68bd3 (HEAD -> master,
> > > origin/master, origin/HEAD)
> > > Author: ivesen <ivesen@ivesen.moe>
> > > Date:   Sun Nov 8 20:00:26 2020 +0100
> > >
> > >     add support for newstyle folders
> >