Cannot retrieve the elasticsearch cloud license, expiry time out of range

Hello team,

I face the same issue with winlogbeat.
Below is the error.

    Attempting to connect to Elasticsearch version 6.7.1
2019-05-06T19:15:28.568-0700 INFO [monitoring] log/log.go:144 Non-zero metrics in the last 30s {"monitoring": {"metrics": {"beat":{"cpu":{"system":{"ticks":32062,"time":{"ms":16}},"total":{"ticks":56546,"time":{"ms":16},"value":56546},"user":{"ticks":24484}},"handles":{"open":201},"info":{"ephemeral_id":"7c609f34-05e5-48d1-8a90-d52e34545e01","uptime":{"ms":38640098}},"memstats":{"gc_next":33403904,"memory_alloc":16833768,"memory_total":259203648}},"libbeat":{"config":{"module":{"running":0}},"output":{"read":{"bytes":791},"write":{"bytes":392}},"pipeline":{"clients":3,"events":{"active":4119,"retry":50}}}}}}
2019-05-06T19:15:58.568-0700 INFO [monitoring] log/log.go:144 Non-zero metrics in the last 30s {"monitoring": {"metrics": {"beat":{"cpu":{"system":{"ticks":32062},"total":{"ticks":56546,"value":56546},"user":{"ticks":24484}},"handles":{"open":201},"info":{"ephemeral_id":"7c609f34-05e5-48d1-8a90-d52e34545e01","uptime":{"ms":38670098}},"memstats":{"gc_next":33403904,"memory_alloc":16857632,"memory_total":259227512}},"libbeat":{"config":{"module":{"running":0}},"pipeline":{"clients":3,"events":{"active":4119}}},"msg_file_cache":{"ApplicationSize":-1}}}}
2019-05-06T19:16:14.764-0700 ERROR pipeline/output.go:100 Failed to connect to backoff(elasticsearch([http://10.xx.xx.xx:9200](http://10.xx.xx.xx:9200/))): Connection marked as failed because the onConnect callback failed: cannot retrieve the elasticsearch license: could not extract license information from the server response: could not parse value for expiry time: strconv.Atoi: parsing "1559606399999": value out of range

Elastic cluster license is valid.

Please help!

Thanks