Commit 0dc7854
fix: nginx proxy_read_timeout now respects LLM_TIMEOUT setting (#182)
* fix: log tshark stderr on parse failure
Previously stderr was discarded, making it impossible to diagnose
why tshark rejected a file. Now stderr is captured and included in
both the log message and the thrown exception.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* fix: dark mode text contrast for error message and loading view
- ErrorMessage: override hardcoded dark-red title/text colors with
light pink tones under [data-theme='dark']
- sgds-overrides: add explicit dark mode rules for .text-body and
.text-muted so Bootstrap utility classes respect the dark theme;
also wire --bs-body-color and --bs-secondary-color tokens
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* fix: address PR #179 review comments
- Replace StringBuilder with StringBuffer for stderrBuf to prevent race condition if join(5000) times out and background thread is still writing
- Cache isPrivate() results in computeTopAsns to avoid repeated string parsing per conversation; replace nested ternary with if-else for readability
- Remove duplicate [data-theme='dark'] .text-muted rule in sgds-overrides.css
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* fix: nginx proxy_read_timeout now respects LLM_TIMEOUT setting
The proxy_read_timeout was capped at 900s regardless of LLM_TIMEOUT,
causing nginx to drop long-running story generation requests early while
the backend continued and saved the result. Now the timeout is set to
max(memory-derived value, LLM_TIMEOUT + 60s) so nginx always waits at
least as long as the configured LLM timeout. LLM_TIMEOUT is forwarded
to the nginx container in docker-compose.yml.
Closes #181
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* fix: harden tshark stderr drainer charset, buffer cap, and logging
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
---------
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent f388069 commit 0dc7854
File tree
4 files changed
+18
-5
lines changed- backend/src/main/java/com/tracepcap/analysis/service
- frontend/src/assets/styles
- nginx
4 files changed
+18
-5
lines changedLines changed: 7 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
94 | | - | |
| 94 | + | |
95 | 95 | | |
96 | | - | |
97 | | - | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
98 | 102 | | |
99 | 103 | | |
100 | 104 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
| 113 | + | |
| 114 | + | |
113 | 115 | | |
114 | 116 | | |
115 | 117 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
316 | 316 | | |
317 | 317 | | |
318 | 318 | | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
319 | 324 | | |
320 | 325 | | |
321 | 326 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
16 | 18 | | |
17 | 19 | | |
18 | 20 | | |
| |||
0 commit comments