Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I run Stringer without SSL? #1178

Open
Dan6erbond opened this issue Mar 26, 2024 · 1 comment
Open

How can I run Stringer without SSL? #1178

Dan6erbond opened this issue Mar 26, 2024 · 1 comment

Comments

@Dan6erbond
Copy link

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?>
@mockdeep
Copy link
Collaborator

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants