enricostara / telegram-mt-node

Telegram MTProto library (javascript, node.js)
MIT License
77 stars 25 forks source link

[TypeError: "list" argument must be an Array of Buffers], occurs after POST 200 OK #16

Open benhultin-cc opened 8 years ago

benhultin-cc commented 8 years ago

I am getting this error after performing successful POST to telegram,

Uncaught TypeError: "list" argument must be an Array of Buffers

issue occurs in Buffer.concat = function concat (list, length) {}

My request headers:

Accept:*/* Accept-Encoding:gzip, deflate Accept-Language:en-US,en;q=0.8 Cache-Control:no-cache Connection:keep-alive Content-Length:40 Host:149.154.167.40:443 Origin:null Pragma:no-cache User-Agent:Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.87 Safari/537.36

my response headers: Access-Control-Allow-Headers:origin, content-type Access-Control-Allow-Methods:POST, OPTIONS Access-Control-Allow-Origin:* Access-Control-Max-Age:1728000 Cache-control:no-store Connection:keep-alive Content-length:84 Content-type:application/octet-stream Pragma:no-cache

status code 200 OK

vishnuSoftware commented 7 years ago

Same issue i am also facing can anyone solve this issue.......:(