question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Audio and video not downloading/working properly

See original GitHub issue

Hiya, I’m currently running my own instance of lolisafe, under a fork called Chensafe. No changes have been made to the codebase besides some api endpoints (ability to add bcrypt hash instead of setting password).

I’m having an issue with audio and video not properly downloading, where downloading it gets to a certain point, then stops, and just keeps trying to download but then fails. Another issue is that audio playback is not in order. It’ll basically skip back and forth when playing it in firefox.

image

C:\Users\Chen\Downloads>curl -o highlevel.mp3 https://safe.fleepy.tv/v0dNm0HZ.mp3
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
 70 7989k   70 5619k    0     0  92711      0  0:01:28  0:01:02  0:00:26 10604
curl: (56) Failure when receiving data from the peer

Any ideas to what’s happening here?

My current setup is a little… unusual than most people would set up their server. I have a linode server in Dallas, TX on their base tier (1GB Ram, 20gb storage), and some additional storage (80gb). That runs a Wireguard VPN, of which I have quite a few devices on, and that includes my windows server (Windows Server 2022), which runs chensafe. On the linode server, I have nginx to reverse proxy chensafe on port 8000 on the windows server.

Yes, very complicated i know. I can draw a diagram if needed.

My version of node is 16.16.0

My safe is hosted at https://safe.fleepy.tv Also forgot to note that I uploaded my files through sharex but i still get the same problem with the files if i upload it through the web interface.

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:17 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
flleeppyycommented, Sep 1, 2022

Yeah I am using cloudflare, but again it still happens without it, such as directly accessing it on the server via local host, or directly via ip

1reaction
samstarnescommented, Aug 23, 2022

Hello @flleeppyy, it’s me, the owner of 0x0. I have noticed this on my end. I’ll be honest, I haven’t updated my safe in quite some time but I’ll be sure to try to upgrade soon and see if this fixes the problem. Currently on git commit 08db3e55a82d1496ec1a1ed631c55318212ab7bf so it’s rather old.

To replicate this I’ve noticed if I attempt to download a file and close the tab quickly but upon reopening the tab the download begins. Same error with “0 bytes/sec.” Not sure what’s causing it but haven’t looked further into it. As for you, @BobbyWibowo, I’ll try to pinpoint what’s the deal is as well when I have the time.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshoot audio and video issues on your computer or ...
Running the audio troubleshooter may help resolve your issue, but it requires administrative access to your computer.
Read more >
Fix sound or audio problems in Windows - Microsoft Support
Find out how to fix sound or audio problems in Windows. ... Start by running the automated audio troubleshooter in the Get Help...
Read more >
10 Methods: How to Solve Audio File Not Playing
Part 1: Why Audio File Not Playing? · Audio Device Not Correctly Selected · Codecs Not Installed · Audio Drivers Not Updated ·...
Read more >
20 most common video errors & how to fix them
This article guide you how to fix all 20 problems or errors while playing videos like playback errors, audio video sync, issues, choppy, ......
Read more >
Troubleshoot video errors, buffering, and freezing - Android
Use a different browser to watch the video. Clear your browser's cache and cookies. If that doesn't work, try some of these troubleshooting...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found