[GH-ISSUE #90] Fatal error: Invalid string length #291

Closed
opened 2026-03-15 02:53:11 +03:00 by kerem · 1 comment
Owner

Originally created by @SuperDisk on GitHub (Nov 20, 2016).
Original GitHub issue: https://github.com/asapach/peerflix-server/issues/90

I can run the program fine by installing via npm and running peerflix-server, but when I clone the git repository, run npm install and bower install, then try to stream a video file, the server console (grunt serve) waits for a little while before outputting Fatal error: Invalid string length and no other info... Not really sure what's going on. For what it's worth, if I start the stream in my browser with the peerflix-server started instance, close it and switch to the grunt serve version, I can skip around in the file correctly, implying it's streaming. It just can't get it started or something.

I'm using Windows 10 and Node 6, if it matters.

Edit: Non-video files can still be downloaded like normal (images, text files, etc)

Originally created by @SuperDisk on GitHub (Nov 20, 2016). Original GitHub issue: https://github.com/asapach/peerflix-server/issues/90 I can run the program fine by installing via `npm` and running `peerflix-server`, but when I clone the git repository, run `npm install` and `bower install`, then try to stream a video file, the server console (`grunt serve`) waits for a little while before outputting `Fatal error: Invalid string length` and no other info... Not really sure what's going on. For what it's worth, if I start the stream in my browser with the `peerflix-server` started instance, close it and switch to the `grunt serve` version, I can skip around in the file correctly, implying it's streaming. It just can't get it started or something. I'm using Windows 10 and Node 6, if it matters. Edit: Non-video files can still be downloaded like normal (images, text files, etc)
kerem closed this issue 2026-03-15 02:53:16 +03:00
Author
Owner

@asapach commented on GitHub (Jan 29, 2017):

Have you figured out what the issue was? Do you have any repro steps?

<!-- gh-comment-id:275940565 --> @asapach commented on GitHub (Jan 29, 2017): Have you figured out what the issue was? Do you have any repro steps?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/peerflix-server#291
No description provided.