Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Traccar
  3. Tracking does not work

Tracking does not work

Scheduled Pinned Locked Moved Traccar
21 Posts 4 Posters 3.8k Views 4 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T timka

    I build and installed the existing alpha? package.
    System is running with 5.0 from traccar.
    But can devices send messages to different ports? (Typically 5001, 5002, 5006, 5013, 5015, 5023, 5036, 5093).
    Port 5055 for "OSMAND" is open. I tried on my smartphone with traccar client and url for 5055 and I get a transmission error.

    So should this generally be possible?
    Thank you very much!

    girishG Offline
    girishG Offline
    girish
    Staff
    wrote on last edited by
    #2

    @timka Which alpha package are you referring to? The upstream docker image?

    T 1 Reply Last reply
    0
    • girishG girish

      @timka Which alpha package are you referring to? The upstream docker image?

      T Offline
      T Offline
      timka
      wrote on last edited by
      #3

      @girish Thank you and sorry for my minimal answer

      I'm using your attempt https://git.cloudron.io/cloudron/traccar-app, where I Changed I just changed the Version from 4.X to 5.0 and the base app to 3.X. Using the provided cloudron tutorial on app packaging it I was able to install it in my cloudrone instance and access it. LDAP is working. For Testing I tried to use some real hardware tracker (which does not do DNS lookup) for sending GPS Data to server and the smartphone app from traccar client play-store-link to test the server. It should also use the already "opened" port at 5055 ("osmand"). I wasn't able to send any update to my traccar instance. I'm not 100% sure about my real hardware tracker, but at least the smartphone should work. So I suspected the port sharing being wrong. For the "real" hardware gps tracker you provide just the IP and the Port for the traccar server. I'm just having one cloudron instance running on one server so it should work, shouldn't it? Therefore the app should be able to listen to multiple 5XXX ports. (As far as I understand it, no other app can use those ports than, or can it?)

      girishG 3 Replies Last reply
      1
      • T timka

        @girish Thank you and sorry for my minimal answer

        I'm using your attempt https://git.cloudron.io/cloudron/traccar-app, where I Changed I just changed the Version from 4.X to 5.0 and the base app to 3.X. Using the provided cloudron tutorial on app packaging it I was able to install it in my cloudrone instance and access it. LDAP is working. For Testing I tried to use some real hardware tracker (which does not do DNS lookup) for sending GPS Data to server and the smartphone app from traccar client play-store-link to test the server. It should also use the already "opened" port at 5055 ("osmand"). I wasn't able to send any update to my traccar instance. I'm not 100% sure about my real hardware tracker, but at least the smartphone should work. So I suspected the port sharing being wrong. For the "real" hardware gps tracker you provide just the IP and the Port for the traccar server. I'm just having one cloudron instance running on one server so it should work, shouldn't it? Therefore the app should be able to listen to multiple 5XXX ports. (As far as I understand it, no other app can use those ports than, or can it?)

        girishG Offline
        girishG Offline
        girish
        Staff
        wrote on last edited by
        #4

        @timka FWIW, I haven't been able to get the android Traccar Client to work yet either.... Not sure what is missing. The 'Status' says it's sending the location.

        1 Reply Last reply
        1
        • girishG girish moved this topic from App Wishlist on
        • girishG Offline
          girishG Offline
          girish
          Staff
          wrote on last edited by
          #5

          I tested with https://www.traccar.org/osmand/ and that works!

          fadb8075-1cd5-4f55-bde6-ff1ad6535d54-image.png

          1 Reply Last reply
          1
          • girishG Offline
            girishG Offline
            girish
            Staff
            wrote on last edited by
            #6

            Android app works too, I didn't realize that the Server URL has to be "http" and port 5055. I have to investigate the security of this...

            Even shows my battery status 🙂

            4fb258ec-aaac-46b5-900c-2e6044a199e5-image.png

            T timconsidineT 2 Replies Last reply
            3
            • girishG girish

              Android app works too, I didn't realize that the Server URL has to be "http" and port 5055. I have to investigate the security of this...

              Even shows my battery status 🙂

              4fb258ec-aaac-46b5-900c-2e6044a199e5-image.png

              T Offline
              T Offline
              timka
              wrote on last edited by timka
              #7

              @girish Thank you very much! I will instantly test it. But somehow right now I canno reach my cloudron after a reboot something went wrong - my feedback might take short while.

              I've tried both https/http but didn't succeed. Looking forward to testing. I was able to get my "real" gps tracker running on a demo server from traccar.

              By the way: I'm glad cloudron is running so well, that you can relax on your yacht in the Gulf of Guinea 😏

              girishG 1 Reply Last reply
              1
              • T timka

                @girish Thank you very much! I will instantly test it. But somehow right now I canno reach my cloudron after a reboot something went wrong - my feedback might take short while.

                I've tried both https/http but didn't succeed. Looking forward to testing. I was able to get my "real" gps tracker running on a demo server from traccar.

                By the way: I'm glad cloudron is running so well, that you can relax on your yacht in the Gulf of Guinea 😏

                girishG Offline
                girishG Offline
                girish
                Staff
                wrote on last edited by
                #8

                @timka ha ha, apparently that is lat 0 , long 1 🙂

                T 1 Reply Last reply
                1
                • girishG girish

                  @timka ha ha, apparently that is lat 0 , long 1 🙂

                  T Offline
                  T Offline
                  timka
                  wrote on last edited by
                  #9

                  @girish it is working!! Thank you! 🔝

                  This is tracking with the "real" tracking device. So I changed the port for the device (5013), I'm using the admin login. I'll provide further information for LDAP.

                  Thank you very much!
                  af9974f6-1dd7-4610-8e40-ddae22c2c28e-image.png 82b15fb6-f3d6-4a30-a122-586b1c61d657-image.png

                  My bike is still in Germany 😆
                  a146f584-2499-497b-83ba-d379ab20f88d-image.png

                  1 Reply Last reply
                  2
                  • girishG girish

                    Android app works too, I didn't realize that the Server URL has to be "http" and port 5055. I have to investigate the security of this...

                    Even shows my battery status 🙂

                    4fb258ec-aaac-46b5-900c-2e6044a199e5-image.png

                    timconsidineT Offline
                    timconsidineT Offline
                    timconsidine
                    App Dev
                    wrote on last edited by
                    #10

                    @girish I tried the iphone Traccar Client app but can't get it to connect
                    Tried with http and https using port 5055
                    Anyone got it working ?

                    Super cool app !

                    Just returned from taking 2 vans to Ukraine border with medical supplies.
                    Would have been great to have had this working for the trip.

                    timconsidineT luckowL 2 Replies Last reply
                    3
                    • timconsidineT timconsidine

                      @girish I tried the iphone Traccar Client app but can't get it to connect
                      Tried with http and https using port 5055
                      Anyone got it working ?

                      Super cool app !

                      Just returned from taking 2 vans to Ukraine border with medical supplies.
                      Would have been great to have had this working for the trip.

                      timconsidineT Offline
                      timconsidineT Offline
                      timconsidine
                      App Dev
                      wrote on last edited by timconsidine
                      #11

                      @timconsidine YAY !
                      Working now after toggling service status off / on
                      HTTP
                      5055
                      iphone app

                      Thank you @girish for this app !

                      girishG 1 Reply Last reply
                      2
                      • timconsidineT timconsidine

                        @timconsidine YAY !
                        Working now after toggling service status off / on
                        HTTP
                        5055
                        iphone app

                        Thank you @girish for this app !

                        girishG Offline
                        girishG Offline
                        girish
                        Staff
                        wrote on last edited by
                        #12

                        @timconsidine I would hold on until using it regularly. The location updates on port 5055 are sent via http , so it's not secure. Still trying to figure out the best long term strategy here.

                        That said, I am using it for last 3 days anyway and this is so nice! I am yet to get into notifications and such, but exciting app.

                        timconsidineT 2 Replies Last reply
                        3
                        • girishG girish

                          @timconsidine I would hold on until using it regularly. The location updates on port 5055 are sent via http , so it's not secure. Still trying to figure out the best long term strategy here.

                          That said, I am using it for last 3 days anyway and this is so nice! I am yet to get into notifications and such, but exciting app.

                          timconsidineT Offline
                          timconsidineT Offline
                          timconsidine
                          App Dev
                          wrote on last edited by
                          #13

                          @girish oh yes https would be better ... but I am sure you will work it out !

                          Lots of devices out there according to the traccar website, but most seem to bundle their own app and suck you into a SIM contract. I have not yet found documentation on the best way to change a device's config to connect to self-hosted server. Maybe it's possible with an SMS command to the device.

                          In the interim it seems best way is to use the iOS / Android app on a phone.
                          [Good to see the Android app is on F-Droid.]
                          That way there is no issue with needing a separate/additional SIM.

                          Is that how others here envisage using the app ?

                          Will be interesting to see how battery life is affected.
                          But as phones have so much background stuff going on all the time, it won't be that easy or reliable to do tests.

                          Anyway, this can really solve knowing 'who is where' in a team or convoy scenario.
                          I used PMR radios but they are range limited and depend on the operator knowing the answer to "where are you?".
                          So look forward to https support (if possible).

                          T 1 Reply Last reply
                          2
                          • timconsidineT timconsidine

                            @girish I tried the iphone Traccar Client app but can't get it to connect
                            Tried with http and https using port 5055
                            Anyone got it working ?

                            Super cool app !

                            Just returned from taking 2 vans to Ukraine border with medical supplies.
                            Would have been great to have had this working for the trip.

                            luckowL Offline
                            luckowL Offline
                            luckow
                            translator
                            wrote on last edited by
                            #14

                            @timconsidine hm. I removed the port and switched to the https://traccar.example.org instead. Switching off and on again is the solution. (iPhone & Traccar app). Today I used it with "Allowed for background use" and after 7 hours the battery was almost empty. By default, frequent value of 300.

                            57669a07-813c-4cff-972f-5b0088270eca-image.png

                            Pronouns: he/him | Primary language: German

                            girishG 1 Reply Last reply
                            1
                            • girishG girish

                              @timconsidine I would hold on until using it regularly. The location updates on port 5055 are sent via http , so it's not secure. Still trying to figure out the best long term strategy here.

                              That said, I am using it for last 3 days anyway and this is so nice! I am yet to get into notifications and such, but exciting app.

                              timconsidineT Offline
                              timconsidineT Offline
                              timconsidine
                              App Dev
                              wrote on last edited by
                              #15

                              @girish as @luckow reports, removing the port and using https://yourapp.domain.tld works !!

                              girishG 1 Reply Last reply
                              0
                              • timconsidineT timconsidine

                                @girish oh yes https would be better ... but I am sure you will work it out !

                                Lots of devices out there according to the traccar website, but most seem to bundle their own app and suck you into a SIM contract. I have not yet found documentation on the best way to change a device's config to connect to self-hosted server. Maybe it's possible with an SMS command to the device.

                                In the interim it seems best way is to use the iOS / Android app on a phone.
                                [Good to see the Android app is on F-Droid.]
                                That way there is no issue with needing a separate/additional SIM.

                                Is that how others here envisage using the app ?

                                Will be interesting to see how battery life is affected.
                                But as phones have so much background stuff going on all the time, it won't be that easy or reliable to do tests.

                                Anyway, this can really solve knowing 'who is where' in a team or convoy scenario.
                                I used PMR radios but they are range limited and depend on the operator knowing the answer to "where are you?".
                                So look forward to https support (if possible).

                                T Offline
                                T Offline
                                timka
                                wrote on last edited by
                                #16

                                @timconsidine
                                Well, yes I'm using a chinese st-901 tracker with 4G. Setup via SMS commands.

                                1 Reply Last reply
                                1
                                • timconsidineT timconsidine

                                  @girish as @luckow reports, removing the port and using https://yourapp.domain.tld works !!

                                  girishG Offline
                                  girishG Offline
                                  girish
                                  Staff
                                  wrote on last edited by
                                  #17

                                  @timconsidine @luckow Yes, it works because I made a "special" fix for just the port 5055 😉 I think the other ports don't support https, it just happens that this one does since traccar controls the client.

                                  timconsidineT 1 Reply Last reply
                                  3
                                  • luckowL luckow

                                    @timconsidine hm. I removed the port and switched to the https://traccar.example.org instead. Switching off and on again is the solution. (iPhone & Traccar app). Today I used it with "Allowed for background use" and after 7 hours the battery was almost empty. By default, frequent value of 300.

                                    57669a07-813c-4cff-972f-5b0088270eca-image.png

                                    girishG Offline
                                    girishG Offline
                                    girish
                                    Staff
                                    wrote on last edited by girish
                                    #18

                                    @luckow said in Tracking does not work:

                                    ). Today I used it with "Allowed for background use" and after 7 hours the battery was almost empty. By default, frequent value of 300.

                                    Interesting, I have been using this for last 5 days and haven't noticed any battery usage difference. Do you see anything in battery usage history of android? I mean Settings -> Battery -> Usage.

                                    luckowL 1 Reply Last reply
                                    0
                                    • girishG girish

                                      @timconsidine @luckow Yes, it works because I made a "special" fix for just the port 5055 😉 I think the other ports don't support https, it just happens that this one does since traccar controls the client.

                                      timconsidineT Offline
                                      timconsidineT Offline
                                      timconsidine
                                      App Dev
                                      wrote on last edited by
                                      #19

                                      @girish said in Tracking does not work:

                                      Yes, it works because I made a "special" fix

                                      Brilliant !!

                                      1 Reply Last reply
                                      0
                                      • girishG girish

                                        @luckow said in Tracking does not work:

                                        ). Today I used it with "Allowed for background use" and after 7 hours the battery was almost empty. By default, frequent value of 300.

                                        Interesting, I have been using this for last 5 days and haven't noticed any battery usage difference. Do you see anything in battery usage history of android? I mean Settings -> Battery -> Usage.

                                        luckowL Offline
                                        luckowL Offline
                                        luckow
                                        translator
                                        wrote on last edited by
                                        #20

                                        @girish oh. I'm on ios (iPhone SE). But there is a -> settings -> battery ... This is the hard to believe truth
                                        Begegnungsmitteilungen is the background service for the so called Corona Warn app 24/7 BLE scanner.

                                        IMG_0247.jpg

                                        Pronouns: he/him | Primary language: German

                                        timconsidineT 1 Reply Last reply
                                        0
                                        • luckowL luckow

                                          @girish oh. I'm on ios (iPhone SE). But there is a -> settings -> battery ... This is the hard to believe truth
                                          Begegnungsmitteilungen is the background service for the so called Corona Warn app 24/7 BLE scanner.

                                          IMG_0247.jpg

                                          timconsidineT Offline
                                          timconsidineT Offline
                                          timconsidine
                                          App Dev
                                          wrote on last edited by
                                          #21

                                          @luckow my Traccar battery usage is only at 18% but that's still more than other apps.

                                          6bd62c16-f067-40a9-bfe3-48e770b7a242-image.png

                                          Will try to do a proper test tomorrow.

                                          1 Reply Last reply
                                          1
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • Bookmarks
                                          • Search