Skip to main content
Documentation v2.0
Midtrans or MQTT inactive after changing .env/docs/troubleshooting/midtrans-mqtt

Troubleshooting

Stable

Midtrans or MQTT inactive after changing .env

Reloading the configuration cache and restarting long-running processes.

On this page4 sections

Reload the configuration

BASH terminal
cd /www/wwwroot/ruangiot.id
php artisan optimize:clear
php artisan config:cache
php artisan route:cache
php artisan view:cache
php artisan queue:restart

Restart processes

BASH terminal
supervisorctl status
supervisorctl restart all

Midtrans

Make sure the notification URL is reachable, the signature is verified, and transaction statuses are processed idempotently.

MQTT

Restart the MQTT listener and check the log. Browser credentials must use a dedicated account if real-time dashboards are enabled.

Documentation feedback

Was this article helpful?

Documentation search

What do you want to learn?

Type at least two characters to search the documentation.
Code copied.