jira.exe unable to read %HOME%.jira.d\config.yml

I seem to be having an issue where the jira.exe executable is unable to find the %HOME%\.jira.d\config.yml file.
C:\Users\user01\Downloads
λ jira-windows-amd64.exe
2016-04-22T17:36:08.031-05:00 ERROR [main.go:270] endpoint option required.  Either use --endpoint or set a endpoint option in your ~/.jira.d/config.yml file

I have created the %HOME%\.jira.d\config.yml and at least put endpoint: in there.  When I specify the command line arguments, it works as expected.
I am using Windows 7 with Go 1.6
C:\Users\user01
λ go version
go version go1.6 windows/amd64

Hey, sorry I missed this issue.
Unfortunately I don't have access to any Windows machines to test on, I have only tested on OSX and Linux.     If you feel up to it I'd love a pull request, otherwise I will try to reproduce when I get access to a Windows environment.
-Cory

I'm still working my way through GO and learning the language, then I'll take a stab at it.

Hey, in the last few days I have been able to set up a vagrant VM with windows 2012, so I have started playing with it and fixing go-jira.  The current plan is to just use the USERPROFILE environment variable to find the homedir and look for .jira.d\config.yml in there.  So I will probably have something moderately functional in next few days, but I encourage you to keep learning Go anyway :)
-Cory

Hey @predatorian3, I have just created a new release with some fixes for Windows:
https://github.com/Netflix-Skunkworks/go-jira/releases/tag/v0.1.1
Try out the latest binary and see if it works better for you.  The config will be located at %USERPROFILE% instead of %HOME% and should look something like:
> type %USERPROFILE%\.jira.d\config.yml
endpoint: https://jira

Roger that, testing now.

So far so good. I'm able to list my Jiras and queries against them. So far, the issue seems to be resolved. Thank you for your hard work @coryb

Excellent, thanks for checking it out.  Closing issue.


ILL: implement extension workflow backend

blocked by: https://github.com/inveniosoftware/invenio-circulation/pull/131

I had to temporary skip tests because we hit the limit on Travis. To be restored when we fix it.


Test Odalic against Testing data

See: https://grips.semantic-web.at/display/ADEQ/Testing+Data
This is a task which should be done periodically.

@josef-janousek Please test everything again in the week 23.-27.1.

@josef-janousek Please let me know by Friday what is the status, thanks!

Please test also for the ADEQUATe KB!

Testing completed, all tasks finished successfully, testing page in grips https://grips.semantic-web.at/display/ADEQ/Testing+Data updated - DB file with results and text file with durations of tasks can be downloaded there.


Fix/device buttons

Ability to distinguish which controller has A,B,  and which one has X,Y buttons.
Edit: I made two commits because one is VrApi and other is l_module and they are separate issues; can squash if needed.

Should wasPressed/wasReleased get the same treatment?
Also this PR made me notice that OpenXR doesn't have A/B/X/Y actions?!  I'll add that soon.
There's also the question of, if buttons get to return nil to signal "no data", should axes and poses do it too?  But I think that causes too much pain, and there is already isTracked to check for valid poses.  Still, something like lovr.headset.isValid that lets you see if anything (pose, button, axis, skeleton, haptics) is active might be nice.  This discussion comes up a lot though.

For wasPressed/Released I saw the docs warn that Some headset backends are not able to return pressed/released information, so did not want to mess with headsets I could not test. In this case the returned nil could mean both the lack of button and the lack of support for reading button state change.
Axes currently return zero results when not available, so it is possible to see the control is missing from device. Could be set to nil to follow the convention.

As for OpenXR, the poses of controllers are rotated by 90deg along 1,0,0 compared to VrApi. I made a controller visualizer that could be used to check the differences between the two, and maybe between different headset controllers. It is adapted to Quest Touch but tries to scan through all buttons / axes.
local hand_names = {'hand/left', 'hand/right'}
local buttons = { 'trigger', 'thumbstick', 'b', 'y', 'a', 'x', 'touchpad', 'menu', 'grip' }
local axes_in_button = { trigger = 1, thumbstick = 2, touchpad = 2, grip = 1 }

local palette = { 0xfbbbad,  -- https://lospec.com/palette-list/twilight-5
                  0xee8695,  -- 2
                  0x4a7a96,  -- 3
                  0x333f58,  -- 4
                  0x292831 } -- 5

lovr.graphics.setBackgroundColor(palette[5])

function lovr.draw()
  local pose = mat4()
  for i, hand in ipairs(hand_names) do
    local side = hand == 'hand/left' and 1 or -1
    -- hand pose block
    pose:set(lovr.headset.getPose(hand))
    lovr.graphics.setColor(palette[4])
    local block_pose = mat4(pose):scale(0.08)
    block_pose:rotate(math.pi/6,  1,0,0)
    block_pose:translate(0, 0, 0.5)
    block_pose:rotate(-math.pi / 2,  0,0,1)
    lovr.graphics.cylinder(block_pose, 0.02, 0.01, true, 3)
    local bones = lovr.headset.getSkeleton(hand)
    if bones then -- hand bones
      lovr.graphics.setColor(palette[3])
      for j, bone in ipairs(bones) do
        pose:set(unpack(bone)):scale(0.005, 0.003, 0.010)
        lovr.graphics.sphere(pose)
      end
    else -- controller buttons bones
      local button_pose = mat4()
      local count = 0
      for j, button in ipairs(buttons) do
        button_pose:set(pose)
        button_pose:rotate(-math.pi / 3,  1,0,0)
        button_pose:translate(side * 0.05, 0, 0)
        button_pose:rotate(math.pi / 8,  0,side,0)
        button_pose:translate(0, -0.01 * count, 0)
        local touched = lovr.headset.isTouched(hand, button)
        local down = lovr.headset.isDown(hand, button)
        local axes = axes_in_button[button]
        if down ~= nil then
          count = count + 1
          if axes and axes == 1 then -- displace text by one or two axes
            local a = lovr.headset.getAxis(hand, button)
            button_pose:translate(0, 0, a * -0.02)
            button_pose:rotate(a * math.pi / 6,  0,side,0)
          elseif axes and axes == 2 then
            local x, y = lovr.headset.getAxis(hand, button)
            button_pose:translate(0, 0, -0.01)
            button_pose:rotate( x * math.pi / 4,  0,1,0)
            button_pose:rotate(-y * math.pi / 4,  1,0,0)
            button_pose:translate(0, 0, 0.01)
          end
          if down then
            button_pose:translate(0, 0, -0.005):scale(1.2)
            lovr.graphics.setColor(palette[1])
          elseif touched then
            button_pose:scale(1.2)
            lovr.graphics.setColor(palette[3])
          else -- idle
            lovr.graphics.setColor(palette[3])
          end
          lovr.graphics.print(string.upper(button), mat4(button_pose):scale(0.01))
        end
      end
    end
  end
end


cocomac: Watch righteva05.blogspot

cocomac requests the watch of the watch_keyword righteva05\.blogspot. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

righteva05\.blogspot has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Makyen in Charcoal HQ


Miri checks ptr.read() but not dereferencing a pointer (*ptr)

Hi,
miri complains on this:
fn main() {
    unsafe {
        let a = [1u8,2,3];
        let b = &a[0] as *const u8;
        println!("{}", b.add(1).read());
    }
}

https://play.rust-lang.org/?gist=5af194a447ac5e0d38796c809e3a0e6f
but not on this:
fn main() {
    unsafe {
        let a = [1u8,2,3];
        let b = &a[0] as *const u8;
        println!("{}", *b.add(1));
    }
}

https://play.rust-lang.org/?gist=6b7d13c8b77d8e14e06d9133a19e992f

I just tried on the playground, and I to get an error for the second example as well:
error: Undefined Behavior: trying to reborrow for SharedReadOnly, but parent tag <untagged> does not have an appropriate item in the borrow stack
 --> src/main.rs:5:24
  |
5 |         println!("{}", *b.add(1));
  |                        ^^^^^^^^^ trying to reborrow for SharedReadOnly, but parent tag <untagged> does not have an appropriate item in the borrow stack
  |
  = help: this indicates a potential bug in the program: it performed an invalid operation, but the rules it violated are still experimental
  = help: see https://github.com/rust-lang/unsafe-code-guidelines/blob/master/wip/stacked-borrows.md for further information

Ha, you're right, this is weird.
This on the other hand doesn't give an error:
fn main() {
    unsafe {
        let a = [1u8, 2, 3];
        let b = &a[0] as *const u8;
        if !a.is_empty() {
            println!("{}", *b.add(1));
        }
    }
}

But neither does this:
fn main() {
    unsafe {
        let a = [1u8, 2, 3];
        let b = &a[0] as *const u8;
        if !a.is_empty() {
            println!("{}", b.add(1).read());
        }
    }
}

This has nothing to do with deref vs read. This is caused by is_empty creating a raw pointer and Stacked Borrows not tracking raw pointers in detail -- so it "confuses" the raw pointer created there with b. That is currently expected behavior, though I would like to do more precise tracking of raw pointers eventually (but this might completely kill performance... and we'll have to see how compatible it is with real code).

@RalfJung Yes. this is a completely different issue than what I was describing,
what happened is that I had a complex function, saw that it didn't error, I removed a lot of code, replaced with read() and it did, so I wrongly assumed it was the read() change. sorry.

So together with my confusion and the fact that this is expected behavior I'll close this issue.
if you're curious this was the code snippet that got me here: https://github.com/rust-lang/rust/pull/75943 (trying to minimize that down in the playground got me to accidentally assume deref was the problem)

I opened https://github.com/rust-lang/unsafe-code-guidelines/issues/248 to track the underlying problem.


how to use redis  master-slave config in zf3?

i used master-slave mysql in zf3 as following：
'connection' => [
    'orm_passport' => [
                'wrapperClass' => 'Doctrine\DBAL\Connections\MasterSlaveConnection',
                'params' => [
                    'driver' => 'pdo_mysql',
                    'master'=>[
                        'host'     => '<IP_ADDRESS>',
                        'user'     => 'root',
                        'password' => '123456',
                        'dbname'   => 'zf3.com.passport',
                        'charset' => 'utf8',
                    ],
                    'slaves'=>[
                        [
                            'host'     => '<IP_ADDRESS>',
                            'user'     => 'root',
                            'password' => '123456',
                            'dbname'   => 'zf3.com.passport',
                            'charset' => 'utf8',
                        ]
                    ],

                ],
]
 'entitymanager' => [
            'orm_passport' => [
                'connection' => 'orm_passport',
                'configuration' => 'orm_passport',
            ],
            'orm_board' => [
                'connection' => 'orm_board',
                'configuration' => 'orm_board',
            ]
        ],

'driver' => [
            __NAMESPACE__ . '_driver' => [
                'class' => AnnotationDriver::class,
                'cache' => 'array',
                'paths' => [__DIR__ . '/../src/Entity']
            ],
            'orm_default' => [
                'drivers' => [
                    __NAMESPACE__ . '\Entity' => __NAMESPACE__ . '_driver'
                ]
            ]
        ]

i don't know how to used in redis connection.  i viewed the document , but also have no idea.

Closing: this is not an issue related to the ORM.
Also, you don't really use a master/slave redis setup unless you are doing a ridiculous amount of cache operations, for which redis already had appropriate load distribution tools.


Added package.json

For better compatibility with npm

Hi, Thanks for the PR!

You're very welcome. Please publish this wonderful module on npm repo. For more info about this, please check out https://docs.npmjs.com/getting-started/publishing-npm-packages. Thank you for working on this project!

+1

You should change the name in package.json to angularjs-toaster for full compatibility with npm. I published the package here https://www.npmjs.com/package/angularjs-toaster fell free to take the ownership :)


New Settings

[ ] Login session duration
[ ] dark mode
[ ] page after login

https://www.threeten.org/threeten-extra/userguide.html - for Duration (use PeriodDuration)


Optimisation of grid view display for smaller monitors

The fixed height of the grid view means the horizontal scroll bar is off screen with no visual indication on small screens when there are few specimens.

Still an issue: slickgrid uses position: absolute; for the rows so we can't get the height of the content in CSS. Could possibly do it in JS, or just...replace slickgrid.


ai commands

e.g. "list all the files starting with 's' in this directory"
is there value to having this built into the shell as opposed to to having it as a talon script?
-> having it in the shell would allow editing the command like other input commands

I think this makes sense to integrate with the talon AI tools repository.  https://github.com/C-Loftus/talon-ai-tools/ since this seems like a good feature that could be agnostic of the shell.  I am thinking a command somewhat like
model shell <user.text>   but perhaps this is awkwardly phrased
however if you wanted to have it in the shell you could use any of the functions defined in the module in that repository relatively easily,  so you don't have to create new functions.

thanks Il have a look!
the reason I thought to implement this in the shell is this:

-> having it in the shell would allow editing the command like other input commands

especially for more complex things <user.text> is not sufficient (afaik?) e.g. the 's' in the example
plus youd have a history of ai commands as well that you can reuse and edit if you dont like the initial answer from the model

but maybe this should be a tool outside the shell that is called from the shell. a small wrapper around the curl openapi call or call to a local model


Map view displays a limited amount of restaurants

While testing the map, I can only see restaurant POIs for about 40~50 restaurants.  I've checked client/js/restaurants_api.js and there seems to be a variable clash between the len variable in the first for loop and that same variable in the inner for loop.  Using different variable names seems to fix this and shows all the restaurant POIs.

Fixed in 67e87f32954c4a897de6a70066a8df7d3ad0cc22


Show last predictions for older payloads

We seem to lose predictions for payloads that are more than a few hours old. If these are still available, we should show them.

I think this is an API side issue with how old predictions are returned


CORS trouble in Chrome and Safari

I have my images in an Amazon S3 bucket that's being served via CloudFront.
I have configured my CloudFront cache behavior so that the Origin header is whitelisted and included. With Firefox, using saveSvgAsPng works as expected and the images appear nice and dandy in the resulted png. With Chrome and Safari however, not so much.
Versions
Chrome 54.0.2840.98 (64-bit)
Safari 10.0 (116<IP_ADDRESS>.10)
Access to Image at 'https://assets.myapp.com/image.png' from origin 'https://assets.myapp.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://myapp.com' is therefore not allowed access.

Could not load https://assets.myapp.com/image.png

Then, if I alter the source code of saveSvgAsPng, or more specifically, change this:
img.crossOrigin="anonymous";
        href = href || image.getAttribute('href');
        if (href) {
          img.src = href;
          img.onload = function() {

into this ->
img.crossOrigin="anonymous";
        href = href || image.getAttribute('href');
        if (href) {
          img.src = href + '?anonymous=true'; // <-- let's add a query parameter to fool cache
          img.onload = function() {

and voilá, it works.
So I assume Chrome and Safari are somehow caching the image and don't bother with the whole crossOrigin-thingie?
I wonder if this is:
a) something I've misconfigured myself
b) bug in Chrome and Safari
c) bug in saveSvgAsPng

https://bugs.chromium.org/p/chromium/issues/detail?id=409090

This should be fixed by #164.


update infrastructure

dep upgrades
codecov should not comment anymore
no more log output in the console

Codecov Report

Merging #75 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##           master    #75   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files          15     15
  Lines         234    234
  Branches       54     54
=====================================
  Hits          234    234

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8c09168...25ffbfa. Read the comment docs.


5.6 has some problems

Script version
5.6
Describe the bug

Still has double audio
Youtube Shorts only plays audio
It does not block ads; ads are still played without skipping
No theater mode

Expected behavior
It should skip ads without any problems
Screenshots
If applicable, add screenshots or a video to help explain your problem.
Desktop (please complete the following information):

OS: Windows 10
Browser: Chrome
Version: 126.0.6478.62

Additional context
Add any other context about the problem here.

For what it's worth, not sure if this is true universally, I have only noticed the double audio in the latest version when I open in a new tab, and let the tab load before focusing it. If that is also true for you, that is a temporary fix (go to the tab quicker, or open in current tab), and also a clue. This is is consistently reproducable for me.
My guess here, is that the script destroys the old player on page load, but seemingly youtube actually creates it dynamically when you first focus the tab.
So waiting to destroy the old player until there is a focus event might be the key?
There are some other oddities, but I think it may come down to a similar issue, ie if a tab is unfocused for long enough and the browser hits memory savings, then things re-render on focus again, same issue.


Third branch

Related Issue
Fixes:  #1965
Description
The Contact us as not good in the UI it has been changed
Screenshots / videos (if applicable)
How it was

How it is

@PriyaGhosal  please assign it the Level 2 as it was a bigger Problem

@PriyaGhosal please merge my pr for https://github.com/PriyaGhosal/BuddyTrail/pull/1969

@sachinggsingh Please see the conflicts

@sachinggsingh Please see the conflicts

resolved

@PriyaGhosal please merge my pr for https://github.com/PriyaGhosal/BuddyTrail/pull/1969

@sachinggsingh Please see the conflicts

@sachinggsingh Please see the conflicts

Resolved

@PriyaGhosal please merge my pr for #1969

@PriyaGhosal please merge my pr for https://github.com/PriyaGhosal/BuddyTrail/pull/1969

@PriyaGhosal please merge my pr for https://github.com/PriyaGhosal/BuddyTrail/pull/1969


PSModule-Initialization

Module manifest initialization along with folder structure and other house-keeping duties

Looks good

Review


Fluentd error and restarted 64 times in 2 days

[Expect] I want to find a solution or work around for this. Thanks.

fluentd or td-agent version.
fluentd 1.2.2

Environment information, e
declare -x FLUENTD_ARGS="--no-supervisor -q"
declare -x LD_PRELOAD="/usr/lib/x86_64-linux-gnu/libjemalloc.so.1"

Your configuration

Your problem explanation. If you have an error logs, write it together.
Fluentd error and restarted 64 times in 2 days
[Log 1]

2018-09-12 13:18:12 +0000 [info]: [elasticsearch] Connection opened to Elasticsearch cluster => {:host=>"elasticsearch-logging", :port=>9200, :scheme=>"http"}
2018-09-12 13:18:12 +0000 [info]: [elasticsearch] Detected ES 6.x: ES 7.x will only accept `_doc` in type_name.
2018-09-12 13:22:57 +0000 [error]: unexpected error error_class=Errno::ECONNRESET error="Connection reset by peer"
  2018-09-12 13:22:57 +0000 [error]: /usr/lib/ruby/2.3.0/openssl/buffering.rb:125:in `sysread'
  2018-09-12 13:22:57 +0000 [error]: /usr/lib/ruby/2.3.0/openssl/buffering.rb:125:in `readpartial'
  2018-09-12 13:22:57 +0000 [error]: /var/lib/gems/2.3.0/gems/http-0.9.8/lib/http/timeout/null.rb:41:in `readpartial'
  2018-09-12 13:22:57 +0000 [error]: /var/lib/gems/2.3.0/gems/http-0.9.8/lib/http/connection.rb:210:in `read_more'
  2018-09-12 13:22:57 +0000 [error]: /var/lib/gems/2.3.0/gems/http-0.9.8/lib/http/connection.rb:80:in `readpartial'
  2018-09-12 13:22:57 +0000 [error]: /var/lib/gems/2.3.0/gems/http-0.9.8/lib/http/response/body.rb:21:in `readpartial'
  2018-09-12 13:22:57 +0000 [error]: /var/lib/gems/2.3.0/gems/http-0.9.8/lib/http/response/body.rb:26:in `each'
  2018-09-12 13:22:57 +0000 [error]: /var/lib/gems/2.3.0/gems/kubeclient-1.1.4/lib/kubeclient/watch_stream.rb:24:in `each'
  2018-09-12 13:22:57 +0000 [error]: /var/lib/gems/2.3.0/gems/fluent-plugin-kubernetes_metadata_filter-2.1.2/lib/fluent/plugin/kubernetes_metadata_watch_pods.rb:37:in `start_pod_watch'
  2018-09-12 13:22:57 +0000 [error]: /var/lib/gems/2.3.0/gems/fluent-plugin-kubernetes_metadata_filter-2.1.2/lib/fluent/plugin/filter_kubernetes_metadata.rb:240:in `block in configure'
2018-09-12 13:22:57 +0000 [error]: unexpected error error_class=Errno::ECONNRESET error="Connection reset by peer"
  2018-09-12 13:22:57 +0000 [error]: suppressed same stacktrace

[log 2]
2018-09-12 22:02:38 +0000 [info]: [elasticsearch] Connection opened to Elasticsearch cluster => {:host=>"elasticsearch-logging", :port=>9200, :scheme=>"http"}
2018-09-12 22:02:38 +0000 [info]: [elasticsearch] Detected ES 6.x: ES 7.x will only accept `_doc` in type_name.
  2018-09-12 22:05:40 +0000 [error]: /usr/lib/ruby/2.3.0/openssl/buffering.rb:125:in `sysread'
  2018-09-12 22:05:40 +0000 [error]: /usr/lib/ruby/2.3.0/openssl/buffering.rb:125:in `readpartial'
  2018-09-12 22:05:40 +0000 [error]: /var/lib/gems/2.3.0/gems/http-0.9.8/lib/http/timeout/null.rb:41:in `readpartial'
  2018-09-12 22:05:40 +0000 [error]: /var/lib/gems/2.3.0/gems/http-0.9.8/lib/http/connection.rb:210:in `read_more'
  2018-09-12 22:05:40 +0000 [error]: /var/lib/gems/2.3.0/gems/http-0.9.8/lib/http/connection.rb:80:in `readpartial'
  2018-09-12 22:05:40 +0000 [error]: /var/lib/gems/2.3.0/gems/http-0.9.8/lib/http/response/body.rb:21:in `readpartial'
  2018-09-12 22:05:40 +0000 [error]: /var/lib/gems/2.3.0/gems/http-0.9.8/lib/http/response/body.rb:26:in `each'
  2018-09-12 22:05:40 +0000 [error]: /var/lib/gems/2.3.0/gems/kubeclient-1.1.4/lib/kubeclient/watch_stream.rb:24:in `each'
  2018-09-12 22:05:40 +0000 [error]: /var/lib/gems/2.3.0/gems/fluent-plugin-kubernetes_metadata_filter-2.1.2/lib/fluent/plugin/kubernetes_metadata_watch_namespaces.rb:36:in `start_namespace_watch'
  2018-09-12 22:05:40 +0000 [error]: /var/lib/gems/2.3.0/gems/fluent-plugin-kubernetes_metadata_filter-2.1.2/lib/fluent/plugin/filter_kubernetes_metadata.rb:242:in `block in configure'
2018-09-12 22:05:40 +0000 [error]: unexpected error error_class=Errno::ECONNRESET error="Connection reset by peer"
  2018-09-12 22:05:40 +0000 [error]: suppressed same stacktrace

[Log3]
2018-09-13 01:10:45 +0000 [info]: [elasticsearch] Connection opened to Elasticsearch cluster => {:host=>"elasticsearch-logging", :port=>9200, :scheme=>"http"}
2018-09-13 01:10:45 +0000 [info]: [elasticsearch] Detected ES 6.x: ES 7.x will only accept `_doc` in type_name.
2018-09-13 01:13:47 +0000 [error]: unexpected error error_class=Errno::ECONNRESET error="Connection reset by peer"
  2018-09-13 01:13:47 +0000 [error]: /usr/lib/ruby/2.3.0/openssl/buffering.rb:125:in `sysread'
  2018-09-13 01:13:47 +0000 [error]: /usr/lib/ruby/2.3.0/openssl/buffering.rb:125:in `readpartial'
  2018-09-13 01:13:47 +0000 [error]: /var/lib/gems/2.3.0/gems/http-0.9.8/lib/http/timeout/null.rb:41:in `readpartial'
  2018-09-13 01:13:47 +0000 [error]: /var/lib/gems/2.3.0/gems/http-0.9.8/lib/http/connection.rb:210:in `read_more'
  2018-09-13 01:13:47 +0000 [error]: /var/lib/gems/2.3.0/gems/http-0.9.8/lib/http/connection.rb:80:in `readpartial'
  2018-09-13 01:13:47 +0000 [error]: /var/lib/gems/2.3.0/gems/http-0.9.8/lib/http/response/body.rb:21:in `readpartial'
  2018-09-13 01:13:47 +0000 [error]: /var/lib/gems/2.3.0/gems/http-0.9.8/lib/http/response/body.rb:26:in `each'
  2018-09-13 01:13:47 +0000 [error]: /var/lib/gems/2.3.0/gems/kubeclient-1.1.4/lib/kubeclient/watch_stream.rb:24:in `each'
  2018-09-13 01:13:47 +0000 [error]: /var/lib/gems/2.3.0/gems/fluent-plugin-kubernetes_metadata_filter-2.1.2/lib/fluent/plugin/kubernetes_metadata_watch_pods.rb:37:in `start_pod_watch'
  2018-09-13 01:13:47 +0000 [error]: /var/lib/gems/2.3.0/gems/fluent-plugin-kubernetes_metadata_filter-2.1.2/lib/fluent/plugin/filter_kubernetes_metadata.rb:240:in `block in configure'
2018-09-13 01:13:47 +0000 [error]: unexpected error error_class=Errno::ECONNRESET error="Connection reset by peer"
  2018-09-13 01:13:47 +0000 [error]: suppressed same stacktrace

Fluent config
root@fluentd-es-v2:/# cat /etc/fluent/fluent.conf
# This is the root config file, which only includes components of the actual configuration

# Do not collect fluentd's own logs to avoid infinite loops.
<match fluent.**>
  @type null
</match>

@include /etc/fluent/config.d/*.conf
root@fluentd-es-v2:/# cat /etc/fluent/config.d/*.conf
# This configuration file for Fluentd / td-agent is used
# to watch changes to Docker log files. The kubelet creates symlinks that
# capture the pod name, namespace, container name & Docker container ID
# to the docker logs for pods in the /var/log/containers directory on the host.
# If running this fluentd configuration in a Docker container, the /var/log
# directory should be mounted in the container.
#
# These logs are then submitted to Elasticsearch which assumes the
# installation of the fluent-plugin-elasticsearch & the
# fluent-plugin-kubernetes_metadata_filter plugins.
# See https://github.com/uken/fluent-plugin-elasticsearch &
# https://github.com/fabric8io/fluent-plugin-kubernetes_metadata_filter for
# more information about the plugins.
#
# Example
# =======
# A line in the Docker log file might look like this JSON:
#
# {"log":"2014/09/25 21:15:03 Got request with path wombat\n",
#  "stream":"stderr",
#   "time":"2014-09-25T21:15:03.499185026Z"}
#
# The time_format specification below makes sure we properly
# parse the time format produced by Docker. This will be
# submitted to Elasticsearch and should appear like:
# $ curl 'http://elasticsearch-logging:9200/_search?pretty'
# ...
# {
#      "_index" : "logstash-2014.09.25",
#      "_type" : "fluentd",
#      "_id" : "VBrbor2QTuGpsQyTCdfzqA",
#      "_score" : 1.0,
#      "_source":{"log":"2014/09/25 22:45:50 Got request with path wombat\n",
#                 "stream":"stderr","tag":"docker.container.all",
#                 "@timestamp":"2014-09-25T22:45:50+00:00"}
#    },
# ...
#
# The Kubernetes fluentd plugin is used to write the Kubernetes metadata to the log
# record & add labels to the log record if properly configured. This enables users
# to filter & search logs on any metadata.
# For example a Docker container's logs might be in the directory:
#
#  /var/lib/docker/containers/997599971ee6366d4a5920d25b79286ad45ff37a74494f262e3bc98d909d0a7b
#
# and in the file:
#
#  997599971ee6366d4a5920d25b79286ad45ff37a74494f262e3bc98d909d0a7b-json.log
#
# where 997599971ee6... is the Docker ID of the running container.
# The Kubernetes kubelet makes a symbolic link to this file on the host machine
# in the /var/log/containers directory which includes the pod name and the Kubernetes
# container name:
#
#    synthetic-logger-0.25lps-pod_default_synth-lgr-997599971ee6366d4a5920d25b79286ad45ff37a74494f262e3bc98d909d0a7b.log
#    ->
#    /var/lib/docker/containers/997599971ee6366d4a5920d25b79286ad45ff37a74494f262e3bc98d909d0a7b/997599971ee6366d4a5920d25b79286ad45ff37a74494f262e3bc98d909d0a7b-json.log
#
# The /var/log directory on the host is mapped to the /var/log directory in the container
# running this instance of Fluentd and we end up collecting the file:
#
#   /var/log/containers/synthetic-logger-0.25lps-pod_default_synth-lgr-997599971ee6366d4a5920d25b79286ad45ff37a74494f262e3bc98d909d0a7b.log
#
# This results in the tag:
#
#  var.log.containers.synthetic-logger-0.25lps-pod_default_synth-lgr-997599971ee6366d4a5920d25b79286ad45ff37a74494f262e3bc98d909d0a7b.log
#
# The Kubernetes fluentd plugin is used to extract the namespace, pod name & container name
# which are added to the log message as a kubernetes field object & the Docker container ID
# is also added under the docker field object.
# The final tag is:
#
#   kubernetes.var.log.containers.synthetic-logger-0.25lps-pod_default_synth-lgr-997599971ee6366d4a5920d25b79286ad45ff37a74494f262e3bc98d909d0a7b.log
#
# And the final log record look like:
#
# {
#   "log":"2014/09/25 21:15:03 Got request with path wombat\n",
#   "stream":"stderr",
#   "time":"2014-09-25T21:15:03.499185026Z",
#   "kubernetes": {
#     "namespace": "default",
#     "pod_name": "synthetic-logger-0.25lps-pod",
#     "container_name": "synth-lgr"
#   },
#   "docker": {
#     "container_id": "997599971ee6366d4a5920d25b79286ad45ff37a74494f262e3bc98d909d0a7b"
#   }
# }
#
# This makes it easier for users to search for logs by pod name or by
# the name of the Kubernetes container regardless of how many times the
# Kubernetes pod has been restarted (resulting in a several Docker container IDs).

# Json Log Example:
# {"log":"[info:2016-02-16T16:04:05.930-08:00] Some log text here\n","stream":"stdout","time":"2016-02-17T00:04:05.931087621Z"}
# CRI Log Example:
# 2016-02-17T00:04:05.931087621Z stdout F [info:2016-02-16T16:04:05.930-08:00] Some log text here
<source>
  @id fluentd-containers.log
  @type tail
  path /var/log/containers/*.log
  pos_file /var/log/es-containers.log.pos
  tag raw.kubernetes.*
  read_from_head true
  <parse>
    @type multi_format
    <pattern>
      format json
      time_key time
      time_format %Y-%m-%dT%H:%M:%S.%NZ
    </pattern>
    <pattern>
      format /^(?<time>.+) (?<stream>stdout|stderr) [^ ]* (?<log>.*)$/
      time_format %Y-%m-%dT%H:%M:%S.%N%:z
    </pattern>
  </parse>
</source>

# Detect exceptions in the log output and forward them as one log entry.
<match raw.kubernetes.**>
  @id raw.kubernetes
  @type detect_exceptions
  remove_tag_prefix raw
  message log
  stream stream
  multiline_flush_interval 5
  max_bytes 500000
  max_lines 1000
</match># Takes the messages sent over TCP
<source>
  @type forward
</source># Prometheus Exporter Plugin
# input plugin that exports metrics
<source>
  @type prometheus
</source>

<source>
  @type monitor_agent
</source>

# input plugin that collects metrics from MonitorAgent
<source>
  @type prometheus_monitor
  <labels>
    host ${hostname}
  </labels>
</source>

# input plugin that collects metrics for output plugin
<source>
  @type prometheus_output_monitor
  <labels>
    host ${hostname}
  </labels>
</source>

# input plugin that collects metrics for in_tail plugin
<source>
  @type prometheus_tail_monitor
  <labels>
    host ${hostname}
  </labels>
</source># Enriches records with Kubernetes metadata
<filter kubernetes.**>
  @type kubernetes_metadata
</filter>

<match **>
  @id elasticsearch
  @type elasticsearch
  @log_level info
  type_name fluentd
  include_tag_key true
  host elasticsearch-logging
  port 9200
  logstash_format true
  <buffer>
    @type file
    path /var/log/fluentd-buffers/kubernetes.system.buffer
    flush_mode interval
    retry_type exponential_backoff
    flush_thread_count 2
    flush_interval 5s
    retry_forever
    retry_max_interval 30
    chunk_limit_size 2M
    queue_limit_length 8
    overflow_action block
  </buffer>
</match><system>
  root_dir /tmp/fluentd-buffers/
</system># Example:
# 2015-12-21 23:17:22,066 [salt.state       ][INFO    ] Completed state [net.ipv4.ip_forward] at time 23:17:22.066081
<source>
  @id minion
  @type tail
  format /^(?<time>[^ ]* [^ ,]*)[^\[]*\[[^\]]*\]\[(?<severity>[^ \]]*) *\] (?<message>.*)$/
  time_format %Y-%m-%d %H:%M:%S
  path /var/log/salt/minion
  pos_file /var/log/salt.pos
  tag salt
</source>

# Example:
# Dec 21 23:17:22 gke-foo-1-1-4b5cbd14-node-4eoj startupscript: Finished running startup script /var/run/google.startup.script
<source>
  @id startupscript.log
  @type tail
  format syslog
  path /var/log/startupscript.log
  pos_file /var/log/es-startupscript.log.pos
  tag startupscript
</source>

# Examples:
# time="2016-02-04T06:51:03.053580605Z" level=info msg="GET /containers/json"
# time="2016-02-04T07:53:57.505612354Z" level=error msg="HTTP Error" err="No such image: -f" statusCode=404
# TODO(random-liu): Remove this after cri container runtime rolls out.
<source>
  @id docker.log
  @type tail
  format /^time="(?<time>[^)]*)" level=(?<severity>[^ ]*) msg="(?<message>[^"]*)"( err="(?<error>[^"]*)")?( statusCode=($<status_code>\d+))?/
  path /var/log/docker.log
  pos_file /var/log/es-docker.log.pos
  tag docker
</source>

# Example:
# 2016/02/04 06:52:38 filePurge: successfully removed file /var/etcd/data/member/wal/00000000000006d0-00000000010a23d1.wal
<source>
  @id etcd.log
  @type tail
  # Not parsing this, because it doesn't have anything particularly useful to
  # parse out of it (like severities).
  format none
  path /var/log/etcd.log
  pos_file /var/log/es-etcd.log.pos
  tag etcd
</source>

# Multi-line parsing is required for all the kube logs because very large log
# statements, such as those that include entire object bodies, get split into
# multiple lines by glog.

# Example:
# I0204 07:32:30.020537    3368 server.go:1048] POST /stats/container/: (13.972191ms) 200 [[Go-http-client/1.1] <IP_ADDRESS>:40537]
<source>
  @id kubelet.log
  @type tail
  format multiline
  multiline_flush_interval 5s
  format_firstline /^\w\d{4}/
  format1 /^(?<severity>\w)(?<time>\d{4} [^\s]*)\s+(?<pid>\d+)\s+(?<source>[^ \]]+)\] (?<message>.*)/
  time_format %m%d %H:%M:%S.%N
  path /var/log/kubelet.log
  pos_file /var/log/es-kubelet.log.pos
  tag kubelet
</source>

# Example:
# I1118 21:26:53.975789       6 proxier.go:1096] Port "nodePort for kube-system/default-http-backend:http" (:31429/tcp) was open before and is still needed
<source>
  @id kube-proxy.log
  @type tail
  format multiline
  multiline_flush_interval 5s
  format_firstline /^\w\d{4}/
  format1 /^(?<severity>\w)(?<time>\d{4} [^\s]*)\s+(?<pid>\d+)\s+(?<source>[^ \]]+)\] (?<message>.*)/
  time_format %m%d %H:%M:%S.%N
  path /var/log/kube-proxy.log
  pos_file /var/log/es-kube-proxy.log.pos
  tag kube-proxy
</source>

# Example:
# I0204 07:00:19.604280       5 handlers.go:131] GET /api/v1/nodes: (1.624207ms) 200 [[kube-controller-manager/v1.1.3 (linux/amd64) kubernetes/6a81b50] <IP_ADDRESS>:38266]
<source>
  @id kube-apiserver.log
  @type tail
  format multiline
  multiline_flush_interval 5s
  format_firstline /^\w\d{4}/
  format1 /^(?<severity>\w)(?<time>\d{4} [^\s]*)\s+(?<pid>\d+)\s+(?<source>[^ \]]+)\] (?<message>.*)/
  time_format %m%d %H:%M:%S.%N
  path /var/log/kube-apiserver.log
  pos_file /var/log/es-kube-apiserver.log.pos
  tag kube-apiserver
</source>

# Example:
# I0204 06:55:31.872680       5 servicecontroller.go:277] LB already exists and doesn't need update for service kube-system/kube-ui
<source>
  @id kube-controller-manager.log
  @type tail
  format multiline
  multiline_flush_interval 5s
  format_firstline /^\w\d{4}/
  format1 /^(?<severity>\w)(?<time>\d{4} [^\s]*)\s+(?<pid>\d+)\s+(?<source>[^ \]]+)\] (?<message>.*)/
  time_format %m%d %H:%M:%S.%N
  path /var/log/kube-controller-manager.log
  pos_file /var/log/es-kube-controller-manager.log.pos
  tag kube-controller-manager
</source>

# Example:
# W0204 06:49:18.239674       7 reflector.go:245] pkg/scheduler/factory/factory.go:193: watch of *api.Service ended with: 401: The event in requested index is outdated and cleared (the requested history has been cleared [2578313/2577886]) [2579312]
<source>
  @id kube-scheduler.log
  @type tail
  format multiline
  multiline_flush_interval 5s
  format_firstline /^\w\d{4}/
  format1 /^(?<severity>\w)(?<time>\d{4} [^\s]*)\s+(?<pid>\d+)\s+(?<source>[^ \]]+)\] (?<message>.*)/
  time_format %m%d %H:%M:%S.%N
  path /var/log/kube-scheduler.log
  pos_file /var/log/es-kube-scheduler.log.pos
  tag kube-scheduler
</source>

# Example:
# I0603 15:31:05.793605       6 cluster_manager.go:230] Reading config from path /etc/gce.conf
<source>
  @id glbc.log
  @type tail
  format multiline
  multiline_flush_interval 5s
  format_firstline /^\w\d{4}/
  format1 /^(?<severity>\w)(?<time>\d{4} [^\s]*)\s+(?<pid>\d+)\s+(?<source>[^ \]]+)\] (?<message>.*)/
  time_format %m%d %H:%M:%S.%N
  path /var/log/glbc.log
  pos_file /var/log/es-glbc.log.pos
  tag glbc
</source>

# Example:
# I0603 15:31:05.793605       6 cluster_manager.go:230] Reading config from path /etc/gce.conf
<source>
  @id cluster-autoscaler.log
  @type tail
  format multiline
  multiline_flush_interval 5s
  format_firstline /^\w\d{4}/
  format1 /^(?<severity>\w)(?<time>\d{4} [^\s]*)\s+(?<pid>\d+)\s+(?<source>[^ \]]+)\] (?<message>.*)/
  time_format %m%d %H:%M:%S.%N
  path /var/log/cluster-autoscaler.log
  pos_file /var/log/es-cluster-autoscaler.log.pos
  tag cluster-autoscaler
</source>

# Logs from systemd-journal for interesting services.
# TODO(random-liu): Remove this after cri container runtime rolls out.
<source>
  @id journald-docker
  @type systemd
  matches [{ "_SYSTEMD_UNIT": "docker.service" }]
  <storage>
    @type local
    persistent true
    path /var/log/journald-docker.pos
  </storage>
  read_from_head true
  tag docker
</source>

<source>
  @id journald-container-runtime
  @type systemd
  matches [{ "_SYSTEMD_UNIT": "{{ container_runtime }}.service" }]
  <storage>
    @type local
    persistent true
    path /var/log/journald-container-runtime.pos
  </storage>
  read_from_head true
  tag container-runtime
</source>

<source>
  @id journald-kubelet
  @type systemd
  matches [{ "_SYSTEMD_UNIT": "kubelet.service" }]
  <storage>
    @type local
    persistent true
    path /var/log/journald-kubelet.pos
  </storage>
  read_from_head true
  tag kubelet
</source>

<source>
  @id journald-node-problem-detector
  @type systemd
  matches [{ "_SYSTEMD_UNIT": "node-problem-detector.service" }]
  <storage>
    @type local
    persistent true
    path /var/log/journald-node-problem-detector.pos
  </storage>
  read_from_head true
  tag node-problem-detector
</source>

<source>
  @id kernel
  @type systemd
  matches [{ "_TRANSPORT": "kernel" }]
  <storage>
    @type local
    persistent true
    path /var/log/kernel.pos
  </storage>
  <entry>
    fields_strip_underscores true
    fields_lowercase true
  </entry>
  read_from_head true
  tag kernel

Gem file:
gem 'fluentd', '<=1.2.4'
gem 'activesupport', '~>5.2.1'
gem 'fluent-plugin-kubernetes_metadata_filter', '~>2.0.0'
gem 'fluent-plugin-elasticsearch', '~>2.11.5'
gem 'fluent-plugin-systemd', '~>1.0.1'
gem 'fluent-plugin-detect-exceptions', '~>0.0.11'
gem 'fluent-plugin-prometheus', '~>1.0.1'

It seesm that all of errors are caused by Elasticsearch server.
Could you confirm Elasticsearch server log?

Here is es log, note that not all fluentd will restart, one node's fluentd not restart at all.
v21devc@ip-172-31-17-153:~$ cat es0.log
+ export NODE_NAME=elasticsearch-logging-0
+ NODE_NAME=elasticsearch-logging-0
+ export NODE_MASTER=true
+ NODE_MASTER=true
+ export NODE_DATA=true
+ NODE_DATA=true
+ export HTTP_PORT=9200
+ HTTP_PORT=9200
+ export TRANSPORT_PORT=9300
+ TRANSPORT_PORT=9300
+ export MINIMUM_MASTER_NODES=2
+ MINIMUM_MASTER_NODES=2
+ chown -R elasticsearch:elasticsearch /data
+ ./bin/elasticsearch_logging_discovery
+ exec su elasticsearch -c /usr/local/bin/docker-entrypoint.sh
[2018-09-12T10:51:05,582][INFO ][o.e.n.Node               ] [elasticsearch-logging-0] initializing ...
[2018-09-12T10:51:05,682][INFO ][o.e.e.NodeEnvironment    ] [elasticsearch-logging-0] using [1] data paths, mounts [[/data (/dev/xvdch)]], net usable_space [185.7gb], net total_space [195.8gb], types [ext4]
[2018-09-12T10:51:05,682][INFO ][o.e.e.NodeEnvironment    ] [elasticsearch-logging-0] heap size [7.9gb], compressed ordinary object pointers [true]
[2018-09-12T10:51:05,684][INFO ][o.e.n.Node               ] [elasticsearch-logging-0] node name [elasticsearch-logging-0], node ID [Rkd4bh3SSSaNMSixOt-PXg]
[2018-09-12T10:51:05,685][INFO ][o.e.n.Node               ] [elasticsearch-logging-0] version[6.2.4], pid[16], build[ccec39f/2018-04-12T20:37:28.497551Z], OS[Linux/4.14.63-coreos/amd64], JVM[Oracle Corporation/OpenJDK 64-Bit Server VM/1.8.0_161/25.161-b14]
[2018-09-12T10:51:05,685][INFO ][o.e.n.Node               ] [elasticsearch-logging-0] JVM arguments [-Xms1g, -Xmx1g, -XX:+UseConcMarkSweepGC, -XX:CMSInitiatingOccupancyFraction=75, -XX:+UseCMSInitiatingOccupancyOnly, -XX:+AlwaysPreTouch, -Xss1m, -Djava.awt.headless=true, -Dfile.encoding=UTF-8, -Djna.nosys=true, -XX:-OmitStackTraceInFastThrow, -Dio.netty.noUnsafe=true, -Dio.netty.noKeySetOptimization=true, -Dio.netty.recycler.maxCapacityPerThread=0, -Dlog4j.shutdownHookEnabled=false, -Dlog4j2.disable.jmx=true, -Djava.io.tmpdir=/tmp/elasticsearch.4vEh4SyF, -XX:+HeapDumpOnOutOfMemoryError, -XX:+PrintGCDetails, -XX:+PrintGCDateStamps, -XX:+PrintTenuringDistribution, -XX:+PrintGCApplicationStoppedTime, -Xloggc:logs/gc.log, -XX:+UseGCLogFileRotation, -XX:NumberOfGCLogFiles=32, -XX:GCLogFileSize=64m, -Des.cgroups.hierarchy.override=/, -Xms8192m, -Xmx8192m, -Des.path.home=/usr/share/elasticsearch, -Des.path.conf=/usr/share/elasticsearch/config]
[2018-09-12T10:51:07,033][INFO ][o.e.p.PluginsService     ] [elasticsearch-logging-0] loaded module [aggs-matrix-stats]
[2018-09-12T10:51:07,033][INFO ][o.e.p.PluginsService     ] [elasticsearch-logging-0] loaded module [analysis-common]
[2018-09-12T10:51:07,033][INFO ][o.e.p.PluginsService     ] [elasticsearch-logging-0] loaded module [ingest-common]
[2018-09-12T10:51:07,034][INFO ][o.e.p.PluginsService     ] [elasticsearch-logging-0] loaded module [lang-expression]
[2018-09-12T10:51:07,034][INFO ][o.e.p.PluginsService     ] [elasticsearch-logging-0] loaded module [lang-mustache]
[2018-09-12T10:51:07,035][INFO ][o.e.p.PluginsService     ] [elasticsearch-logging-0] loaded module [lang-painless]
[2018-09-12T10:51:07,035][INFO ][o.e.p.PluginsService     ] [elasticsearch-logging-0] loaded module [mapper-extras]
[2018-09-12T10:51:07,035][INFO ][o.e.p.PluginsService     ] [elasticsearch-logging-0] loaded module [parent-join]
[2018-09-12T10:51:07,035][INFO ][o.e.p.PluginsService     ] [elasticsearch-logging-0] loaded module [percolator]
[2018-09-12T10:51:07,035][INFO ][o.e.p.PluginsService     ] [elasticsearch-logging-0] loaded module [rank-eval]
[2018-09-12T10:51:07,035][INFO ][o.e.p.PluginsService     ] [elasticsearch-logging-0] loaded module [reindex]
[2018-09-12T10:51:07,036][INFO ][o.e.p.PluginsService     ] [elasticsearch-logging-0] loaded module [repository-url]
[2018-09-12T10:51:07,036][INFO ][o.e.p.PluginsService     ] [elasticsearch-logging-0] loaded module [transport-netty4]
[2018-09-12T10:51:07,036][INFO ][o.e.p.PluginsService     ] [elasticsearch-logging-0] loaded module [tribe]
[2018-09-12T10:51:07,036][INFO ][o.e.p.PluginsService     ] [elasticsearch-logging-0] loaded plugin [ingest-geoip]
[2018-09-12T10:51:07,036][INFO ][o.e.p.PluginsService     ] [elasticsearch-logging-0] loaded plugin [ingest-user-agent]
[2018-09-12T10:51:12,437][INFO ][o.e.d.DiscoveryModule    ] [elasticsearch-logging-0] using discovery type [zen]
[2018-09-12T10:51:13,280][INFO ][o.e.n.Node               ] [elasticsearch-logging-0] initialized
[2018-09-12T10:51:13,280][INFO ][o.e.n.Node               ] [elasticsearch-logging-0] starting ...
[2018-09-12T10:51:13,513][INFO ][o.e.t.TransportService   ] [elasticsearch-logging-0] publish_address {<IP_ADDRESS>:9300}, bound_addresses {[::]:9300}
[2018-09-12T10:51:13,532][INFO ][o.e.b.BootstrapChecks    ] [elasticsearch-logging-0] bound or publishing to a non-loopback address, enforcing bootstrap checks
[2018-09-12T10:51:17,296][INFO ][o.e.c.s.MasterService    ] [elasticsearch-logging-0] zen-disco-elected-as-master ([1] nodes joined)[{elasticsearch-logging-1}{zj7lyXH8TAavYBiuPozPHg}{67POJeNVTz2qjRZ87LYsMQ}{<IP_ADDRESS>}{<IP_ADDRESS>:9300}], reason: new_master {elasticsearch-logging-0}{Rkd4bh3SSSaNMSixOt-PXg}{vFug7oEbQ6aVzvE4_GiWRQ}{<IP_ADDRESS>}{<IP_ADDRESS>:9300}, added {{elasticsearch-logging-1}{zj7lyXH8TAavYBiuPozPHg}{67POJeNVTz2qjRZ87LYsMQ}{<IP_ADDRESS>}{<IP_ADDRESS>:9300},}
[2018-09-12T10:51:17,352][INFO ][o.e.c.s.ClusterApplierService] [elasticsearch-logging-0] new_master {elasticsearch-logging-0}{Rkd4bh3SSSaNMSixOt-PXg}{vFug7oEbQ6aVzvE4_GiWRQ}{<IP_ADDRESS>}{<IP_ADDRESS>:9300}, added {{elasticsearch-logging-1}{zj7lyXH8TAavYBiuPozPHg}{67POJeNVTz2qjRZ87LYsMQ}{<IP_ADDRESS>}{<IP_ADDRESS>:9300},}, reason: apply cluster state (from master [master {elasticsearch-logging-0}{Rkd4bh3SSSaNMSixOt-PXg}{vFug7oEbQ6aVzvE4_GiWRQ}{<IP_ADDRESS>}{<IP_ADDRESS>:9300} committed version [1] source [zen-disco-elected-as-master ([1] nodes joined)[{elasticsearch-logging-1}{zj7lyXH8TAavYBiuPozPHg}{67POJeNVTz2qjRZ87LYsMQ}{<IP_ADDRESS>}{<IP_ADDRESS>:9300}]]])
[2018-09-12T10:51:17,379][INFO ][o.e.h.n.Netty4HttpServerTransport] [elasticsearch-logging-0] publish_address {<IP_ADDRESS>:9200}, bound_addresses {[::]:9200}
[2018-09-12T10:51:17,380][INFO ][o.e.n.Node               ] [elasticsearch-logging-0] started
[2018-09-12T10:51:17,449][INFO ][o.e.g.GatewayService     ] [elasticsearch-logging-0] recovered [0] indices into cluster_state
[2018-09-12T10:51:17,639][INFO ][o.e.c.m.MetaDataCreateIndexService] [elasticsearch-logging-0] [logstash-2018.09.12] creating index, cause [auto(bulk api)], templates [], shards [5]/[1], mappings []
[2018-09-12T10:51:17,976][INFO ][o.e.c.m.MetaDataCreateIndexService] [elasticsearch-logging-0] [logstash-2018.09.08] creating index, cause [auto(bulk api)], templates [], shards [5]/[1], mappings []
[2018-09-12T10:51:18,145][INFO ][o.e.c.m.MetaDataCreateIndexService] [elasticsearch-logging-0] [logstash-2018.09.09] creating index, cause [auto(bulk api)], templates [], shards [5]/[1], mappings []
[2018-09-12T10:51:18,430][INFO ][o.e.c.m.MetaDataCreateIndexService] [elasticsearch-logging-0] [logstash-2018.09.06] creating index, cause [auto(bulk api)], templates [], shards [5]/[1], mappings []
[2018-09-12T10:51:18,751][INFO ][o.e.c.m.MetaDataMappingService] [elasticsearch-logging-0] [logstash-2018.09.12/T2yRValST0OvK-3OFmM0Kw] create_mapping [fluentd]
[2018-09-12T10:51:18,866][INFO ][o.e.c.m.MetaDataMappingService] [elasticsearch-logging-0] [logstash-2018.09.08/CkvzPPDvRMCzlET1Zda2og] create_mapping [fluentd]
[2018-09-12T10:51:19,234][INFO ][o.e.c.m.MetaDataMappingService] [elasticsearch-logging-0] [logstash-2018.09.09/34tt3zMzShCydcmmPNmMOg] create_mapping [fluentd]
[2018-09-12T10:51:21,613][INFO ][o.e.c.m.MetaDataMappingService] [elasticsearch-logging-0] [logstash-2018.09.06/Zsg_zszeRai-qnvqpelEfg] create_mapping [fluentd]
[2018-09-12T10:51:22,574][INFO ][o.e.c.m.MetaDataMappingService] [elasticsearch-logging-0] [logstash-2018.09.12/T2yRValST0OvK-3OFmM0Kw] update_mapping [fluentd]
[2018-09-12T10:51:22,888][INFO ][o.e.c.m.MetaDataMappingService] [elasticsearch-logging-0] [logstash-2018.09.12/T2yRValST0OvK-3OFmM0Kw] update_mapping [fluentd]
[2018-09-12T10:51:24,916][INFO ][o.e.c.m.MetaDataMappingService] [elasticsearch-logging-0] [logstash-2018.09.12/T2yRValST0OvK-3OFmM0Kw] update_mapping [fluentd]
[2018-09-12T10:51:24,943][INFO ][o.e.c.m.MetaDataMappingService] [elasticsearch-logging-0] [logstash-2018.09.12/T2yRValST0OvK-3OFmM0Kw] update_mapping [fluentd]
[2018-09-12T10:51:29,633][INFO ][o.e.c.r.a.AllocationService] [elasticsearch-logging-0] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2018.09.08][4]] ...]).
[2018-09-12T10:51:45,276][INFO ][o.e.c.m.MetaDataMappingService] [elasticsearch-logging-0] [logstash-2018.09.12/T2yRValST0OvK-3OFmM0Kw] update_mapping [fluentd]
[2018-09-12T10:51:58,528][INFO ][o.e.c.m.MetaDataCreateIndexService] [elasticsearch-logging-0] [logstash-2018.09.07] creating index, cause [auto(bulk api)], templates [], shards [5]/[1], mappings []
[2018-09-12T10:51:59,068][INFO ][o.e.c.m.MetaDataMappingService] [elasticsearch-logging-0] [logstash-2018.09.12/T2yRValST0OvK-3OFmM0Kw] update_mapping [fluentd]
[2018-09-12T10:51:59,238][INFO ][o.e.c.m.MetaDataMappingService] [elasticsearch-logging-0] [logstash-2018.09.07/v_qgmW9XRnSOKMzDXS3u_Q] create_mapping [fluentd]
[2018-09-12T10:52:00,254][INFO ][o.e.c.r.a.AllocationService] [elasticsearch-logging-0] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2018.09.07][0]] ...]).
[2018-09-12T10:52:06,585][INFO ][o.e.c.m.MetaDataCreateIndexService] [elasticsearch-logging-0] [logstash-2018.09.10] creating index, cause [auto(bulk api)], templates [], shards [5]/[1], mappings []
[2018-09-12T10:52:07,358][INFO ][o.e.c.m.MetaDataMappingService] [elasticsearch-logging-0] [logstash-2018.09.10/5WkjSoBqQj6vJDZ7n8nrFw] create_mapping [fluentd]
[2018-09-12T10:52:09,256][INFO ][o.e.c.r.a.AllocationService] [elasticsearch-logging-0] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2018.09.10][0]] ...]).
[2018-09-12T10:52:24,747][INFO ][o.e.m.j.JvmGcMonitorService] [elasticsearch-logging-0] [gc][71] overhead, spent [268ms] collecting in the last [1s]
[2018-09-12T10:52:31,934][INFO ][o.e.c.m.MetaDataCreateIndexService] [elasticsearch-logging-0] [logstash-2018.09.11] creating index, cause [auto(bulk api)], templates [], shards [5]/[1], mappings []
[2018-09-12T10:52:32,467][INFO ][o.e.c.m.MetaDataMappingService] [elasticsearch-logging-0] [logstash-2018.09.11/FWHDLCA9QZe7jhYewE4ijA] create_mapping [fluentd]
[2018-09-12T10:52:33,751][INFO ][o.e.c.r.a.AllocationService] [elasticsearch-logging-0] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2018.09.11][0]] ...]).
[2018-09-12T10:52:53,978][INFO ][o.e.m.j.JvmGcMonitorService] [elasticsearch-logging-0] [gc][100] overhead, spent [267ms] collecting in the last [1s]
[2018-09-12T10:52:54,746][INFO ][o.e.c.m.MetaDataMappingService] [elasticsearch-logging-0] [logstash-2018.09.12/T2yRValST0OvK-3OFmM0Kw] update_mapping [fluentd]
[2018-09-12T10:55:30,126][INFO ][o.e.m.j.JvmGcMonitorService] [elasticsearch-logging-0] [gc][255] overhead, spent [256ms] collecting in the last [1s]
[2018-09-12T10:56:57,198][WARN ][o.e.d.i.m.UidFieldMapper ] Fielddata access on the _uid field is deprecated, use _id instead
[2018-09-12T10:56:57,198][WARN ][o.e.d.i.m.UidFieldMapper ] Fielddata access on the _uid field is deprecated, use _id instead
[2018-09-12T10:56:57,198][WARN ][o.e.d.i.m.UidFieldMapper ] Fielddata access on the _uid field is deprecated, use _id instead
[2018-09-12T10:57:01,515][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-12T10:57:01,613][INFO ][o.e.c.m.MetaDataCreateIndexService] [elasticsearch-logging-0] [.kibana] creating index, cause [auto(bulk api)], templates [kibana_index_template:.kibana], shards [1]/[1], mappings [doc]
[2018-09-12T10:57:02,371][INFO ][o.e.c.r.a.AllocationService] [elasticsearch-logging-0] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana][0]] ...]).
[2018-09-12T10:57:02,603][INFO ][o.e.c.m.MetaDataMappingService] [elasticsearch-logging-0] [logstash-2018.09.12/T2yRValST0OvK-3OFmM0Kw] update_mapping [fluentd]
[2018-09-12T10:57:03,356][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-12T10:57:03,656][WARN ][o.e.d.i.m.UidFieldMapper ] Fielddata access on the _uid field is deprecated, use _id instead
[2018-09-12T10:57:03,657][WARN ][o.e.d.i.m.UidFieldMapper ] Fielddata access on the _uid field is deprecated, use _id instead
[2018-09-12T10:57:03,658][WARN ][o.e.d.i.m.UidFieldMapper ] Fielddata access on the _uid field is deprecated, use _id instead
[2018-09-12T10:57:03,789][INFO ][o.e.c.m.MetaDataMappingService] [elasticsearch-logging-0] [.kibana/ZNAgHeTZRvC9en0R09TJew] update_mapping [doc]
[2018-09-12T10:57:04,049][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-12T11:02:29,117][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T00:00:03,395][INFO ][o.e.c.m.MetaDataCreateIndexService] [elasticsearch-logging-0] [logstash-2018.09.13] creating index, cause [auto(bulk api)], templates [], shards [5]/[1], mappings []
[2018-09-13T00:00:03,571][INFO ][o.e.c.m.MetaDataMappingService] [elasticsearch-logging-0] [logstash-2018.09.13/qk1l72USQbq28wLpQ1dbuw] create_mapping [fluentd]
[2018-09-13T00:00:04,127][INFO ][o.e.c.m.MetaDataMappingService] [elasticsearch-logging-0] [logstash-2018.09.13/qk1l72USQbq28wLpQ1dbuw] update_mapping [fluentd]
[2018-09-13T00:00:04,607][INFO ][o.e.c.r.a.AllocationService] [elasticsearch-logging-0] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2018.09.13][4]] ...]).
[2018-09-13T00:00:05,639][INFO ][o.e.c.m.MetaDataMappingService] [elasticsearch-logging-0] [logstash-2018.09.13/qk1l72USQbq28wLpQ1dbuw] update_mapping [fluentd]
[2018-09-13T00:00:06,558][INFO ][o.e.c.m.MetaDataMappingService] [elasticsearch-logging-0] [logstash-2018.09.13/qk1l72USQbq28wLpQ1dbuw] update_mapping [fluentd]
[2018-09-13T00:00:07,708][INFO ][o.e.c.m.MetaDataMappingService] [elasticsearch-logging-0] [logstash-2018.09.13/qk1l72USQbq28wLpQ1dbuw] update_mapping [fluentd]
[2018-09-13T01:39:40,018][INFO ][o.e.c.m.MetaDataMappingService] [elasticsearch-logging-0] [logstash-2018.09.13/qk1l72USQbq28wLpQ1dbuw] update_mapping [fluentd]
[2018-09-13T02:51:26,613][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:51:37,407][WARN ][o.e.d.i.m.UidFieldMapper ] Fielddata access on the _uid field is deprecated, use _id instead
[2018-09-13T02:51:37,407][WARN ][o.e.d.i.m.UidFieldMapper ] Fielddata access on the _uid field is deprecated, use _id instead
[2018-09-13T02:51:37,408][WARN ][o.e.d.i.m.UidFieldMapper ] Fielddata access on the _uid field is deprecated, use _id instead
[2018-09-13T02:51:37,408][WARN ][o.e.d.i.m.UidFieldMapper ] Fielddata access on the _uid field is deprecated, use _id instead
[2018-09-13T02:51:37,407][WARN ][o.e.d.i.m.UidFieldMapper ] Fielddata access on the _uid field is deprecated, use _id instead
[2018-09-13T02:51:46,892][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:51:48,238][WARN ][o.e.d.i.m.UidFieldMapper ] Fielddata access on the _uid field is deprecated, use _id instead
[2018-09-13T02:51:48,238][WARN ][o.e.d.i.m.UidFieldMapper ] Fielddata access on the _uid field is deprecated, use _id instead
[2018-09-13T02:51:48,238][WARN ][o.e.d.i.m.UidFieldMapper ] Fielddata access on the _uid field is deprecated, use _id instead
[2018-09-13T02:51:48,553][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:51:58,850][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:51:58,934][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:51:58,935][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:51:58,935][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:51:58,936][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:51:59,768][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:51:59,771][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:00,332][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:00,339][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:00,342][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:00,690][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:00,693][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:01,312][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:01,312][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:01,313][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:01,693][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:01,696][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:02,289][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:02,312][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:02,698][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:02,701][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:02,703][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:03,312][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:03,383][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:03,729][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:03,734][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:03,739][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:04,295][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:04,746][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:04,753][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:04,756][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:05,306][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:05,307][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:05,751][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:05,757][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:05,761][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:06,315][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:06,316][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:06,757][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:06,758][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:06,762][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:07,322][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:07,771][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:07,773][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:09,016][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:09,019][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:09,023][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:09,024][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:09,025][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:10,377][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:10,383][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:10,476][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:10,478][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:10,512][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:11,394][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:11,396][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:11,398][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:11,401][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:11,403][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:12,397][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:12,399][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:12,401][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:12,836][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:12,838][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:13,412][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:13,414][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:13,413][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:13,879][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:13,881][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:14,844][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:14,853][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:14,877][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:14,878][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:14,879][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:15,913][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:15,913][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:15,913][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:15,914][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:15,916][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:16,890][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:16,931][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:16,937][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:16,940][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:16,944][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:17,885][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:17,888][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:17,891][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:17,912][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:17,929][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:19,265][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:19,268][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:19,271][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:19,275][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:19,278][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:19,891][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:20,564][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:20,571][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:20,574][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:20,577][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:21,040][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:21,735][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:22,036][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:22,039][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:22,045][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:22,047][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:22,925][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:22,927][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:22,930][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:22,937][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:22,939][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:23,927][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:23,929][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:23,931][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:23,935][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:23,937][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:24,930][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:24,932][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:24,933][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:24,935][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:24,936][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:25,950][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:25,953][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:25,954][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:25,957][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:25,959][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:26,940][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:26,944][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:26,982][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:26,984][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:26,987][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:27,971][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:27,972][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:27,972][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:27,975][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T02:52:27,972][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]
[2018-09-13T05:15:34,821][INFO ][o.e.c.m.MetaDataCreateIndexService] [elasticsearch-logging-0] [logstash-2018.09.04] creating index, cause [auto(bulk api)], templates [], shards [5]/[1], mappings []
[2018-09-13T05:15:35,032][INFO ][o.e.c.m.MetaDataCreateIndexService] [elasticsearch-logging-0] [logstash-2018.09.05] creating index, cause [auto(bulk api)], templates [], shards [5]/[1], mappings []
[2018-09-13T05:15:35,731][INFO ][o.e.c.m.MetaDataMappingService] [elasticsearch-logging-0] [logstash-2018.09.04/94VLW6ooSKef_7SBUniX9Q] create_mapping [fluentd]
[2018-09-13T05:15:35,821][INFO ][o.e.c.m.MetaDataMappingService] [elasticsearch-logging-0] [logstash-2018.09.05/v0ey_8Z1Q6Ogd8oOjvLFEg] create_mapping [fluentd]
[2018-09-13T05:15:37,278][INFO ][o.e.c.m.MetaDataMappingService] [elasticsearch-logging-0] [logstash-2018.09.06/Zsg_zszeRai-qnvqpelEfg] update_mapping [fluentd]
[2018-09-13T05:15:37,920][INFO ][o.e.m.j.JvmGcMonitorService] [elasticsearch-logging-0] [gc][66181] overhead, spent [305ms] collecting in the last [1s]
[2018-09-13T05:15:38,178][INFO ][o.e.c.r.a.AllocationService] [elasticsearch-logging-0] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2018.09.04][4]] ...]).
[2018-09-13T05:15:38,978][INFO ][o.e.m.j.JvmGcMonitorService] [elasticsearch-logging-0] [gc][66182] overhead, spent [380ms] collecting in the last [1s]
[2018-09-13T05:15:39,981][INFO ][o.e.m.j.JvmGcMonitorService] [elasticsearch-logging-0] [gc][66183] overhead, spent [286ms] collecting in the last [1s]
[2018-09-13T05:16:13,403][INFO ][o.e.m.j.JvmGcMonitorService] [elasticsearch-logging-0] [gc][66216] overhead, spent [289ms] collecting in the last [1s]
[2018-09-13T05:16:16,417][INFO ][o.e.m.j.JvmGcMonitorService] [elasticsearch-logging-0] [gc][66219] overhead, spent [250ms] collecting in the last [1s]
[2018-09-13T05:16:53,231][INFO ][o.e.c.m.MetaDataMappingService] [elasticsearch-logging-0] [logstash-2018.09.13/qk1l72USQbq28wLpQ1dbuw] update_mapping [fluentd]
[2018-09-13T05:18:55,310][WARN ][o.e.m.j.JvmGcMonitorService] [elasticsearch-logging-0] [gc][66375] overhead, spent [2.3s] collecting in the last [2.9s]
[2018-09-13T05:19:01,318][INFO ][o.e.m.j.JvmGcMonitorService] [elasticsearch-logging-0] [gc][66381] overhead, spent [297ms] collecting in the last [1s]
[2018-09-13T05:19:38,837][INFO ][o.e.m.j.JvmGcMonitorService] [elasticsearch-logging-0] [gc][66418] overhead, spent [297ms] collecting in the last [1.1s]
[2018-09-13T05:19:43,860][INFO ][o.e.m.j.JvmGcMonitorService] [elasticsearch-logging-0] [gc][66423] overhead, spent [265ms] collecting in the last [1s]
[2018-09-13T05:19:52,974][INFO ][o.e.m.j.JvmGcMonitorService] [elasticsearch-logging-0] [gc][66432] overhead, spent [275ms] collecting in the last [1s]
[2018-09-13T05:20:01,018][INFO ][o.e.m.j.JvmGcMonitorService] [elasticsearch-logging-0] [gc][66440] overhead, spent [356ms] collecting in the last [1s]
[2018-09-13T05:20:06,062][INFO ][o.e.m.j.JvmGcMonitorService] [elasticsearch-logging-0] [gc][66445] overhead, spent [333ms] collecting in the last [1s]
[2018-09-13T05:20:33,260][INFO ][o.e.m.j.JvmGcMonitorService] [elasticsearch-logging-0] [gc][66472] overhead, spent [287ms] collecting in the last [1.1s]
[2018-09-13T05:20:41,389][INFO ][o.e.m.j.JvmGcMonitorService] [elasticsearch-logging-0] [gc][66480] overhead, spent [299ms] collecting in the last [1s]
[2018-09-13T05:20:53,444][INFO ][o.e.m.j.JvmGcMonitorService] [elasticsearch-logging-0] [gc][66492] overhead, spent [253ms] collecting in the last [1s]
[2018-09-13T05:21:19,232][INFO ][o.e.c.m.MetaDataMappingService] [elasticsearch-logging-0] [logstash-2018.09.13/qk1l72USQbq28wLpQ1dbuw] update_mapping [fluentd]
[2018-09-13T05:21:53,922][INFO ][o.e.m.j.JvmGcMonitorService] [elasticsearch-logging-0] [gc][66552] overhead, spent [253ms] collecting in the last [1s]
[2018-09-13T05:22:51,359][INFO ][o.e.m.j.JvmGcMonitorService] [elasticsearch-logging-0] [gc][66609] overhead, spent [260ms] collecting in the last [1s]
v21devc@ip-172-31-17-153:~$

Isn't it the Kubernetes API that causes the problem? The stacktrace starts at fluent-plugin-kubernetes_metadata_filter.
I also have this problem. It seems like it had to do with the Kubernetes network plugin. We were using Cilium but when switching back to Weave the restarting stopped.

@fiskeben Does it mean if you hit network related error in kubernetes_metadata_filter, it causes fluentd restart, right?

@fiskeben , I am using cilium, not sure it is root reason.

@repeatedly Yes, that's true. I'm not sure if it happens all the time, though. I experienced about 1 restart per 10 minutes so I suppose it isn't the case.

I upgraded cilium to latest version 1.2.2, this issue has gone.


[microTVM] Update poetry.lock

The current poetry.lock does not work as expected with Zephyr. When I run a test outside of docker it shows error like bellow. It's probably some mismatching between the poetry.lock and zephyr 2.7.3 version requirement.txt file.
~/zephyrproject/zephyr/boards/arm/nucleo_l4r5zi/nucleo_l4r5zi.dts:9:10: fatal error: st/l4/stm32l4r5z(g-i)tx-pinctrl.dtsi: No such file or directory
    9 | #include <st/l4/stm32l4r5z(g-i)tx-pinctrl.dtsi>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
CMake Error at ~/zephyrproject/zephyr/cmake/dts.cmake:167 (message):
  command failed with return code: 1
Call Stack (most recent call first):
  ~/zephyrproject/zephyr/cmake/app/boilerplate.cmake:541 (include)
  ~zephyrproject/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:24 (include)
  ~/zephyrproject/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:40 (include_boilerplate)
  CMakeLists.txt:33 (find_package)

@mehrdadh I wonder if it was really the root cause of st/l4/stm32l4r5z(g-i)tx-pinctrl.dtsi not being found in your case. Have you tried to narrow down why gcc command supposed to take care of these includes (in cmake/dts.cmake:167) was failing to find this include file in your env. before refreshing your build environment?
I'm not saying I'm against this patch or against such a pragmatic approach for fixing errors like that, it's just that I could not reproduce your issue even using exactly the same poetry.lock you're updating -- which suggests it's not the root cause of the error. Also the patch is updating several other packages which I have not idea how they could be remotely related to the issue in question. Hence, since I can't reproduce it and I can't see how the updated packages could be related to the issue, I can't really review it too.

@mehrdadh I had the same issue a while ago, and the solution was to install west on the poetry virtual env.

@gromero, @mkatanbaf  Thanks for pointers.
I did more investigation, the problem was that I wasn't installing zephyr requirement.txt file:
poetry run pip3 install -r ~/zephyrproject/zephyr/scripts/requirements.txt

closing this PR as it is not necessary anymore


Add tls_client_provided_cert placeholder

1. What does this change do, exactly?
Adds a placeholder that resolves to true if the client offered a cert to authenticate themselves, and false otherwise
2. Please link to the relevant issues.
None
3. Which documentation changes (if any) need to be made because of this PR?
https://caddyserver.com/docs/placeholders needs to list the new placeholder
4. Checklist

[ ] I have written tests and verified that they fail without my change
[X] I have squashed any insignificant commits
[X] This change has comments for package types, values, functions, and non-obvious lines of code
[X] I am willing to help maintain this change if there are issues with it later

Thank you for PR.  This should be fine.
Can you please add a test to the PR.

Sorry for taking so long to get back to this. I have no idea how to write tests, and I wasn't able to understand the tests surrounding the other placeholders, so what should I do? I'm just not a programmer.

Thanks for the contribution! Nice job getting this far. What do you use this for? Most people would want to know something about the certificate, I'd imagine, rather than just whether there is one.

Our application needs to accept both TLS authenticated and IP whitelisted clients, so the config I wrote up basically says "If provided, validate and reject if failed; if not provided, pass through", and passes through that flag. So basically, we check to see if that flag is set, and it indicates to us that (due to the config) the client successfully authenticated with TLS and can be trusted.

Another, likely more useful idea, is a tls_client_provided_valid_cert placeholder. It would do the same thing for me, since I have caddy set to reject invalid certs.

Oh, yes, I like that idea better. How about we call it tls_valid_client_cert instead.

I almost have it, but I'm stuck on one thing: How can I access the caddytls.Config object for the current connection from the context of a caddyhttp.httpserver.replacer object?

Sorry for the delay on this. I think at this point, the efforts spent on this feature would be more relevant with Caddy 2, which has different mechanisms for placeholders and more powerful configurability. Just so you know, it will require a degree of skill though which is probably suitable for programmers with moderate Go / TLS experience, since we're still building the foundations of all these new features in Caddy 2.
Thank you for your contributions! I hope you will contribute again, to Caddy 2.


Cellar-C2 min part size is 5MB

If an object got uploaded on Cellar-c1 using multipart upload and with parts size less than 5MB, we will try to replicate the same upload on Cellar-c2. Unfortunately it will fail because the entity is too small.
This gives as a result files that can't be synchronized. On the other hand, if we synchronize them without using multipart (or bigger parts), the ETag attribute will differ, leading to the file being always displayed as "need to be synchronized".
To avoid that behavior, we can re-introduce usage of LastModified attribute. If LastModified on source object is lower than on destination object, then we can assume the file didn't change since the last synchronization.
New comparison algorithm would be:
- If the source and destination file have the same key and size
- If file has an ETag containing a number of parts
  - If source part size is less than 5MB
    - If source LastModified > destination LastModified
      - then synchronize

That's the capstone! Full migration without any issue. Thanks a lot @BlackYoup 😉


Unable to create user via GraphiQL during setup

According to the README, I should be able to create the first user via GraphiQL, however, the only thing returned is the HTML login page.
I have run:
$ go get github.com/zohararad/bee-gorm-graphql
$ cd $GOPATH/src/github.com/zohararad/bee-gorm-graphql
$ yarn install
$ glide up
$ go get github.com/beego/bee
$ npm run build
$ bee run

I have created the development database. And then attempt to create the first user.
GraphiQL query:
mutation {
  createUser(firstName: "Bob", lastName: "Smiith", email<EMAIL_ADDRESS>password: "graphql") {
    firstName
    lastName
    email
  }
}

Response:
"<!DOCTYPE html>\n\n\n  <meta charset=\"utf-8\">\n  <title>Bee-Gorm-GraphQL | Welcome</title>\n  <link rel=\"stylesheet\" type=\"text/css\" href=\"/assets/app.css\" />\n  <link href=\"https://fonts.googleapis.com/css?family=Roboto:300,400,500,700\" rel=\"stylesheet\" />\n\n\n
\n  <form method=\"post\" action=\"/session/login\">\n    <input type=\"hidden\" name=\"_xsrf\" value=\"UjTinC0B5e6Ac9bhZsHTWvxNGQzF45X2\" />\n
\n
\n        \n
Please Login
\n        \n
\n
\n
\n
\n
\n
\n
\n
\n
\n                  Email\n
\n
\n                  <input class=\"input\" name=\"email\" type=\"email\" placeholder=\"Email\">\n
\n
\n
\n
\n                  Password\n
\n
\n                  <input class=\"input\" name=\"password\" type=\"password\" placeholder=\"Password\">\n
\n
\n
\n                <button type=\"submit\" class=\"button is-danger is-pulled-right\">Login</button>\n
\n
\n
\n
\n
\n
\n  </form>\n
\n\n"

I saw the same issue, is this solved?

I tried make a CURL to the query route:
curl -XPOST http://localhost:8080/query -d 'mutation {createUser(firstName: "Bob", lastName: "Smiith", email<EMAIL_ADDRESS>password: "graphql"){id}}'
and it doesn't work as well.
No output, no recording :(


Discuss about Straegies and Segments implemetations

Epic: https://github.com/pheature-flags/pheature-flags/issues/2 Toggle Model
Package: https://github.com/pheature-flags/toggle-model
Description:
At this moment, we have provisional implementations for both object types.
We need to discuss:

How we can left end users adding custom strategies without breaking our strictness policies.
What types of strategies should be shipped as core models.
What types of segments should be shipped as core models.

Proposal
Toggle Strategies

Create ChainToggleStrategyFactory class that allows loading differents Strategy type factories, configured by the ToggleConfig object
Move ToggleConfig class from PRS-11 factories package to Toggle Model to allow loading user created ToggleStrategyFactory instances.
Create a ToggleStrategyFactory that allows creating "core" Strategy type instances
Check EnableByMatchingSegment
Update EnableByMatchingIdentity
Create EnableByPercentage
Create ChainToggleStrategy: Chain strategy adds the ability to mix different strategies with an "AND"
Document in detail on the architecture section of the docs
Document How to create and share in community Custom Strategies also in the architecture section of the docs

Segments

Create ChainSegmentFactory class that allows loading differents Segment type factories, configured by the ToggleConfig object
Create a SegmentFactory that allows creating "core" Segment type instances
Rename current Segment to ExactMatchingSegment
Create CollectionMatchingSegment
Create ChainSegment class that adds the ability to mix different Segments with an "AND"
Document in detail on the architecture section of the docs
Document How to create and share in community Custom Segments also in the architecture section of the docs

Community

Create PSR-11 container compatible factories for ChainToggleStrategyFactory and ChainSegmentFactory

Hi @kpicaza !
Nice proposal 👏🏽  Could you make the toggle-psr11-factories repo accessible to take a look on these factories?
Regarding the proposal I have a doubt about the factories:

The ChainToggleStrategyFactory should create a ChainToggleStrategy based on the ToggleConfig that should contain the strategies to load, right? Are these strategies passed to the ChainToggleStrategy as factories instead of Strategy instances to reduce the coupling with the container and use lazy load to build each Strategy instance? Or there's another reason?

Thanks and good job 🚀 !!!

Hi @xserrat :wave:

Could you make the toggle-psr11-factories repo accessible to take a look on these factories?

I'm sorry, is a type, the repo is public and accessible here https://github.com/pheature-flags/toggle-crud-psr11-factories

Are these strategies passed to the ChainToggleStrategy as factories instead of Strategy instances to reduce the coupling with the container and use lazy load to build each Strategy instance? Or there's another reason?

It's right, also the idea is to allow the end-user(the developer) to define its own strategy types(red boxes) that can be loaded from the container maintaining the core strict type coherence. The same logic applies to the segments. We can search for a less complex approach here,

Also, to make easier the combination of strategies for the users who need a complex strategy, we could add specifications for the OR and AND operations like these examples:

PR or pair programming session welcome;-D. We put an "AND" at this level because the "OR" is applied in the Toggle by design. It is a good point.
Also, take a look at the Flow picture in the docs https://pheatureflags.io/#/architecture/?id=flow

Thank you very much.


VSCODE_ENV_* variables to adjust environment in shell integration script do not work

For https://github.com/microsoft/vscode/issues/179476#issuecomment-1523802226

The main issue here is in practice the separators : are used in the values as well, this just wasn't covered properly initially


Logical AND (&&) result incorrectly type checked in JSX files

EDIT: This is not related to JSX. It is instead related to strictNullChecks. See https://github.com/Microsoft/TypeScript/issues/19491#issuecomment-339723984.

TypeScript Version:  2.4.1 and 2.6.0-rc
Code
{
    const boolean = false as boolean;

    // Expected error, got error
    // Type 'false' is not assignable to type 'number'.
    const x: number = boolean && 1;
}

The above example correctly gives a type checking error. ~However, the same code in a JSX file (.tsx) does not give an error:~
{
    const boolean = false as boolean;

    // Expected error, but got no error!
    const x: number = boolean && 1;
}

Works for me -- is it possible these are two different projects with different settings for --strictNullChecks?

This is just because one of your files got into a tsconfig file that set strictNullChecks

Aha, strictNullChecks is related. I was wrong about this only appearing in JSX files, apologies.
If I enable strictNullChecks, the expected error appears.
However, I don't understand why the error doesn't appear when strictNullChecks is disabled?

It was a bug from before --strictNullChecks and fixing it would break backwards compatibility. So we only fixed it in the --strictNullChecks case.

Aha, thanks @andy-ms! Will these things be ironed out eventually in the next major version, along with other breaking chances?

As far as I know there aren't any plans to make breaking changes.