bvandeusen
7d15f57e86
test-go / test (push) Successful in 36s
test-go / integration (push) Successful in 9m48s
fix(server): cast token URL honors X-Forwarded-Proto / Host
...
On-device test against Sonos showed SetAVTransportURI returning UPnP
error 714 (IllegalMimeType). Logcat:
POST /api/cast/stream-token -> 200 (token minted)
SetAVTransportURI to http://minstrel.fabledsword.com/ ...
<-- 500 from Sonos: SoapFaultException SOAP fault 714
The server is behind a TLS-terminating reverse proxy, so r.TLS is
nil and the URL builder emitted http://. Sonos does a HEAD probe to
detect the audio MIME type; against an http:// URL that 301s to
https://, the probe finds no audio body and bails with 714.
The Task 2 code-quality reviewer flagged this exact scenario at the
time. Closing it now: honor X-Forwarded-Proto + X-Forwarded-Host
before falling back to r.TLS + r.Host. Public URL the speaker
fetches now matches the scheme/host the client used to reach the
endpoint.
2026-06-03 15:17:34 -04:00
..
2026-05-17 21:05:36 -04:00
2026-05-07 20:10:18 -04:00
2026-06-02 18:11:25 -04:00
2026-05-07 20:10:18 -04:00
2026-05-07 07:59:40 -04:00
2026-05-07 20:10:18 -04:00
2026-05-16 18:41:21 -04:00
2026-05-16 18:41:21 -04:00
2026-05-07 12:01:16 -04:00
2026-05-08 10:46:43 -04:00
2026-05-17 20:22:30 -04:00
2026-05-08 23:07:15 -04:00
2026-05-08 10:40:03 -04:00
2026-05-12 21:28:05 -04:00
2026-05-18 12:24:20 -04:00
2026-05-12 20:55:33 -04:00
2026-05-06 22:59:23 -04:00
2026-05-07 20:10:18 -04:00
2026-05-04 20:13:31 -04:00
2026-05-07 20:10:18 -04:00
2026-05-07 12:43:44 -04:00
2026-05-08 10:18:35 -04:00
2026-05-08 10:40:03 -04:00
2026-05-08 10:46:43 -04:00
2026-05-17 20:22:30 -04:00
2026-05-08 08:17:35 -04:00
2026-06-03 11:46:57 -04:00
2026-05-07 12:49:30 -04:00
2026-05-07 21:33:14 -04:00
2026-05-07 11:56:19 -04:00
2026-05-13 11:58:24 -04:00
2026-05-07 12:49:30 -04:00
2026-05-07 21:33:14 -04:00
2026-05-08 10:40:03 -04:00
2026-05-07 20:25:26 -04:00
2026-06-03 11:46:57 -04:00
2026-06-03 15:17:34 -04:00
2026-05-10 20:28:27 -04:00
2026-05-10 20:28:27 -04:00
2026-04-21 23:02:20 -04:00
2026-05-04 17:41:16 -04:00
2026-05-07 19:48:25 -04:00
2026-05-07 19:48:25 -04:00
2026-05-12 21:28:05 -04:00
2026-05-12 20:44:37 -04:00
2026-05-08 11:29:36 -04:00
2026-05-15 11:14:21 -04:00
2026-05-13 20:41:44 -04:00
2026-05-13 20:41:44 -04:00
2026-05-01 18:00:59 -04:00
2026-05-07 20:48:20 -04:00
2026-04-28 09:27:06 -04:00
2026-05-09 22:47:25 -04:00
2026-05-10 18:47:30 -04:00
2026-05-10 18:47:30 -04:00
2026-05-10 18:47:30 -04:00
2026-06-03 13:30:36 -04:00
2026-05-15 21:37:29 -04:00
2026-04-29 17:35:45 -04:00
2026-05-07 21:19:35 -04:00
2026-05-08 10:40:03 -04:00
2026-05-13 14:27:23 -04:00
2026-04-28 09:27:06 -04:00
2026-05-08 08:26:43 -04:00
2026-05-04 07:05:49 -04:00
2026-05-08 08:44:50 -04:00
2026-05-07 12:38:48 -04:00
2026-05-08 08:44:50 -04:00
2026-05-07 12:38:48 -04:00
2026-05-08 08:44:50 -04:00
2026-05-04 18:13:13 -04:00
2026-05-08 08:44:50 -04:00
2026-06-02 18:24:23 -04:00
2026-05-17 20:22:30 -04:00
2026-05-13 11:58:24 -04:00
2026-05-07 12:38:48 -04:00
2026-05-08 08:26:43 -04:00
2026-06-02 18:24:23 -04:00
2026-05-04 15:21:24 -04:00
2026-06-03 13:43:28 -04:00
2026-06-02 11:25:50 -04:00
2026-05-15 13:21:09 -04:00
2026-05-17 20:22:30 -04:00
2026-05-08 10:40:03 -04:00
2026-05-15 13:33:52 -04:00
2026-05-17 20:22:30 -04:00
2026-04-30 20:19:39 -04:00
2026-05-12 21:28:05 -04:00
2026-05-08 11:05:25 -04:00
2026-05-08 08:43:36 -04:00
2026-05-08 12:05:35 -04:00
2026-05-12 20:55:33 -04:00
2026-05-07 22:18:40 -04:00
2026-05-07 21:28:20 -04:00
2026-04-21 08:29:28 -04:00
2026-05-08 10:46:43 -04:00
2026-06-03 11:34:02 -04:00
2026-06-03 13:41:54 -04:00
2026-05-01 06:23:08 -04:00
2026-05-16 20:16:56 -04:00
2026-05-13 20:41:44 -04:00