linuxubuntuserverdeno

My Deno app can't download dependencies on my Ubuntu 22.04 server


I've been building a web application using Deno and Fresh my app works fine on my computer but when I deploy it to my Ubuntu 22.04 server I get this error

error: Import 'https://deno.land/std@0.193.0/dotenv/load.ts' failed: error sending request for url (https://deno.land/std@0.193.0/dotenv/load.ts): error trying to connect: Connection reset by peer (os error 104)
    at file:///home/hyse.ch/main.ts:7:8

My best guess is that it might be a SSL certificate problem, though I tried to renew it but it still doesn't work.

What I'm using:

I'm not really that good with server/linux stuff, I'm more into programming so let me know if you need anymore more details.

I've tried changing my SSL certificate it thought it would make it work.


Solution

  • Someone helped me finding a solution and it turned out that deno.land had trouble accepting ipv6.