bahn.expert icon indicating copy to clipboard operation
bahn.expert copied to clipboard

Timeout too short.

Open dreirund opened this issue 2 years ago • 0 comments

Describe the bug I too often cannot use marudor.de when I most need it: Before the data of a station or train is loaded, it errors out with timeout. It seems that the timeout comes from the JavaScript running in my webbrowser, as dbf.finalrewind.org work fine, as well as command line perl based RIS/ IRIS request tools.

On mobile networks, slow responding internet is quite common, especially when in GPRS-only areas or high-speed bandwidth has been used up. The same holds true for the wireless internet on German trains -- where you most probably need it most when your train is delayed and you want to get ideas on how to continue your journey.

Please increase the timeout to >=300 seconds (you can add a "abort search"-button popping up after few seconds of no results).

To Reproduce Steps to reproduce the behavior:

  1. Be on a network which in general functions, but ping roundtrips is some seconds or more.
  2. Open a station departure board from marudor.de, e.g. marudor.de/Kehl.
  3. Wait for data beeing loaded and probably observe a timeout error.

Expected behavior Do not timeout after some (tens) of seconds but patiently wait for the answer(s) coming back.

Desktop (please complete the following information):

  • OS: Artix GNU/Linux.
  • Browser: Firefox 102.0b9 (Artix).

Smartphone (please complete the following information):

  • Device: markw
  • OS: crDroid (Android 11).
  • Browser Mull (Android).
  • Version [e.g. 22]

Additional context A similar web service, dbf.finalrewind.org, works well in the cases were marudor.de timeouts but otherwise the network is slow but functioning.

dreirund avatar Jun 23 '22 17:06 dreirund