TryItOnline / tryitonline

The Try It Online family of online interpreters.
https://tryitonline.net
MIT License
539 stars 58 forks source link

`tio.run` always returns an empty response #96

Closed James103 closed 6 months ago

James103 commented 6 months ago

For some reason, every time I click the run button, the server returns an empty response, resulting in the error message "The server's response could not be decoded."

Inspecting the details of the request shows that the response is indeed empty:

XMLHttpRequest {
    mozAnon: false
    mozSystem: false
    onabort: null
    onerror: null
    onload: null
    onloadend: null
    onloadstart: null
    onprogress: null
    ontimeout: null
    readyState: 4
    response: ArrayBuffer { byteLength: 0 }
    responseType: "arraybuffer"
    responseURL: [redacted]
    status: 0
    statusText: ""
    timeout: 0
    upload: XMLHttpRequestUpload { onloadstart: null, onprogress: null, onabort: null, … }
    withCredentials: false
}
DennisMitchell commented 6 months ago

That should be fixed now, thank you for bringing it to my attention.