Hi, > Is there a tutorial on how to setup it up and debug stuff (endpoints for > testing maybe?) so I can debug it myself. >
You can set the `DEBUG_MODE` variable in `.env` file to `True`, then go to the `http://topology.wisp.example.org/api/v1/` URL on your browser. That should help you debug if there is an error in the API. However, I think that you''ve made changes to the network, so it's possible that controller is not able to access network-topology container. In that case, you'll have to: 1. docker exec -it docker-openwisp_controller_1 bash 2. apt update & apt install curl 3. curl topology.internal/api/v1/ You should see the django error page ending with "You're seeing this error because you have <code>DEBUG = True</code>". Which means, the containers are able to communicate. Lastly, docker-compose logs: 1. docker-compose logs topology 2. docker-compose logs controller should help to spot any errors once `DEBUG_MODE=True` is enabled. This information should help you get started with debugging, let me know if there anything else I should mention. Best, Ajay Tripathi -- You received this message because you are subscribed to the Google Groups "OpenWISP" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web, visit https://groups.google.com/d/msgid/openwisp/7ea2eff0-babd-413b-a4cc-b5823dacfa38n%40googlegroups.com.
