# エンドポイントエージェントの問題

**URL:** <https://discuss.elastic.co/t/topic/292452>\
**Category:** 日本語による質問・議論はこちら\
**Created:** [December 20, 2021, 11:17am UTC](https://discuss.elastic.co/t/topic/292452 "2021-12-20T11:17:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vivi](https://avatars.discourse-cdn.com/v4/letter/v/ecc23a/32.png) [@Vivi](https://discuss.elastic.co/u/Vivi)\
**Post date:** [December 20, 2021, 11:17am UTC](https://discuss.elastic.co/t/topic/292452/1 "2021-12-20T11:17:02Z")

</div>

"Artifacts.cpp:2850 Failed to download artifact diagnostic-configuration-v1 - Invalid url. "  
Elastic CloudのEndpoint SecurityでランサムウエアをONにして評価中。  
Fleet機能で2台のAgentを追加。どちらもWin10。１台目は会社内の端末。２台目は自宅の個人PC。  
会社内の端末はFleet StatusがUnhealthyでwindows DefenderのままでElastic Securityに置き換わらない。  
自宅の個人PCはFleet Statusがhealthyでwindows DefenderからElastic Securityに置き換わる。

会社内の端末Logs eroorのみ

```auto
Showing entries from Dec 7, 17:02:42
17:02:42.916
elastic_agent.endpoint_security
[elastic_agent.endpoint_security][error] Artifacts.cpp:2850 Failed to download artifact diagnostic-configuration-v1 - Invalid url
17:02:42.916
elastic_agent.endpoint_security
[elastic_agent.endpoint_security][error] Artifacts.cpp:618 Artifact diagnostic-configuration-v1 download or verification failed
17:03:17.337
elastic_agent.endpoint_security
[elastic_agent.endpoint_security][error] Ransomware.cpp:231 Required user artifacts are missing
elastic_agent.endpoint_security
[elastic_agent.endpoint_security][error] AgentComms.cpp:823 Unable to make GRPC connection in deadline(60s). Fetching connection info again
17:04:17.397
elastic_agent.endpoint_security
[elastic_agent.endpoint_security][error] Config.cpp:1825 Initial configuration application failed
elastic_agent.endpoint_security
[elastic_agent.endpoint_security][error] Entry.cpp:364 Failed to apply initial policy from on disk configuration (Initial Policy Application Failed)
17:04:42.202
elastic_agent
[elastic_agent][error] Elastic Agent status changed to: 'error'

```

会社内のネットワーク設定が影響しているのではないかと推測。

社内からThe Internetにアクセスするには、  
社内プロキシサーバの設定と証明書のインストールが必要。

例えば  
プロキシサーバ：[http://proxygate.xxx.co.jp:8080](http://proxygate.xxx.co.jp:8080)  
証明書 ：ZscalerRootCertificate.crt

Windows環境変数には、以下を設定している。  
setx /m NODE\_EXTRA\_CA\_CERTS "C:\elastic\ZscalerRootCertificate.crt"  
setx /m HTTP\_PROXY [http://proxygate.xxx.co.jp:8080](http://proxygate.xxx.co.jp:8080)  
setx /m HTTPS\_PROXY [http://proxygate.xxx.co.jp:8080](http://proxygate.xxx.co.jp:8080)

elastic-agentやEndpointの起動に伴い、  
社内Proxyと社外アクセスする際に必要なクライアントにインストールしている証明書の設定が必要ではないかと推測しています。  
何か情報があれば教えてほしいです。  
どうぞ、よろしくお願い致します。

---

<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 17, 2022, 11:17am UTC](https://discuss.elastic.co/t/topic/292452/2 "2022-01-17T11:17:31Z")

</div>

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