Skip to content

Commit

Permalink
Merge pull request duckdb#3659 from szarnyasg/add-troubleshooting-item
Browse files Browse the repository at this point in the history
Add troubleshooting item
  • Loading branch information
szarnyasg authored Sep 17, 2024
2 parents ca13a46 + 0e0bea1 commit c68c615
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
11 changes: 11 additions & 0 deletions BUILDING.md
Original file line number Diff line number Diff line change
Expand Up @@ -216,3 +216,14 @@ The solution, according to a [Stack Overflow answer](https://stackoverflow.com/a
```bash
gem update --system
```
### `ERROR bad URI`
The following error occurs when trying to access the locally built website via HTTPS (`https://localhost:4000/`).
```console
[2024-09-17 12:15:36] ERROR bad URI `����\x12`�\x17\x03�L\x00\x00\x14�'.
[2024-09-17 12:15:36] ERROR bad Request-Line ...
```
This happens frequently with browsers looking to force an HTTPS connection such as Safari.
The solution is to use an HTTP connection (`http://localhost:4000`) and optionally try another browser (e.g., Chrome or Firefox).
2 changes: 1 addition & 1 deletion scripts/serve-latest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ set -euo pipefail
# navigate to the repository root
cd "$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )/.."

scripts/serve.sh --config _config.yml,_config_exclude_archive.yml
scripts/serve.sh --config _config.yml,_config_exclude_archive.yml $@

0 comments on commit c68c615

Please sign in to comment.