Always get "socket hang up" error when i make requestPosted on: 11/06/18 11:39AM
When I'm making HEAD request to get size of the photo I always get "socket hang up" error.
Using axios, request (NodeJs)
But It works when I use proxy.
Error: socket hang up
at TLSSocket.onHangUp (_tls_wrap.js:1148:19)
at Object.onceWrapper (events.js:313:30)
at emitNone (events.js:111:20)
at TLSSocket.emit (events.js:208:7)
at endReadableNT (_stream_readable.js:1064:12)
at _combinedTickCallback (internal/process/next_tick.js:139:11)
at process._tickCallback (internal/process/next_tick.js:181:9)
code: 'ECONNRESET'
When I'm making requst with curl from same machine it's OK
curl -Is
simg3.gelbooru.com/sample...3b8e56eabfbaa0be6f5ff.jpgHTTP/1.1 200 OK
Date: Tue, 06 Nov 2018 17:17:11 GMT
Content-Type: image/jpeg
Content-Length: 118262
Connection: keep-alive
ect.
API works well.