Problem connecting elasticsearch as data source

I tried several ways and i keep receving the same message(es image). I’ll add the parameteres i pass to conect to the datasource for better understanding(ds1 image). What should i do to sucessfuly conect to elastic search?