Support¶
Need help with the Dracal device service? This page provides resources and common solutions to get you back on track.
Getting help¶
If you encounter issues or have questions about the Dracal device service, we're here to help.
Contact support¶
For technical support, feature requests, or general inquiries:
- Email: support@dracal.com
Reporting issues¶
When reporting issues to support, please include:
- Operating system and version (Windows or Ubuntu)
- Dracal device service version
- Device model(s) you're using
- Relevant log file excerpts
- Configuration file contents (if modified)
- Steps to reproduce the issue
- Any error messages received
This information helps us diagnose and resolve issues more quickly.
Configuration¶
The Dracal device service uses a JSON configuration file that can be customized to meet your needs. Understanding and properly configuring this file can help resolve many common issues.
Configuration file location¶
%PROGRAMDATA%\Dracal\dracal-device-service-config.json
/etc/dracal/dracal-device-server-config.json
Common configuration settings¶
Changing the HTTP port¶
If port 11395 conflicts with another service or you need a different port:
{
"service": {
"http": {
"port": 11395
}
}
}
Change the port value to your desired port number (e.g., 8080, 12000). Remember to update your API calls to use the new port: http://localhost:<new_port>.
Restart required
You must restart the service after changing the port for the change to take effect.
Enabling debug logging¶
If you're troubleshooting issues, enable debug or trace logging:
{
"other": {
"logs_enable_debug": true,
"logs_enable_trace": false
}
}
logs_enable_debug: Provides general troubleshooting informationlogs_enable_trace: Provides the most detailed logging
Performance impact
Trace logging can generate very large log files and may impact performance. Only enable when actively troubleshooting, and disable it afterward.
Validating your configuration¶
After editing the configuration file:
- Check JSON syntax — ensure all brackets, braces, and commas are properly placed
- Restart the service — changes only take effect after restart
- Check logs — review log files for configuration errors
- Test the API — verify the service responds at the configured port
If the service fails to start after a configuration change, check the log files for error messages indicating the problem.
Service status¶
You can check if the service is running using your operating system's tools:
Using Task Manager:
- Press
Ctrl+Shift+Escto open Task Manager - Go to the Services tab
- Locate
dracal-device-servicein the list to see its status
Using command line:
Run: sc query dracal-device-service
Using command line:
Run: systemctl status dracal-device-service.service
Service management¶
You can start, stop, and restart the service as needed:
Using Task Manager:
- Press
Ctrl+Shift+Escto open Task Manager - Go to the Services tab
- Locate
dracal-device-servicein the list - Right-click on the service to start, stop, or restart it
Using command line:
- Start:
sc start dracal-device-service - Stop:
sc stop dracal-device-service - Restart: Stop then start the service
Using command line:
- Start:
systemctl start dracal-device-service.service - Stop:
systemctl stop dracal-device-service.service - Restart:
systemctl restart dracal-device-service.service
Troubleshooting¶
Service not starting¶
If the Dracal device service fails to start:
- Check service status following the instructions in the service status section
- Review log files for error messages:
- Windows:
%PROGRAMDATA%\Dracal\ - Ubuntu:
/var/log/dracal/
- Windows:
- Check configuration file for JSON syntax errors
- Reset configuration by deleting the config file — it will be recreated with defaults
- Verify installation by reinstalling from dracal.com/software
Devices not detected¶
If your Dracal devices are not being detected:
- Verify USB connection — ensure devices are properly connected
- Restart the service following the service management instructions
- Try a different USB port — some ports may have connectivity issues
- Review log files for error messages:
- Windows:
%PROGRAMDATA%\Dracal\ - Ubuntu:
/var/log/dracal/
- Windows:
- Enable debug logging in the configuration file for more detailed diagnostics
Configuration issues¶
If you're experiencing configuration problems:
- Verify configuration file syntax (
.jsonfile) in:- Windows:
%PROGRAMDATA%\Dracal\ - Ubuntu:
/etc/dracal/
- Windows:
- Use a JSON validator to check for syntax errors
- Restart the service after making configuration changes
- Check log files for configuration-related error messages
- Reset to defaults by deleting the configuration file — it will be recreated automatically on restart
API connection errors¶
If you cannot connect to the REST JSON API:
- Verify service is running — check service status
- Check configured port — verify the port in the configuration file (default:
11395) - Test the endpoint — use
curl http://localhost:<port>/dracal-service-info - Review firewall settings — ensure the port is not blocked (though the service only accepts local connections)
- Check log files for HTTP server errors
- Test with tutorials — try our example code to verify connectivity
Port conflict errors¶
If you see errors about the port being in use:
- Check for other services using the same port
- Change the HTTP port in the configuration file to an unused port (e.g.,
12000) - Restart the service after changing the port
- Update your client code to use the new port
Use the navigation menu on the left to explore the full documentation.