PC [app] - Tsw Route Annotations

Discussion in 'TSW General Discussion' started by Winzarten, Aug 8, 2025.

  1. MadduckUK

    MadduckUK Well-Known Member

    Joined:
    Jan 3, 2021
    Messages:
    230
    Likes Received:
    427
    No, but i'm only using the weather part of the app. It bounces around 130MB with no upward trend.
     
  2. martschuffing

    martschuffing Well-Known Member

    Joined:
    Aug 8, 2020
    Messages:
    1,085
    Likes Received:
    841
    Tried that, no joy.
     
  3. MadduckUK

    MadduckUK Well-Known Member

    Joined:
    Jan 3, 2021
    Messages:
    230
    Likes Received:
    427
    Are settings retained between reinstalls? may have to track down that file.
     
  4. Winzarten

    Winzarten Well-Known Member

    Joined:
    Jun 27, 2020
    Messages:
    726
    Likes Received:
    1,797
    • Like Like x 1
    • Helpful Helpful x 1
  5. parishl

    parishl Active Member

    Joined:
    Aug 1, 2025
    Messages:
    50
    Likes Received:
    104
    No issues for me, although I do seem to be getting a lot of 90% overcast with around 0.05mm of rain.
     
  6. Winzarten

    Winzarten Well-Known Member

    Joined:
    Jun 27, 2020
    Messages:
    726
    Likes Received:
    1,797
    I profiled the app last evening and there is a very small memory leak (which will be fixed next release), but I don't see it to end in the scenario you're having. It was present since September '25, and you would need to play for hours to get it anywhere noticable.. So this is most likely not it, and something else is going on.
     
    • Like Like x 1
    • Helpful Helpful x 1
  7. martschuffing

    martschuffing Well-Known Member

    Joined:
    Aug 8, 2020
    Messages:
    1,085
    Likes Received:
    841
    Thanks for the reply,
    It worked fine before I tried to install the update before last, it kept on giving me an error saying a file was in use that needed to be updated and to close an application though it wasn't specific to which app? The installer runs whilst the app is open and you can't close it anyway.
     
  8. LeadCatcher

    LeadCatcher Well-Known Member

    Joined:
    Dec 9, 2016
    Messages:
    1,645
    Likes Received:
    4,463
    I did a searchthrough this thread and didn't see any reference to a problem I am having witht the Live weather injection - I always get the error TooManyRequests shortly after starting a scenario or timetable - it does inject the live weather upon starting the scenario or Timetable (Weather in sim is set to custom and clear). I basically have the default setting in TSW Annontate. Just wondering if others have this problem or am I doing something incorrectl;y
     
  9. Winzarten

    Winzarten Well-Known Member

    Joined:
    Jun 27, 2020
    Messages:
    726
    Likes Received:
    1,797
    Check this Post:[app] - Tsw Route Annotations
    There was a bug in the app, in one version, which prevented the autoupdater to close the app properly.

    This is the weather service rejecting to provide the data, most likely becasue too many request were made from the IP (or the IP is banned, for some reason). Could you please upload the log? There might be something weird going up with the app, so it floods the service with request...
    But if that isn't that, there isn't much I can do.
     
    • Like Like x 1
  10. LeadCatcher

    LeadCatcher Well-Known Member

    Joined:
    Dec 9, 2016
    Messages:
    1,645
    Likes Received:
    4,463
    Here is my latest log file --- and thanks for looking into this
     

    Attached Files:

  11. Winzarten

    Winzarten Well-Known Member

    Joined:
    Jun 27, 2020
    Messages:
    726
    Likes Received:
    1,797
    There a quite a bit of queries in the log, but that could be from the returned error code, because the app tries to requery. The only thing I can think of is to check if this setting isn't changed to something small.
    upload_2026-6-18_17-50-19.png
    I've changed the logic in todays update a little bit, so it doesn't spam the service in case of repeated errors. Not sure that will help though.

    Todays Update
    • I've have hopefuly fixed the small memory leak.
    • And weather snaphshot update is now also triggered by distance. If you move more than a defined distance from the weather snapshot point, then a new update will be triggered. This will, hopefuly, increase weather precision and smoothing for high-speed routes, where it is possible to move quite a distance during the few minutes between updates. The app will also try to predict, based on speed, if time or distance update will trigger next, and reduce the number of smoothed points, if required. The size of the 'weather bubble' can be changed in the settings. :)

    upload_2026-6-18_17-57-54.png
     

    Attached Files:

    • Like Like x 5
  12. martschuffing

    martschuffing Well-Known Member

    Joined:
    Aug 8, 2020
    Messages:
    1,085
    Likes Received:
    841
    Thanks Winz that sorted it. ;)
     
    • Like Like x 2
  13. Winzarten

    Winzarten Well-Known Member

    Joined:
    Jun 27, 2020
    Messages:
    726
    Likes Received:
    1,797
    Happy to hear that :)
     
  14. LeadCatcher

    LeadCatcher Well-Known Member

    Joined:
    Dec 9, 2016
    Messages:
    1,645
    Likes Received:
    4,463
    thanks - will check that setting… I don’t remember changing any settings from the initial install, but will check - thanks for taking the time a gander at the log….


    Edit - did check the setting mentioned and it was set to 0…. Which was causing the spamming -set it back to the default of 2.00 and all is well. Not sure of how it got changed in the first place… but all is good now. Thanks once again
     
    Last edited: Jun 19, 2026 at 9:04 PM
    • Like Like x 1
  15. Bekns

    Bekns Active Member

    Joined:
    Jan 20, 2019
    Messages:
    212
    Likes Received:
    71
    I had an issue with ThirdRails where it would seemingly crash and it turned out it was most likely Open Maps returning a Cloudflare or similar challenge when data was requested. Upon digging it turned out (unknown to me) my ISP was using a CGNat which basically puts a group of its customers behind one IP address to save on IP address's but this can play havoc with websites as they see what appears to be excess data / requests coming from one IP address and worse it could be that someone has been acting nefariously from behind that IP and caused it to be flagged.

    This was causing me to have excessive Cloudflare challenges which in a browser is annoying but when it comes to integrated apps can be show stopping, it also explained why my location was never accurate.

    This might be completely the wrong tree and very specific for my use case but thought it worth a mention, I had to ring my ISP and request to be taken off the CGNat and have a dedicated IP (not static but still not behind a CGNat)
     
    • Like Like x 1
    • Helpful Helpful x 1
  16. LeadCatcher

    LeadCatcher Well-Known Member

    Joined:
    Dec 9, 2016
    Messages:
    1,645
    Likes Received:
    4,463

    I was thinking along those same lines since I am using Frontier Fiber… was going to use a VPN to see if presenting a different IP would resolve the issue
     
  17. BeenTrain

    BeenTrain Active Member

    Joined:
    Dec 10, 2016
    Messages:
    215
    Likes Received:
    185
    Well, now that you mention it, I have had a few rare occasions where map-related issues somehow resolved themselves, sometimes after a router restart, so they could potentially have been caused by something like what you describe.
    I doubt it would lead to a memory leak in ThirdRails, though, as I would expect it to result in an empty map rather than increasing memory usage.
     
  18. Bekns

    Bekns Active Member

    Joined:
    Jan 20, 2019
    Messages:
    212
    Likes Received:
    71
    Hi Been

    Separate issues, Lead was saying he was getting a 'TooManyRequests' error which I was replying to.

    Not wanting to hijack this thread Ill keep it short. I never was able to 100% say that getting Cloudflare challenges was causing Thirdrails to crash but since changing my ISP settings I have had 1 crash in a few months whereas before I would have multiple a week across different versions as well, and it would completely crash to desktop, losing whatever ride I was on.

    I didnt really pursue the issue externally as I was pretty confident the problem was user specific to me, your program is awesome and is a real credit to the work you have put into it!
     
  19. BeenTrain

    BeenTrain Active Member

    Joined:
    Dec 10, 2016
    Messages:
    215
    Likes Received:
    185
    No worries, and I don’t want to hijack the thread either. :)

    I just found your post very helpful. It’s definitely useful information to keep in mind when troubleshooting strange user-specific issues.
     
    • Like Like x 1
  20. martschuffing

    martschuffing Well-Known Member

    Joined:
    Aug 8, 2020
    Messages:
    1,085
    Likes Received:
    841
    Having a new issue since the Crewe Preston update? When I run the program I get an all blue overlay box appear over the top of the ui!
    I cant close it as it just reappears, whatever it is it stops the app from working in game.
     
  21. Winzarten

    Winzarten Well-Known Member

    Joined:
    Jun 27, 2020
    Messages:
    726
    Likes Received:
    1,797
    Weird, there were no significant code changes in the last update... Just the new anotations.
    Anybody else is having the issue?
     
  22. redrev1917

    redrev1917 Well-Known Member

    Joined:
    Jul 22, 2021
    Messages:
    4,161
    Likes Received:
    9,709
    No issues at my side
     
    • Like Like x 1
    • Helpful Helpful x 1
  23. Train Sim Society

    Train Sim Society Well-Known Member

    Joined:
    Aug 22, 2021
    Messages:
    655
    Likes Received:
    1,481
    all is working fine for me!
     
    • Like Like x 1
    • Helpful Helpful x 1
  24. LeadCatcher

    LeadCatcher Well-Known Member

    Joined:
    Dec 9, 2016
    Messages:
    1,645
    Likes Received:
    4,463
    all is working fine on my end… again many thanks for taking the time to help me with my configuration problem when I was getting TooManyRequests errors. This is a “must have” utility for my TSW enjoyment.
     
    • Like Like x 2
  25. GrayDawg

    GrayDawg Well-Known Member

    Joined:
    Dec 5, 2019
    Messages:
    163
    Likes Received:
    373
    Is there a way to save the window size and position between sessions? Every time I open the application, I have to resize it. I tried to look for some setting in the application to save this, but perhaps my old eyes just missed it?
     
  26. champier#2613

    champier#2613 Member

    Joined:
    May 31, 2022
    Messages:
    98
    Likes Received:
    69
    I was having this problem. Go in settings and go to the overlay tab. Make sure Annotation Window Mode is set to Overlay Window instead of Regular Window
     
  27. MadduckUK

    MadduckUK Well-Known Member

    Joined:
    Jan 3, 2021
    Messages:
    230
    Likes Received:
    427
    Hi Winzarten, I did a complete reinstall of TSW and TSW Route Annotation today and for some reason I can't get it to go past Waiting for TSW now. I tried a full reinstall of TSWRA including deleting the TSWMarkPoints folder but that didn't help. Log for initial attempt and then the retry attached.

    The files WeatherProfiles.xml.1 etc the logs refer to do not exist in that location if that is of any help.

    Thanks!
     

    Attached Files:

  28. Winzarten

    Winzarten Well-Known Member

    Joined:
    Jun 27, 2020
    Messages:
    726
    Likes Received:
    1,797
    Thanks for this, I will have a look on the Regular Window, possibly something got broken there.

    Are you sure, you're running TSW with the HTTPAPI enabled?
     
    • Like Like x 1
  29. MadduckUK

    MadduckUK Well-Known Member

    Joined:
    Jan 3, 2021
    Messages:
    230
    Likes Received:
    427
    Definitely hadn't put -HTTP API" :| What a doofus, thanks!
     
    • Like Like x 1
  30. vodka#2734

    vodka#2734 Well-Known Member

    Joined:
    May 20, 2025
    Messages:
    965
    Likes Received:
    965
    You're running it on Linux, right? If you get any success with the route annotations, please let me know. There were some Before this they wrote that the application doesn't work in Linux and doesn't receive data.
     
  31. MadduckUK

    MadduckUK Well-Known Member

    Joined:
    Jan 3, 2021
    Messages:
    230
    Likes Received:
    427
    This was for the windows install (I have both now) but yes I will have a go with it on the Bazzite install and if I figure anything I will let you know!

    Haven't got everything I need set up in it yet so still mainly using windows.
     
    • Like Like x 1

Share This Page