Chrome Returns 206 when the Server Returns 403
Published on: 2025-07-07 06:00:57
Sorry for the clickbait, but it is true.
I was helping my partner debug an interesting bug in his fancy parquet viewer. The website crashes when a user tries to access S3.
So the symptom is that OpenDAL (one of the parquet viewer’s dependencies) crashes because it did not receive enough data from S3 storage.
My Initial Attempt
Initially, I thought this was a bug inside OpenDAL, so I tried compiling everything on my native machine, but the bug disappeared. This allowed me to narrow the bugs to all WASM-related components.
My goal was to find the first program location where the data is lost. Unfortunately, debugging the WASM code is not fun, and I have fallen back to print debugging. So I was doing the following manually, starting with parquet viewer:
download and compile the project insert debugging code to print the size of the data check if data is already shorter than expected if true, download and compile the library it used to fetch the data and go back to step 1
I have gon
... Read full article.