setup an Offline Server (behind firewall)

lokas6 years ago

hey there.

so i downloaded the windows version of the server.
my server is behind a firewall, so no outgoing traffic , only incoming traffic.

when opening the web app page, there is a Circle that turns for hours,
after trying to debug this, i saw in wireshark that there is some request that tries to reach traccar.org .
on top of that some of the JS files are being fetch via cdn.cloudflare , since the server does not have outgoing traffic it fails to reach those js files which i think causing the issue of not being able to get the login page via the browser.

perhaps it could be possible to update the github repository with offline JS files that are needed for the project.

so the server wont depend on an online site. so it can be run on its own.

thanks :)

Anton Tananaev6 years ago

It has been discussed before. If you are paranoid about using third party CDN resources, you can totally make it run locally, but for most people it makes website load faster.

lokas6 years ago

i agree , and i tried , i downloaded everything i saw that was 404 error,
however , it didnt work properly.
i guess because i still missing files such /api (folder) and fake-login....

mind sharing a load.js with a folder with all requested file ?

or at least folder with all the requested file that are needed to load the server properly ?

and its not about cdn resources , its about protecting the server , this is why the firewall block all outgoing traffic from the server.

Anton Tananaev6 years ago

i guess because i still missing files such /api (folder) and fake-login....

What you are asking doesn't exist. Those are expected 404 responses.

Server doesn't do any outgoing traffic. Your browser does.