-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Need additional information for traccar_pusher using gotify #1
Comments
Hey, you have to add:
in /opt/traccar/config/traccar.xml Then you have to start a webserver (apache etc.) and put the push.php as index.php in your "https://WEBSERVER.URL/PATH/". Next configure your User-Settings as seen in the PIC i've attached |
Thank you very much for the help. I set it up exactly described above and still get follow Warning: Gotifiy Serverlogs shows nothing from Traccar. Maybe something changed since you did the PHP script? Traccarlog shows |
2021-10-25 12:10:38 INFO: Character encoding: UTF-8 charset: UTF-8 |
Ahhh here we are... this could it be? One line above i have:
Maybe there is a workaround? For example... where do i have to add this in your PHP script to enforce Traccar´s encoding?
|
This has nothing to do with my script. This is just a json parser... |
Hi, I have exactly the same issue when pushing the events to ft ( https://github.com/jpmens/from-traccar ), so for me the issue is on traccar's side definitely. The error raises during traccar startup, at this point there is no communication with the destination server. |
Thanks a lot for the script and effort, unfortunately i need some additional information, idk how to run it from Traccar.
I configured it in traccar.xml this way:
<entry key='event.forward.url'>http://localhost:8082/push.php</entry>
Traccar serverlog:
WARN: Event forwarding failed - MessageBodyReader not found for media type=application/octet-stream, type=class java.lang.Object,...
The values can be set directly in the code or if i enable the debugging lines, it uses a data.txt config file and needs the format like this?
follow up from: gotify/server#444
The text was updated successfully, but these errors were encountered: