# Using HTTPS for WebHDFS Output Plugin

**URL:** <https://discuss.elastic.co/t/using-https-for-webhdfs-output-plugin/160202>\
**Category:** Logstash\
**Created:** [December 10, 2018, 3:15pm UTC](https://discuss.elastic.co/t/using-https-for-webhdfs-output-plugin/160202 "2018-12-10T15:15:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dyongbcst](https://avatars.discourse-cdn.com/v4/letter/d/b9bd4f/32.png) [@dyongbcst](https://discuss.elastic.co/u/dyongbcst)\
**Post date:** [December 10, 2018, 3:15pm UTC](https://discuss.elastic.co/t/using-https-for-webhdfs-output-plugin/160202/1 "2018-12-10T15:15:48Z")

</div>

Hi, I am facing issues with WebHDFS.

My organization uses WebHDFS on port 50470, which is kerberized and requires HTTPS.

After following the thread in [https://github.com/elastic/logstash/issues/8791](https://github.com/elastic/logstash/issues/8791), I am still facing issues with using Kerberos Authentication with HTTPS for WebHDFS.

I am getting the following logs below:  
[2018-12-10T23:08:27,237][ERROR][logstash.outputs.webhdfs] Webhdfs check request failed. (namenode: :50470, Exception: Failed to connect to host :50470, wrong status line: "\x15\x03\x03\x00\x02\x02")

Googling the web for "\x15\x03\x03\x00\x02\x02", it appears that logstash is trying to communicate via HTTP instead of HTTPS. However, I do not see any settings that allow for communication through HTTPS (not talking about use\_ssl\_authentication, as I do not need to authenticate my client).

May I know if there is a way to communicate via HTTPS for WebHDFS?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [January 7, 2019, 3:15pm UTC](https://discuss.elastic.co/t/using-https-for-webhdfs-output-plugin/160202/2 "2019-01-07T15:15:53Z")

</div>

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