Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
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

agnos.is Forums

  1. Home
  2. Selfhosted
  3. Introducing reitti: a selfhosted alternative to Google Timeline

Introducing reitti: a selfhosted alternative to Google Timeline

Scheduled Pinned Locked Moved Selfhosted
selfhosted
98 Posts 36 Posters 0 Views
  • 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.
  • zagorath@aussie.zoneZ [email protected]

    I just took a really quick look at it, but under Importing data from Nominatim it says "-country-codes allows to filter the data to be imported by country. Set this to a comma-separated list of two-letter language codes."

    That's a different section from the Importing data from a JSON dump section, which is where it only mentions -country-code. But even that does seem to suggest it takes "all the parameters of an import from a Nominatim database". So it seems like either the documentation for one of them is wrong, or both are lacking (because in fact both the singular and plural work).

    D This user is from outside of this forum
    D This user is from outside of this forum
    [email protected]
    wrote on last edited by
    #64

    I looked at the docker image i am using in the docker-compose file and this only supports having a single country code. The actual reason can be found here: https://github.com/rtuszik/photon-docker/blob/3b63df49fbc0a77cafcbd6e6be2b8857c12b9143/start-photon.sh#L341C5-L342C7

    It is probably possible if you deploy photon on its own and then import the data somehow. But that is to much hassle for me, i think and hope that most of the use case is handled by the current solution. At least for most of the potential users. But I get the point if someone is traveling a lot between countries.

    If there is enough demand I could maybe try to create a PR for the Docker image to handle multiple country codes.

    1 Reply Last reply
    0
    • D [email protected]

      Hey everyone!

      I'm excited to introduce Reitti, a location tracking and analysis application designed to help you gain insights about your movement patterns and significant places—all while keeping your data private on your own server.

      Core Capabilities:

      • Visit Tracking: Automatically recognizes and categorizes the places where you spend time, using customizable detection algorithms
      • Trip Analysis: Analyzes your movements between locations to understand how you travel whether by walking, cycling, or driving
      • Interactive Timeline: Visualizes all your past activities on an interactive timeline with map and list views that show visit duration, transport method, and distance traveled

      Photo Integration:

      • Connect your self-hosted Immich photo server to seamlessly display photos taken at specific locations right within Reitti's timeline. The interactive photo viewer lets you browse galleries for each place.

      Data Import Options:

      • Multiple Formats Supported: Reitti can import existing location data from GPX, GeoJSON, and Google Takeout (JSON) backups
      • (Near) Real-time Updates: Automatically receive location info via mobile apps like OwnTracks, GPSLogger or our REST API

      Customization:

      • Multi-geocoding Services: Configurable options to convert coordinates to human-readable addresses using providers like Nominatim
      • User Profiles: Customize individual display names, password management, and API token security under your own control

      Self-hosting:

      • Reitti is designed to be deployed on your own infrastructure using Docker containers. We provide configuration templates to set up linked services like PostgreSQL, RabbitMQ and Redis that keep all your location data private.

      Reitti is still early in development but has already developed extensive capabilities. I'd love to hear your feedback and answer any questions to tailor Reitti to meet the community's needs.

      Hope this sparks some interest!

      Daniel

      T This user is from outside of this forum
      T This user is from outside of this forum
      [email protected]
      wrote on last edited by [email protected]
      #65

      Congrats! Amazing project, exciting interface and you went the extra mile on the integration side with third parties. Kudos!

      Edit: I'll definitely have to try it out!

      1 Reply Last reply
      0
      • D [email protected]

        Hey everyone!

        I'm excited to introduce Reitti, a location tracking and analysis application designed to help you gain insights about your movement patterns and significant places—all while keeping your data private on your own server.

        Core Capabilities:

        • Visit Tracking: Automatically recognizes and categorizes the places where you spend time, using customizable detection algorithms
        • Trip Analysis: Analyzes your movements between locations to understand how you travel whether by walking, cycling, or driving
        • Interactive Timeline: Visualizes all your past activities on an interactive timeline with map and list views that show visit duration, transport method, and distance traveled

        Photo Integration:

        • Connect your self-hosted Immich photo server to seamlessly display photos taken at specific locations right within Reitti's timeline. The interactive photo viewer lets you browse galleries for each place.

        Data Import Options:

        • Multiple Formats Supported: Reitti can import existing location data from GPX, GeoJSON, and Google Takeout (JSON) backups
        • (Near) Real-time Updates: Automatically receive location info via mobile apps like OwnTracks, GPSLogger or our REST API

        Customization:

        • Multi-geocoding Services: Configurable options to convert coordinates to human-readable addresses using providers like Nominatim
        • User Profiles: Customize individual display names, password management, and API token security under your own control

        Self-hosting:

        • Reitti is designed to be deployed on your own infrastructure using Docker containers. We provide configuration templates to set up linked services like PostgreSQL, RabbitMQ and Redis that keep all your location data private.

        Reitti is still early in development but has already developed extensive capabilities. I'd love to hear your feedback and answer any questions to tailor Reitti to meet the community's needs.

        Hope this sparks some interest!

        Daniel

        umbrella@lemmy.mlU This user is from outside of this forum
        umbrella@lemmy.mlU This user is from outside of this forum
        [email protected]
        wrote on last edited by
        #66

        can i use it to track vehicles too like traccar?

        D 1 Reply Last reply
        0
        • umbrella@lemmy.mlU [email protected]

          can i use it to track vehicles too like traccar?

          D This user is from outside of this forum
          D This user is from outside of this forum
          [email protected]
          wrote on last edited by
          #67

          I have no experience with traccar but it seems that it supports live tracking. This is something Reitti does not support. Depends on your usecase, but i think traccar is better suited.

          1 Reply Last reply
          1
          • D [email protected]

            I was thinking about that, but the main problem is that we do not store all the data which comes in.

            If we ingest data from an app, I am pretty sure that the quality of the data is actually usable. But for example if we import an Records.json from Google Takeout. The quality of the earlier years is somewhat sketchy. For this we filter out some points like travelling with over 2000 km/h, sudden direction changes etc and they are lost forever. At least for Reitti they are unknown.

            The feature would need a lot of explanation why the data we export is not the same we import.That is the reason I did not implemented it even if it would come in handy for testing stuff. Handling GPX files is a pita ...

            gullmar@feddit.itG This user is from outside of this forum
            gullmar@feddit.itG This user is from outside of this forum
            [email protected]
            wrote last edited by
            #68

            I understand. Currently, I'm using the NextCloud's extension Phonetrack, and one on my main use cases is to export GPX files to use them in Darktable and add geotracking information to the pictures I shoot with my camera. It works well, actually, but Phonetrack is not too intuitive and does not offer many other features: that's why I was looking with interest at this alternative!

            1 Reply Last reply
            0
            • D [email protected]

              Thanks 🙂 As a German I really like the name Dawarich. First it sound really nice for me but also that "Da war ich" means "There have i been" in german makes, at least for me, an awesome project name.

              Take this with a grain of salt because I have no idea what the plans are for Dawarich or have ever been and this is solely based on my external view. For me the main differences are:

              • visits and trips are our main data, everything else is just the way to calculate them. For Dawarich it looks to me, that it is the other way around. It displays all the location data in good way with the heatmap and so on but visits or places seems so tacked on. This should not be an offense against it. I actually still have an instance running and it was the main pushing point to finally start working on Reitti.
              • the sleek UI but this depends on your taste

              In the end, they are not that far off. Maybe a matter of taste.

              pipariturbiini@sopuli.xyzP This user is from outside of this forum
              pipariturbiini@sopuli.xyzP This user is from outside of this forum
              [email protected]
              wrote last edited by
              #69

              Maybe slightly off-topic, but how did you end up with the name "reitti"? You say you're German - do you have some sort of tie to the Finnish language?

              D 1 Reply Last reply
              1
              • D [email protected]

                Hey everyone!

                I'm excited to introduce Reitti, a location tracking and analysis application designed to help you gain insights about your movement patterns and significant places—all while keeping your data private on your own server.

                Core Capabilities:

                • Visit Tracking: Automatically recognizes and categorizes the places where you spend time, using customizable detection algorithms
                • Trip Analysis: Analyzes your movements between locations to understand how you travel whether by walking, cycling, or driving
                • Interactive Timeline: Visualizes all your past activities on an interactive timeline with map and list views that show visit duration, transport method, and distance traveled

                Photo Integration:

                • Connect your self-hosted Immich photo server to seamlessly display photos taken at specific locations right within Reitti's timeline. The interactive photo viewer lets you browse galleries for each place.

                Data Import Options:

                • Multiple Formats Supported: Reitti can import existing location data from GPX, GeoJSON, and Google Takeout (JSON) backups
                • (Near) Real-time Updates: Automatically receive location info via mobile apps like OwnTracks, GPSLogger or our REST API

                Customization:

                • Multi-geocoding Services: Configurable options to convert coordinates to human-readable addresses using providers like Nominatim
                • User Profiles: Customize individual display names, password management, and API token security under your own control

                Self-hosting:

                • Reitti is designed to be deployed on your own infrastructure using Docker containers. We provide configuration templates to set up linked services like PostgreSQL, RabbitMQ and Redis that keep all your location data private.

                Reitti is still early in development but has already developed extensive capabilities. I'd love to hear your feedback and answer any questions to tailor Reitti to meet the community's needs.

                Hope this sparks some interest!

                Daniel

                S This user is from outside of this forum
                S This user is from outside of this forum
                [email protected]
                wrote last edited by
                #70

                Saving for later

                douglasg14b@lemmy.worldD 1 Reply Last reply
                1
                • S [email protected]

                  Saving for later

                  douglasg14b@lemmy.worldD This user is from outside of this forum
                  douglasg14b@lemmy.worldD This user is from outside of this forum
                  [email protected]
                  wrote last edited by
                  #71

                  Samesies

                  1 Reply Last reply
                  0
                  • D [email protected]

                    Thanks 🙂

                    No, did not occur to me. What would the integration look like? Connecting it to the message bus to receive location updates? Honestly it is a couple years ago I played with HA.

                    W This user is from outside of this forum
                    W This user is from outside of this forum
                    [email protected]
                    wrote last edited by
                    #72

                    I have the HA app on my phone, it reports my location back to my HA server.

                    I would like if Reitti could retrieve my location from my HA server, instead of asking me to upload it again to Reitti. Uploading my location in short intervals drains the battery very fast, it's something I want to avoid if I can.

                    Additiinally, I don't want to expose anything to the internet. So I pay for the Home Assistant cloud subscription that does it for me in a more secure manner than what I could implement with the little free time I have. Reitti could retrieve my location more securely if it did so without exiting my LAN.

                    D 1 Reply Last reply
                    1
                    • D [email protected]

                      Hey everyone!

                      I'm excited to introduce Reitti, a location tracking and analysis application designed to help you gain insights about your movement patterns and significant places—all while keeping your data private on your own server.

                      Core Capabilities:

                      • Visit Tracking: Automatically recognizes and categorizes the places where you spend time, using customizable detection algorithms
                      • Trip Analysis: Analyzes your movements between locations to understand how you travel whether by walking, cycling, or driving
                      • Interactive Timeline: Visualizes all your past activities on an interactive timeline with map and list views that show visit duration, transport method, and distance traveled

                      Photo Integration:

                      • Connect your self-hosted Immich photo server to seamlessly display photos taken at specific locations right within Reitti's timeline. The interactive photo viewer lets you browse galleries for each place.

                      Data Import Options:

                      • Multiple Formats Supported: Reitti can import existing location data from GPX, GeoJSON, and Google Takeout (JSON) backups
                      • (Near) Real-time Updates: Automatically receive location info via mobile apps like OwnTracks, GPSLogger or our REST API

                      Customization:

                      • Multi-geocoding Services: Configurable options to convert coordinates to human-readable addresses using providers like Nominatim
                      • User Profiles: Customize individual display names, password management, and API token security under your own control

                      Self-hosting:

                      • Reitti is designed to be deployed on your own infrastructure using Docker containers. We provide configuration templates to set up linked services like PostgreSQL, RabbitMQ and Redis that keep all your location data private.

                      Reitti is still early in development but has already developed extensive capabilities. I'd love to hear your feedback and answer any questions to tailor Reitti to meet the community's needs.

                      Hope this sparks some interest!

                      Daniel

                      S This user is from outside of this forum
                      S This user is from outside of this forum
                      [email protected]
                      wrote last edited by
                      #73

                      I am slightly bothered by how the logo is quite off-center, is it intentional?

                      D 1 Reply Last reply
                      2
                      • D [email protected]

                        Hey everyone!

                        I'm excited to introduce Reitti, a location tracking and analysis application designed to help you gain insights about your movement patterns and significant places—all while keeping your data private on your own server.

                        Core Capabilities:

                        • Visit Tracking: Automatically recognizes and categorizes the places where you spend time, using customizable detection algorithms
                        • Trip Analysis: Analyzes your movements between locations to understand how you travel whether by walking, cycling, or driving
                        • Interactive Timeline: Visualizes all your past activities on an interactive timeline with map and list views that show visit duration, transport method, and distance traveled

                        Photo Integration:

                        • Connect your self-hosted Immich photo server to seamlessly display photos taken at specific locations right within Reitti's timeline. The interactive photo viewer lets you browse galleries for each place.

                        Data Import Options:

                        • Multiple Formats Supported: Reitti can import existing location data from GPX, GeoJSON, and Google Takeout (JSON) backups
                        • (Near) Real-time Updates: Automatically receive location info via mobile apps like OwnTracks, GPSLogger or our REST API

                        Customization:

                        • Multi-geocoding Services: Configurable options to convert coordinates to human-readable addresses using providers like Nominatim
                        • User Profiles: Customize individual display names, password management, and API token security under your own control

                        Self-hosting:

                        • Reitti is designed to be deployed on your own infrastructure using Docker containers. We provide configuration templates to set up linked services like PostgreSQL, RabbitMQ and Redis that keep all your location data private.

                        Reitti is still early in development but has already developed extensive capabilities. I'd love to hear your feedback and answer any questions to tailor Reitti to meet the community's needs.

                        Hope this sparks some interest!

                        Daniel

                        A This user is from outside of this forum
                        A This user is from outside of this forum
                        [email protected]
                        wrote last edited by
                        #74

                        I managed to break our instance. I imported several years worth of google takeout location data, and now the "stay-detection-queue" is stalled.

                        D 1 Reply Last reply
                        6
                        • W [email protected]

                          I have the HA app on my phone, it reports my location back to my HA server.

                          I would like if Reitti could retrieve my location from my HA server, instead of asking me to upload it again to Reitti. Uploading my location in short intervals drains the battery very fast, it's something I want to avoid if I can.

                          Additiinally, I don't want to expose anything to the internet. So I pay for the Home Assistant cloud subscription that does it for me in a more secure manner than what I could implement with the little free time I have. Reitti could retrieve my location more securely if it did so without exiting my LAN.

                          D This user is from outside of this forum
                          D This user is from outside of this forum
                          [email protected]
                          wrote last edited by [email protected]
                          #75

                          I had a similar setup with Home Assistant in the past so I understand your usecase. For Reitti to detect visits somewhat reliable it needs at least one datapoint of location data a minute. We build location clusters with minimum 5 points in 5 minutes. If HA tracks that often it should work. HA probably tracks more than that.

                          I could add an integration that Reitti fetches the data from Home Assistant. Do you mind in creating a feature request?

                          W 1 Reply Last reply
                          0
                          • pipariturbiini@sopuli.xyzP [email protected]

                            Maybe slightly off-topic, but how did you end up with the name "reitti"? You say you're German - do you have some sort of tie to the Finnish language?

                            D This user is from outside of this forum
                            D This user is from outside of this forum
                            [email protected]
                            wrote last edited by
                            #76

                            Oh, i had the idea in mind what i want to create and than it was a matter of a couple of Google queries but in the end one of the LLM suggested a list of different names in foreign languages and reitti somehow sticked 😊

                            1 Reply Last reply
                            0
                            • A [email protected]

                              I managed to break our instance. I imported several years worth of google takeout location data, and now the "stay-detection-queue" is stalled.

                              D This user is from outside of this forum
                              D This user is from outside of this forum
                              [email protected]
                              wrote last edited by
                              #77

                              Congratulations 😆

                              To help with that I would need some information:

                              • does it show anything in the logs?
                              • what do you mean by several years or how big was the Records.json?

                              Thank you for testing 🙂

                              A 1 Reply Last reply
                              4
                              • S [email protected]

                                I am slightly bothered by how the logo is quite off-center, is it intentional?

                                D This user is from outside of this forum
                                D This user is from outside of this forum
                                [email protected]
                                wrote last edited by
                                #78

                                It was not intentional but after bothering not about it because i had other things on my mind i got used to it and now like it the way it is.

                                But for everyone who is bothered by that. If Reitti reaches 1k stars on Github I will add a switch to use a centered one 😊

                                1 Reply Last reply
                                5
                                • D [email protected]

                                  Congratulations 😆

                                  To help with that I would need some information:

                                  • does it show anything in the logs?
                                  • what do you mean by several years or how big was the Records.json?

                                  Thank you for testing 🙂

                                  A This user is from outside of this forum
                                  A This user is from outside of this forum
                                  [email protected]
                                  wrote last edited by
                                  #79

                                  It's a 1gig json file that has about 10 years of data. I get multiple repeats of the rabbit timeout in the logs. The Job Status section tells me that it's got just under 9 hours of processing remaining for just over 16,000 in the stay-detection-queue. The numbers change slightly, so something is happening, but it's been going for over 12 hours now, and the time remaining is slowly going up, not down.

                                  reitti-1  | 2025-07-04T03:06:17.848Z  WARN 1 --- [ntContainer#2-1] o.s.a.r.l.SimpleMessageListenerContainer : Consumer raised exception, processing can restart if the connection factory supports it
                                  reitti-1  |
                                  reitti-1  | com.rabbitmq.client.ShutdownSignalException: channel error; protocol method: #method<channel.close>(reply-code=406, reply-text=PRECONDITION_FAILED - delivery acknowledgement on channel 9 timed out. Timeout value used: 1800000 ms. This timeout value can be configured, see consumers doc guide to learn more, class-id=0, method-id=0)
                                  reitti-1  |     at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.checkShutdown(BlockingQueueConsumer.java:493) ~[spring-rabbit-3.2.5.jar!/:3.2.5]
                                  reitti-1  |     at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.nextMessage(BlockingQueueConsumer.java:554) ~[spring-rabbit-3.2.5.jar!/:3.2.5]
                                  reitti-1  |     at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.doReceiveAndExecute(SimpleMessageListenerContainer.java:1046) ~[spring-rabbit-3.2.5.jar!/:3.2.5]
                                  reitti-1  |     at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.receiveAndExecute(SimpleMessageListenerContainer.java:1021) ~[spring-rabbit-3.2.5.jar!/:3.2.5]
                                  reitti-1  |     at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.mainLoop(SimpleMessageListenerContainer.java:1423) ~[spring-rabbit-3.2.5.jar!/:3.2.5]
                                  reitti-1  |     at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1324) ~[spring-rabbit-3.2.5.jar!/:3.2.5]
                                  reitti-1  |     at java.base/java.lang.Thread.run(Unknown Source) ~[na:na]
                                  reitti-1  | Caused by: com.rabbitmq.client.ShutdownSignalException: channel error; protocol method: #method<channel.close>(reply-code=406, reply-text=PRECONDITION_FAILED - delivery acknowledgement on channel 9 timed out. Timeout value used: 1800000 ms. This timeout value can be configured, see consumers doc guide to learn more, class-id=0, method-id=0)
                                  reitti-1  |     at com.rabbitmq.client.impl.ChannelN.asyncShutdown(ChannelN.java:528) ~[amqp-client-5.25.0.jar!/:5.25.0]
                                  reitti-1  |     at com.rabbitmq.client.impl.ChannelN.processAsync(ChannelN.java:349) ~[amqp-client-5.25.0.jar!/:5.25.0]
                                  reitti-1  |     at com.rabbitmq.client.impl.AMQChannel.handleCompleteInboundCommand(AMQChannel.java:193) ~[amqp-client-5.25.0.jar!/:5.25.0]
                                  reitti-1  |     at com.rabbitmq.client.impl.AMQChannel.handleFrame(AMQChannel.java:125) ~[amqp-client-5.25.0.jar!/:5.25.0]
                                  reitti-1  |     at com.rabbitmq.client.impl.AMQConnection.readFrame(AMQConnection.java:761) ~[amqp-client-5.25.0.jar!/:5.25.0]
                                  reitti-1  |     at com.rabbitmq.client.impl.AMQConnection.access$400(AMQConnection.java:48) ~[amqp-client-5.25.0.jar!/:5.25.0]
                                  reitti-1  |     at com.rabbitmq.client.impl.AMQConnection$MainLoop.run(AMQConnection.java:688) ~[amqp-client-5.25.0.jar!/:5.25.0]
                                  reitti-1  |     ... 1 common frames omitted
                                  
                                  D 1 Reply Last reply
                                  2
                                  • D [email protected]

                                    Hey everyone!

                                    I'm excited to introduce Reitti, a location tracking and analysis application designed to help you gain insights about your movement patterns and significant places—all while keeping your data private on your own server.

                                    Core Capabilities:

                                    • Visit Tracking: Automatically recognizes and categorizes the places where you spend time, using customizable detection algorithms
                                    • Trip Analysis: Analyzes your movements between locations to understand how you travel whether by walking, cycling, or driving
                                    • Interactive Timeline: Visualizes all your past activities on an interactive timeline with map and list views that show visit duration, transport method, and distance traveled

                                    Photo Integration:

                                    • Connect your self-hosted Immich photo server to seamlessly display photos taken at specific locations right within Reitti's timeline. The interactive photo viewer lets you browse galleries for each place.

                                    Data Import Options:

                                    • Multiple Formats Supported: Reitti can import existing location data from GPX, GeoJSON, and Google Takeout (JSON) backups
                                    • (Near) Real-time Updates: Automatically receive location info via mobile apps like OwnTracks, GPSLogger or our REST API

                                    Customization:

                                    • Multi-geocoding Services: Configurable options to convert coordinates to human-readable addresses using providers like Nominatim
                                    • User Profiles: Customize individual display names, password management, and API token security under your own control

                                    Self-hosting:

                                    • Reitti is designed to be deployed on your own infrastructure using Docker containers. We provide configuration templates to set up linked services like PostgreSQL, RabbitMQ and Redis that keep all your location data private.

                                    Reitti is still early in development but has already developed extensive capabilities. I'd love to hear your feedback and answer any questions to tailor Reitti to meet the community's needs.

                                    Hope this sparks some interest!

                                    Daniel

                                    pfr@lemmy.sdf.orgP This user is from outside of this forum
                                    pfr@lemmy.sdf.orgP This user is from outside of this forum
                                    [email protected]
                                    wrote last edited by
                                    #80

                                    Hell yes! I turned off location data for immich but now I can use this!

                                    D 1 Reply Last reply
                                    1
                                    • A [email protected]

                                      It's a 1gig json file that has about 10 years of data. I get multiple repeats of the rabbit timeout in the logs. The Job Status section tells me that it's got just under 9 hours of processing remaining for just over 16,000 in the stay-detection-queue. The numbers change slightly, so something is happening, but it's been going for over 12 hours now, and the time remaining is slowly going up, not down.

                                      reitti-1  | 2025-07-04T03:06:17.848Z  WARN 1 --- [ntContainer#2-1] o.s.a.r.l.SimpleMessageListenerContainer : Consumer raised exception, processing can restart if the connection factory supports it
                                      reitti-1  |
                                      reitti-1  | com.rabbitmq.client.ShutdownSignalException: channel error; protocol method: #method<channel.close>(reply-code=406, reply-text=PRECONDITION_FAILED - delivery acknowledgement on channel 9 timed out. Timeout value used: 1800000 ms. This timeout value can be configured, see consumers doc guide to learn more, class-id=0, method-id=0)
                                      reitti-1  |     at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.checkShutdown(BlockingQueueConsumer.java:493) ~[spring-rabbit-3.2.5.jar!/:3.2.5]
                                      reitti-1  |     at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.nextMessage(BlockingQueueConsumer.java:554) ~[spring-rabbit-3.2.5.jar!/:3.2.5]
                                      reitti-1  |     at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.doReceiveAndExecute(SimpleMessageListenerContainer.java:1046) ~[spring-rabbit-3.2.5.jar!/:3.2.5]
                                      reitti-1  |     at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.receiveAndExecute(SimpleMessageListenerContainer.java:1021) ~[spring-rabbit-3.2.5.jar!/:3.2.5]
                                      reitti-1  |     at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.mainLoop(SimpleMessageListenerContainer.java:1423) ~[spring-rabbit-3.2.5.jar!/:3.2.5]
                                      reitti-1  |     at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1324) ~[spring-rabbit-3.2.5.jar!/:3.2.5]
                                      reitti-1  |     at java.base/java.lang.Thread.run(Unknown Source) ~[na:na]
                                      reitti-1  | Caused by: com.rabbitmq.client.ShutdownSignalException: channel error; protocol method: #method<channel.close>(reply-code=406, reply-text=PRECONDITION_FAILED - delivery acknowledgement on channel 9 timed out. Timeout value used: 1800000 ms. This timeout value can be configured, see consumers doc guide to learn more, class-id=0, method-id=0)
                                      reitti-1  |     at com.rabbitmq.client.impl.ChannelN.asyncShutdown(ChannelN.java:528) ~[amqp-client-5.25.0.jar!/:5.25.0]
                                      reitti-1  |     at com.rabbitmq.client.impl.ChannelN.processAsync(ChannelN.java:349) ~[amqp-client-5.25.0.jar!/:5.25.0]
                                      reitti-1  |     at com.rabbitmq.client.impl.AMQChannel.handleCompleteInboundCommand(AMQChannel.java:193) ~[amqp-client-5.25.0.jar!/:5.25.0]
                                      reitti-1  |     at com.rabbitmq.client.impl.AMQChannel.handleFrame(AMQChannel.java:125) ~[amqp-client-5.25.0.jar!/:5.25.0]
                                      reitti-1  |     at com.rabbitmq.client.impl.AMQConnection.readFrame(AMQConnection.java:761) ~[amqp-client-5.25.0.jar!/:5.25.0]
                                      reitti-1  |     at com.rabbitmq.client.impl.AMQConnection.access$400(AMQConnection.java:48) ~[amqp-client-5.25.0.jar!/:5.25.0]
                                      reitti-1  |     at com.rabbitmq.client.impl.AMQConnection$MainLoop.run(AMQConnection.java:688) ~[amqp-client-5.25.0.jar!/:5.25.0]
                                      reitti-1  |     ... 1 common frames omitted
                                      
                                      D This user is from outside of this forum
                                      D This user is from outside of this forum
                                      [email protected]
                                      wrote last edited by
                                      #81

                                      Thanks for the information. I will try to recreate it locally. In my testing I used a 600MB file and this took maybe 2 hours to process on my server. It is one of these ryzen 7 5825U. Since Reitti tries to do these analysis on multiple cores we start it with 4 to 16 Threads when processing. But the stay detection breaks when doing it that way, so it is locking per user to handle that. If now one of them takes a long time the others will break eventually. They will get resheduled 3 times until rabbitmq gives up.

                                      On what type of system do you run it?

                                      I will add some switches so it is configurable how many threads are opened and add some log statements to print out the duration it took for a single step.

                                      A 1 Reply Last reply
                                      1
                                      • D [email protected]

                                        Thanks for the information. I will try to recreate it locally. In my testing I used a 600MB file and this took maybe 2 hours to process on my server. It is one of these ryzen 7 5825U. Since Reitti tries to do these analysis on multiple cores we start it with 4 to 16 Threads when processing. But the stay detection breaks when doing it that way, so it is locking per user to handle that. If now one of them takes a long time the others will break eventually. They will get resheduled 3 times until rabbitmq gives up.

                                        On what type of system do you run it?

                                        I will add some switches so it is configurable how many threads are opened and add some log statements to print out the duration it took for a single step.

                                        A This user is from outside of this forum
                                        A This user is from outside of this forum
                                        [email protected]
                                        wrote last edited by
                                        #82

                                        i7-8700 with 64GB of RAM

                                        D 1 Reply Last reply
                                        1
                                        • A [email protected]

                                          i7-8700 with 64GB of RAM

                                          D This user is from outside of this forum
                                          D This user is from outside of this forum
                                          [email protected]
                                          wrote last edited by [email protected]
                                          #83

                                          Hmm, I had hoped you say something like a Raspberry PI 😄

                                          But this should be enough to have it processed in a reasonable time. What I do not understand in the moment is, that the filesize should not affect it in any way. When importing it 100 Geopoints are bundled, send to RabbitMQ. From there we retrieve them, do some filtering and save them in the database. Then actually nothing happens anymore until the next processing run is triggered.

                                          But this than works with the PostGis DB and not with the file anymore. So the culprit should be there somewhere. I will try to insert some fake data into mine and see how long it takes if i double my location points.

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


                                          • Login

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups