mirror of
https://github.com/puma/puma.git
synced 2022-11-09 13:48:40 -05:00
48 lines
1.3 KiB
Markdown
48 lines
1.3 KiB
Markdown
---
|
|
name: Bug report
|
|
about: Create a report to help us improve
|
|
title: ''
|
|
labels: ''
|
|
assignees: ''
|
|
|
|
---
|
|
|
|
**Describe the bug**
|
|
A clear and concise description of what the bug is.
|
|
|
|
**Puma config:**
|
|
|
|
Please copy-paste your Puma config AND your command line options here.
|
|
|
|
**To Reproduce**
|
|
Please add reproduction steps here.
|
|
|
|
Your issue will be solved very quickly if you can reproduce it with a "hello world" rack application. To do this, copy this into a file called `hello.ru`:
|
|
|
|
```
|
|
run lambda { |env| [200, {"Content-Type" => "text/plain"}, ["Hello World"]] }
|
|
```
|
|
|
|
Run it with:
|
|
|
|
```
|
|
bundle exec puma -C <where_your_config_is> hello.ru
|
|
```
|
|
|
|
If you cannot reproduce with a hello world application or other simple application, we will have a lot more difficulty helping you fix your issue, because it may be application-specific and not a bug in Puma at all.
|
|
|
|
There is also a Dockerfile available for reproducing Linux-specific issues. To use:
|
|
|
|
```
|
|
$ docker build -f tools/docker/Dockerfile -t puma .
|
|
$ docker run -p 9292:9292 -it puma
|
|
```
|
|
|
|
This will help you to create a container that reproduces your issue.
|
|
|
|
**Expected behavior**
|
|
A clear and concise description of what you expected to happen.
|
|
|
|
**Desktop (please complete the following information):**
|
|
- OS: [e.g. Mac, Linux]
|
|
- Puma Version [e.g. 4.1.1]
|