Skip to content
This repository has been archived by the owner on Apr 29, 2023. It is now read-only.

Error/Stuck when downloading china demos? #30

Open
zacharykkkk opened this issue Apr 23, 2020 · 14 comments
Open

Error/Stuck when downloading china demos? #30

zacharykkkk opened this issue Apr 23, 2020 · 14 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@zacharykkkk
Copy link

zacharykkkk commented Apr 23, 2020

Please read this comment below instead.






  • Original issue:
Requested Overwatch case
Downloading case 3409316132287414618 from url http://replay228.wmsj.cn/730/003409313158022562053_0745470960.dem.bz2
events.js:292
      throw er; // Unhandled 'error' event
      ^

Error: getaddrinfo EAI_AGAIN replay228.wmsj.cn
    at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:66:26)
Emitted 'error' event on Request instance at:
    at Request.onRequestError (C:\overwatch\node_modules\request\request.js:881:8)
    at ClientRequest.emit (events.js:315:20)
    at Socket.socketErrorListener (_http_client.js:432:9)
    at Socket.emit (events.js:315:20)
    at emitErrorNT (internal/streams/destroy.js:84:8)
    at processTicksAndRejections (internal/process/task_queues.js:84:21) {
  errno: -3001,
  code: 'EAI_AGAIN',
  syscall: 'getaddrinfo',
  hostname: 'replay228.wmsj.cn'
}

Tried using a US VPN, still randomly downloads China demos. Any idea what's up?

And it gets stuck at downloading case for a long time, before generating the error.

@BeepIsla
Copy link
Owner

Just because you are in the US or anywhere doesn't mean you can't get demos to review from China.

I was able to download this demo just fine.

EAI_AGAIN is a DNS lookup timed out error, means it is a network connectivity error or proxy related error.

@zacharykkkk
Copy link
Author

Sorry I think I copied the wrong code. This is the actual one.

`Downloading case 3409408527771369573 from url http://replay233.wmsj.cn/730/003409406294388375584_0068853565.dem.bz2
Finished downloading 3409408527771369573, unpacking...
internal/streams/legacy.js:61
throw er; // Unhandled stream error in pipe.
^

TypeError: Cannot read property '0' of undefined
at f (C:\overwatch\node_modules\unbzip2-stream\lib\bit_iterator.js:30:34)
at Object.bzip2.decompress (C:\overwatch\node_modules\unbzip2-stream\lib\bzip2.js:283:28)
at decompressBlock (C:\overwatch\node_modules\unbzip2-stream\index.js:30:29)
at decompressAndQueue (C:\overwatch\node_modules\unbzip2-stream\index.js:47:20)
at Stream.end (C:\overwatch\node_modules\unbzip2-stream\index.js:82:17)
at _end (C:\overwatch\node_modules\through\index.js:65:9)
at Stream.stream.end (C:\overwatch\node_modules\through\index.js:74:5)
at ReadStream.onend (_stream_readable.js:673:10)
at Object.onceWrapper (events.js:421:28)
at ReadStream.emit (events.js:327:22)
at endReadableNT (_stream_readable.js:1201:12)
at processTicksAndRejections (internal/process/task_queues.js:84:21)`

@BeepIsla
Copy link
Owner

If this is still an issue: Can you try downloading the demo manually? Just click the link and see if you can play it in CSGO's demo viewer.

@zacharykkkk
Copy link
Author

it does work but not on the cmd prompt

@BeepIsla BeepIsla added bug Something isn't working help wanted Extra attention is needed labels Jul 2, 2020
@Borlax2
Copy link

Borlax2 commented Aug 25, 2020

same issue since morning, couldn't download a single demo, all failed:

TypeError: Cannot read property '0' of undefined

@BeepIsla BeepIsla mentioned this issue Aug 27, 2020
Closed
@BeepIsla
Copy link
Owner

Released version 2.0 - This might be fixed or not, re-open if not fixed.

@Borlax2
Copy link

Borlax2 commented Aug 29, 2020

Running 10 BOTS accounts, 7 to 8 of them taking too long to download the demo, and once the demo downloaded, I get the below error:
TypeError: Cannot read property '0' of undefined

(New OverWatch BOT Version 2.0)
One of the Demo links: http://replay233.wmsj.cn/730/003433116856766955622_1950165108.dem.bz2

@BeepIsla
Copy link
Owner

BeepIsla commented Aug 29, 2020

Perfect World downloads are extremely slow, they seem to be limiting downloads to ~200 KB/s.

I am unsure why unpacking the demo keeps failing and why its only for Perfect World demos.

@BeepIsla BeepIsla reopened this Aug 29, 2020
@Borlax2
Copy link

Borlax2 commented Aug 29, 2020

Don't ask me, Ask China :D

@MackyReborn
Copy link

Is this due to the fact that perfect world demos are of a higher tickrate and the buffer isn't big enough to hold the data?

@BeepIsla
Copy link
Owner

I never heard if PW demos being higher tickrate, I doubt it. Even if they are bigger JS buffers are dynamic, if more size is needed it just makes more

@DJMarkus1337
Copy link

@BeepIsla you have discord ?

@DJMarkus1337
Copy link

I wanted to ask something on private

@BeepIsla
Copy link
Owner

I do not give out my Discord. Whatever you want I am not interested.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

5 participants