Skip to content

v0.1.12 — National Rail: fix HTTP 500 (SOAPAction/version) + non-blocking snapshot

Choose a tag to compare

@NerdySoftPaw NerdySoftPaw released this 06 Jul 10:36
63d0c97

Fixes

  • National Rail (UK): departures returned HTTP 500 for every station. The SOAPAction was pinned to the request-body ldb version instead of the fixed operation version. Aligned the LDBWS version triple with reference clients: endpoint ldb12.asmx, body namespace 2021-11-01, SOAPAction .../2012-01-13/ldb/GetDepartureBoard. Refs NerdySoftPaw/openpublictransport#39.
  • Station snapshot is now loaded off the event loop (Home Assistant flagged a blocking file read).
  • Non-200 SOAP responses now log the fault reason instead of discarding it.