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

Error message in server log when getting GELF/HTTP message #5503

Closed
kmerz opened this issue Jan 14, 2019 · 0 comments
Closed

Error message in server log when getting GELF/HTTP message #5503

kmerz opened this issue Jan 14, 2019 · 0 comments
Labels
blocker If not finished by release date, the release will be postponed. bug inputs #S <= 1d
Milestone

Comments

@kmerz
Copy link
Member

kmerz commented Jan 14, 2019

When sending a GELF message with curl from shell to GELF/HTTP Input I get following
error message in the server log:

2019-01-14 14:05:00,392 ERROR: org.graylog2.plugin.inputs.transports.AbstractTcpTransport - Error in Input [GELF HTTP/5c35eca53d274637c3007582] (channel [id: 0xc4d569f2, L:/127.0.0.1:12201 ! R:/127.0.0.1:37774]) (cause io.netty.util.IllegalReferenceCountException: refCnt: 0, decrement: 1)

The curl command is:

curl -X POST -H 'Content-Type: application/json' -d '{ "version": "1.1", "host": "example.org", "short_message": "A short message", "_fool": false, "_numb": 33, "level": 5, "_some_info": "foo" }' 'http://localhost:12201/gelf'

Your Environment

  • Graylog Version: 3.0.0 beta
  • Elasticsearch Version: 5.6.5
  • Operating System: Ubuntu 16.04
@kmerz kmerz added this to the 3.0.0 milestone Jan 14, 2019
@bernd bernd added blocker If not finished by release date, the release will be postponed. #S <= 1d labels Jan 14, 2019
bernd added a commit that referenced this issue Jan 15, 2019
Call "#retain()" on the buffer that we pass on to other handlers to
avoid a IllegalReferenceCountException:

  Error in Input [GELF HTTP/5c35eca53d274637c3007582] (channel [id:
  0xc4d569f2, L:/127.0.0.1:12201 ! R:/127.0.0.1:37774]) (cause
  io.netty.util.IllegalReferenceCountException: refCnt: 0, decrement: 1)

Fixes #5503
kroepke pushed a commit that referenced this issue Jan 15, 2019
Call "#retain()" on the buffer that we pass on to other handlers to
avoid a IllegalReferenceCountException:

  Error in Input [GELF HTTP/5c35eca53d274637c3007582] (channel [id:
  0xc4d569f2, L:/127.0.0.1:12201 ! R:/127.0.0.1:37774]) (cause
  io.netty.util.IllegalReferenceCountException: refCnt: 0, decrement: 1)

Fixes #5503

**Note:** This needs to be cherry-picked into 3.0
bernd added a commit that referenced this issue Jan 16, 2019
Call "#retain()" on the buffer that we pass on to other handlers to
avoid a IllegalReferenceCountException:

  Error in Input [GELF HTTP/5c35eca53d274637c3007582] (channel [id:
  0xc4d569f2, L:/127.0.0.1:12201 ! R:/127.0.0.1:37774]) (cause
  io.netty.util.IllegalReferenceCountException: refCnt: 0, decrement: 1)

Fixes #5503

**Note:** This needs to be cherry-picked into 3.0

(cherry picked from commit 95c117c)
kmerz pushed a commit that referenced this issue Jan 16, 2019
Call "#retain()" on the buffer that we pass on to other handlers to
avoid a IllegalReferenceCountException:

  Error in Input [GELF HTTP/5c35eca53d274637c3007582] (channel [id:
  0xc4d569f2, L:/127.0.0.1:12201 ! R:/127.0.0.1:37774]) (cause
  io.netty.util.IllegalReferenceCountException: refCnt: 0, decrement: 1)

Fixes #5503

**Note:** This needs to be cherry-picked into 3.0

(cherry picked from commit 95c117c)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocker If not finished by release date, the release will be postponed. bug inputs #S <= 1d
Projects
None yet
Development

No branches or pull requests

2 participants