How can I run Stringer without SSL?
Dan6erbond opened this issue · comments
I want to test Stringer locally, using Docker compose and am not able to access it because localhost:8080 isn't using HTTPS. I also plan to run Stringer in production behind Traefik, so I don't need to have Puma manage certificates. Is there any way to disable SSL on the server? It seems it's automatically redirecting my http:// requests to https://.
The logs I get right now trying to access localhost:8080:
2024-03-26 11:26:21 +0000 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?>
@Dan6erbond it looks like this may be related to this other issue. For now you can try to disable force_ssl
in production.rb
and rebuild the image. We haven't had time to debug this more thoroughly, but ideally SSL mode would just work with the default configuration.