Skip to content

ADJ dissapears if internet connection is lost #247

@g0nz4I0

Description

@g0nz4I0

Bug Description
When I connect the NAP to my PC using an Ethernet cable I lose internet connectivity, this might also be interesting to be explored

After losing internet connection I launch the backend, which fails to download the ADJ repo, because I know I have lost connectivity I configure the config.toml to use the local branch.

After restarting the backend with the new toml configuration it fails to find the json files because they were deleted.

Essentially this means that you cannot use the backend without internet.

Steps to reproduce
Using Windows 11 OS, connect the NAP and add the necessary routes to the PC,you might need to run this with elevated permissions, so it can comunicate with the vehicle.

In Windows these routes are as follows:

route ADD 192.168.1.0 MASK 255.255.255.0 192.168.0.1

Once the routes have succesfully been applied launch the backend.

Image

In order to test it more easily simply disable WiFi/Ethernet connection on your PC when testing.

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions