# Unable to install & enroll fleet server - v8.1.2

**URL:** <https://discuss.elastic.co/t/unable-to-install-enroll-fleet-server-v8-1-2/302553>\
**Category:** Elasticsearch\
**Tags:** fleet\
**Created:** [April 16, 2022, 2:17pm UTC](https://discuss.elastic.co/t/unable-to-install-enroll-fleet-server-v8-1-2/302553 "2022-04-16T14:17:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jdswifty](https://avatars.discourse-cdn.com/v4/letter/j/779978/32.png) [@jdswifty](https://discuss.elastic.co/u/jdswifty)\
**Post date:** [April 16, 2022, 2:17pm UTC](https://discuss.elastic.co/t/unable-to-install-enroll-fleet-server-v8-1-2/302553/1 "2022-04-16T14:17:09Z")

</div>

Hi, having some issues getting our first fleet server up & running using 8.1.2 on Windows  
followed the guided process from Kibana but the install fails each time.

It doesnt even look like its getting to the point where its trying to strike up a connection back to the ES cluster as monitoring tcp pots 8220 & 9200 using wireshark there is no traffic going between the fleet server & the ES cluster, Firewalls are not an issue  
if i run a wget from powershell to the ES cluster i get a successful payload back & can see a successful tls handshake

I'm obviously missing something from the install & enrolment process

```auto
C:\swtemp\elastic-agent-8.1.2-windows-x86_64\elastic-agent-8.1.2-windows-x86_64>.\elastic-agent.exe install --url=https://wpxxxxx6.bxx.com:8220 
--fleet-server-es=https://ctelk.bxxxx.com:9200 
--fleet-server-service-token=AAEAAWVsYXN0axxxxxxxxxxxxxxxxxxxxxxxxxxxx2MDc6UTJxWUlSS1FTRDZ5Ql9TTUhnRmRSdw 
--fleet-server-policy=fleetserver 
--certificate-authorities=D:\Config\Certs\ct-cacerts.pem
--fleet-server-es-ca=D:\Config\Certs\ctelk.xxxx.com.cer
--fleet-server-cert=D:\Config\Certs\ctelk.xxxx.com.cer 
--fleet-server-cert-key=D:\Config\Certs\ctelk.xxxx.com.key
Elastic Agent will be installed at C:\Program Files\Elastic\Agent and will run as a service. Do you want to continue? [Y/n]:y
{"log.level":"debug","@timestamp":"2022-04-16T14:57:19.327+0100","log.origin":{"file.name":"cmd/enroll_cmd.go","file.line":286},"message":"verifying communication with running Elastic Agent daemon","ecs.version":"1.6.0"}
{"log.level":"debug","@timestamp":"2022-04-16T14:57:21.484+0100","log.origin":{"file.name":"cmd/enroll_cmd.go","file.line":740},"message":"Waiting for Elastic Agent to start Fleet Server: no fleet-server application running","ecs.version":"1.6.0"}
{"log.level":"info","@timestamp":"2022-04-16T14:57:21.484+0100","log.origin":{"file.name":"cmd/enroll_cmd.go","file.line":744},"message":"Waiting for Elastic Agent to start Fleet Server","ecs.version":"1.6.0"}
{"log.level":"debug","@timestamp":"2022-04-16T14:57:23.494+0100","log.origin":{"file.name":"cmd/enroll_cmd.go","file.line":740},"message":"Waiting for Elastic Agent to start Fleet Server: no fleet-server application running","ecs.version":"1.6.0"}
{"log.level":"debug","@timestamp":"2022-04-16T14:57:27.501+0100","log.origin":{"file.name":"cmd/enroll_cmd.go","file.line":740},"message":"Waiting for Elastic Agent to start Fleet Server: no fleet-server application running","ecs.version":"1.6.0"}
{"log.level":"debug","@timestamp":"2022-04-16T14:57:35.507+0100","log.origin":{"file.name":"cmd/enroll_cmd.go","file.line":754},"message":"Waiting for Elastic Agent to start Fleet Server: STARTING - Starting","ecs.version":"1.6.0"}
{"log.level":"info","@timestamp":"2022-04-16T14:57:35.508+0100","log.origin":{"file.name":"cmd/enroll_cmd.go","file.line":777},"message":"Fleet Server - Starting","ecs.version":"1.6.0"}
{"log.level":"debug","@timestamp":"2022-04-16T14:57:51.530+0100","log.origin":{"file.name":"cmd/enroll_cmd.go","file.line":754},"message":"Waiting for Elastic Agent to start Fleet Server: STARTING - Starting","ecs.version":"1.6.0"}
{"log.level":"debug","@timestamp":"2022-04-16T14:58:23.535+0100","log.origin":{"file.name":"cmd/enroll_cmd.go","file.line":754},"message":"Waiting for Elastic Agent to start Fleet Server: STARTING - Starting","ecs.version":"1.6.0"}
Error: fleet-server failed: context canceled
For help, please see our troubleshooting guide at https://www.elastic.co/guide/en/fleet/8.1/fleet-troubleshooting.html

```

---

<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:** [May 14, 2022, 2:18pm UTC](https://discuss.elastic.co/t/unable-to-install-enroll-fleet-server-v8-1-2/302553/2 "2022-05-14T14:18:04Z")

</div>

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