Skip to content

How can I run Stringer without SSL? #1178

Open

Description

@Dan6erbond

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?>

Activity

  1. mockdeep commented on Mar 26, 2024

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions