It happens only on Chrome/Firefox – on Safari everything works fine.
I noticed that some requests (eg. file upload) don’t work correctly after moving to turbo (from turbolinks). Request:
patch https://my.local.domain/profile/set_logo
returns (on localhost):
HTTP parse error, malformed request: #<Puma::HttpParserError: Invalid HTTP format, parsing fails. Are you trying to open an SSL connection to a non-SSL Puma?>
and on staging it reloads the whole page and doesn’t upload the file.
It fails only after changing from turbolinks to turbo.
Any ideas?