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

output with gzip encoding brings warning to console #1

Open
benjaminhuo opened this issue Aug 3, 2017 · 4 comments
Open

output with gzip encoding brings warning to console #1

benjaminhuo opened this issue Aug 3, 2017 · 4 comments
Assignees

Comments

@benjaminhuo
Copy link

If encoding is set to gzip, logstash console will get warnings like below:

WARNING: can not set Session#timeout=(0) no session context
WARNING: can not set Session#timeout=(300) no session context
WARNING: can not set Session#timeout=(300) no session context
WARNING: can not set Session#timeout=(300) no session context
WARNING: can not set Session#timeout=(300) no session context
WARNING: can not set Session#timeout=(300) no session context
WARNING: can not set Session#timeout=(300) no session context
 output {
    qingstor {
	codec => line { format => "%{ct},%{channel},%{device},%{tag},%{v},%{q},%{t}" } 
    	access_key_id => "xxx"
    	secret_access_key => "xxxxxx"
    	bucket => "mybucket"
	region => "pek3a"
	encoding => "gzip"
    }
 }
@yimin-zhao yimin-zhao self-assigned this Aug 7, 2017
@benjaminhuo
Copy link
Author

Logstash version is 5.5.1

@yimin-zhao
Copy link
Collaborator

I'm sorry I have not been able to reply sooner.
As far as I know, this warning comes from a dependent gem, which has no relevance to encode methods.
I'll give you more details the sooner when we locate the problem.

@yimin-zhao
Copy link
Collaborator

This Warning often follows with a failed uploading. And the failure is critical to the whole plugin functionality.
Currently I have no clue why the uploading procedure failed. I will keep track of it

@yimin-zhao yimin-zhao added the bug label Aug 16, 2017
@yimin-zhao
Copy link
Collaborator

This problem is about incompatibility with logstash 5.5.x, it works fine with previous releases.
I think it is not a bug and replace the bug label with 'help wanted'.

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

No branches or pull requests

2 participants