Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

320
Views
Serve static mp4 video with express

I made a simple node express server serving statically a public directory

app.use('/public', express.static(path.join(__dirname, 'public')))

the public folder contains a mp4 video.

It works great when I try to access the file with chrome on windows but with chrome on ubuntu I can't play the video and I get either no error message or net::ERR_TIME_OUT or ERR_CONTENT_LENGTH_MISMATCH, it is totally random.

The node server is running on a VPS with ubuntu and I don't use any reverse proxy for now.

over 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!