Failed to execute [webhook] action, error: handshake alert: unrecognized_name"

alerting

(sandhya) #1

I am not able to post request to external source.i always gets error: handshake alert: unrecognized_name"


(Mark Walkom) #2

Can you provide a bit more information?

What does your config look like?


(sandhya) #3

I am using webhook in action like this.

"actions" : {
"my_webhook" : {
"webhook" : {
"scheme":"https",
"method" : "get",
"host" : "host",
"path": "uripath",
"port":443,
"headers":{
"header1":"value1"
}

}

}
}

Exception :
"id": "my_webhook",
"webhook": {
"success": false,
"reason": "failed to execute [webhook] action [ount_watch_0-2015-06-17T14:37:52.408Z/my_webhook]. error: handshake alert: unrecognized_name"


(Mark Walkom) #4

It could be an SSL mismatch error.
Does the hostname you are connecting to have that as a valid entry in the SSL certificate?


(Uri Boness) #5

Hi,

Java 7 is quite strict with SNI. You can also try running elasticsearch with the following system argument:

-Djsse.enableSNIExtension=false

(system) #6