# Udp input is crashing

**URL:** <https://discuss.elastic.co/t/udp-input-is-crashing/128485>\
**Category:** Logstash\
**Created:** [April 18, 2018, 8:38am UTC](https://discuss.elastic.co/t/udp-input-is-crashing/128485 "2018-04-18T08:38:30Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![tobstone](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tobstone/32/30121_2.png) [@tobstone](https://discuss.elastic.co/u/tobstone)\
**Post date:** [April 18, 2018, 8:38am UTC](https://discuss.elastic.co/t/udp-input-is-crashing/128485/1 "2018-04-18T08:38:31Z")

</div>

`[2018-04-18T10:33:55,772][INFO][logstash.inputs.udp] Starting UDP listener {:address=>"0.0.0.0:9988"} [2018-04-18T10:33:55,773][WARN][logstash.inputs.udp] UDP listener died {:exception=>#<NameError: uninitialized constant LogStash::Inputs::Udp::IPAddr>, :backtrace=>["org/jruby/RubyModule.java:2746:in`const\_missing'", "/usr/share/logstash/vendor/bundle/jruby/1.9/gems/logstash-input-udp-3.3.1/lib/logstash/inputs/udp.rb:87:in `udp_listener'", "/usr/share/logstash/vendor/bundle/jruby/1.9/gems/logstash-input-udp-3.3.1/lib/logstash/inputs/udp.rb:57:in`run'", "/usr/share/logstash/logstash-core/lib/logstash/pipeline.rb:470:in `inputworker'", "/usr/share/logstash/logstash-core/lib/logstash/pipeline.rb:463:in`start\_input'"]}`

logstash 5.6.9  
os: ubuntu linux 16.04

---

<div class="post-metadata">

**Author:** ![kremers](https://avatars.discourse-cdn.com/v4/letter/k/7ea924/32.png) [@kremers](https://discuss.elastic.co/u/kremers)\
**Post date:** [April 19, 2018, 9:52am UTC](https://discuss.elastic.co/t/udp-input-is-crashing/128485/2 "2018-04-19T09:52:45Z")

</div>

Same issue here, since going from 5.6.8 to 5.6.9

---

<div class="post-metadata">

**Author:** ![ppuschmann](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ppuschmann/32/146751_2.png) [@ppuschmann](https://discuss.elastic.co/u/ppuschmann)\
**Post date:** [April 19, 2018, 9:54am UTC](https://discuss.elastic.co/t/udp-input-is-crashing/128485/3 "2018-04-19T09:54:57Z")

</div>

But this seems to help:

```
/usr/share/logstash/bin/logstash-plugin update logstash-input-udp
Updating logstash-input-udp
Updated logstash-input-udp 3.3.1 to 3.3.2

```

Anyway: this makes me sad.

Logstash 5.6.8-1: `logstash-input-udp` (3.2.1) (working)

Logstash 5.6.9-1: `logstash-input-udp` (3.3.1) (broken)

**Solution** : upgrading `logstash-input-udp` to 3.3.2

Downgrading is not an option for us since there was a broken `logstash-filter-grok` in Logstash 5.6.8

---

<div class="post-metadata">

**Author:** ![tobstone](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tobstone/32/30121_2.png) [@tobstone](https://discuss.elastic.co/u/tobstone)\
**Post date:** [April 19, 2018, 10:21am UTC](https://discuss.elastic.co/t/udp-input-is-crashing/128485/4 "2018-04-19T10:21:02Z")

</div>

> [@ppuschmann](#):
>
> /usr/share/logstash/bin/logstash-plugin update logstash-input-udp  
> Updating logstash-input-udp  
> Updated logstash-input-udp 3.3.1 to 3.3.2

thanks, they solved it fast

---

<div class="post-metadata">

**Author:** ![Dell-DSB](https://avatars.discourse-cdn.com/v4/letter/d/65b543/32.png) [@Dell-DSB](https://discuss.elastic.co/u/Dell-DSB)\
**Post date:** [May 8, 2018, 5:31pm UTC](https://discuss.elastic.co/t/udp-input-is-crashing/128485/5 "2018-05-08T17:31:28Z")

</div>

I had this problem on the docker image I pulled 2 weeks ago.  
I didn't specify a version and docker pulled the latest.  
It took me many hours to debug until I saw the error using 'docker logs -f logstash' and saw right away the 'UDP listener died' error message. I thought I had a corrupt logstash.conf file, but it looked ok.  
Then, I found this thread.  
As of 2018/05/08, the 'docker pull logstash' still pulls down 5.6.9. And it still has the problem.

To workaround, I pulled logstash:5.6.8 (docker pull logstash:5.6.8) and run it. It works fine.

---

<div class="post-metadata">

**Author:** ![AJ\_NOURI](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aj_nouri/32/29741_2.png) [@AJ\_NOURI](https://discuss.elastic.co/u/AJ_NOURI)\
**Post date:** [May 10, 2018, 4:28pm UTC](https://discuss.elastic.co/t/udp-input-is-crashing/128485/6 "2018-05-10T16:28:13Z")

</div>

Updating udp plugin solved the same issue:

```
# logstash-plugin update logstash-input-udp
Updating logstash-input-udp
Updated logstash-input-udp 3.3.1 to 3.3.3
```

---

<div class="post-metadata">

**Author:** ![TJ\_Hsiao](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tj_hsiao/32/31293_2.png) [@TJ\_Hsiao](https://discuss.elastic.co/u/TJ_Hsiao)\
**Post date:** [May 17, 2018, 12:08am UTC](https://discuss.elastic.co/t/udp-input-is-crashing/128485/7 "2018-05-17T00:08:18Z")

</div>

Hi Paul, many thanks for your suggested solution.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [June 14, 2018, 12:08am UTC](https://discuss.elastic.co/t/udp-input-is-crashing/128485/8 "2018-06-14T00:08:21Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
