Push to manager dont work

Anders4 months ago

I have added the Push notifications via traccar manager but it does not work, nothing happens when I test the Traccar channel. When I test the web notification it show up i the manager also.
I have set it up in the config using my key and have checked it many times.
What can be wrong. Some special port that need to be open?

Anton Tananaev4 months ago

Have you checked the notification token? Try deleting it and letting the app regenerate it.

Anders4 months ago

I deleted the push key from the config, copied it from the account page again and now it work. I also regenerated the token so I dont know which of them did the trick.

Anders4 months ago

Now its only sms left that dont work. I test clicksend and it looks like it authenticate but I get this error and their support say it some problem on my side

{"http_code":400,"response_code":"BAD_REQUEST","response_msg":"The messages array is empty.","data":null} - MessageException (HttpSmsClient:99 < NotificatorSms:48 < Notificator:39 < NotificationResource:107 < ...
Anton Tananaev4 months ago

Have you fixed the templates?

Anders4 months ago

So they were not fixed in the latest version of traccar. I installed it 20 November

Anton Tananaev4 months ago

No, we haven't had a release with the fix yet.

Anders4 months ago

Content of test.vm
#set($subject = "Test message")
Test message
Looks like it is not wrong

Anders4 months ago

Have redone but no change. Do I need to change in some other .vm

Anders4 months ago

Can I download the master and then upload the content of the short folder to fix all?

Anton Tananaev4 months ago

Yes.

Anders4 months ago

I have done so and now the sms gateway works flawless. Thanks