前回のブログ記事<\/A>で、私の尊敬する同僚でありボードゲームのライバルでもあるKelly Gerrow-Wilcoxが、ブラウザに内蔵された開発者ツールを使ってウェブブラウザのトラフィックをキャプチャする基本について説明しました。 しかし、ArcGIS Pro、ArcMap、またはその他の非ブラウザクライアントでサービスを利用している場合はどうでしょうか? ここで登場するのがウェブトラフィックキャプチャツールです。 無料のツールは多数あり(例えばFiddler<\/A>、Wireshark<\/A>、Charles<\/A>など)、ユーザーは自分のコンピュータからウェブトラフィックをキャプチャできます。 このブログではFiddlerを使ったHTTP\/HTTPSトラフィックのキャプチャに焦点を当てます。 私はFiddlerを選んだ理由は、その比較的シンプルなインターフェースとEsriテクニカルサポート内での広範な採用によるものです。 <\/P><\/P><\/P>
<\/P>
<\P>
注意:Web Sessionsペイン内の列はヘッダー部分で右クリックし、Customize Columns<\STRONG>を選択することでカスタマイズ可能です。 有用なフィールドとして以下があります:<\P>Overall Elapsed(Collection: Session Timers内にあります。これはリクエスト送信から応答受信までの全体時間です)<\LI>ClientBeginRequest(Collection: Session Timers内にあります。これはソフトウェアが最初にリクエスト送信を開始した時刻で、コンピュータの時刻を使用します)<\LI>X -HostIP(Collection: Session Flagsを選択しヘッダー名を手動入力します。これはリクエスト先サーバーのIPアドレスです)<\LI> <\P>単一のWebセッションをクリックすると、その特定リクエストに関する多様な情報がDetails paneに表示されます。 <\P> <\SPAN>
Details paneには多数のタブがあります。 最も有用なのは(本ブログ目的では)Timeline, Statistics, および Inspectorsです。 その他はすべて本ブログ範囲外の高度な機能です。<\SPAN>
<\SPAN>
Statistics と Timeline タブはパフォーマンス関連問題調査時に役立ちます。例えばMap Viewerでサービス読み込みが遅い場合などです。 Timeline タブは複数リクエスト処理中どのリクエストがボトルネックになっているか特定する際に便利です。 Timeline タブ利用にはWeb Sessionsリストで複数リクエスト選択します。タイムラインは連続した「カスケード」形式でリクエスト表示し、異常に長い時間かかるリクエストはタイムライン上で長いバーとして明確に目立ちます。 <\SPAN>
Statistics はリクエスト開始からレスポンス受信まで各ステップごとの正確な時間を表示します。この詳細表示は単一リクエスト処理中どこがボトルネックか特定する際に有用です。例えばすべてのステップが数秒未満なのに ServerGotRequest と ServerBeginResponse の間だけ数秒間隔がある場合、それはサーバー側で何か遅延要因があることを示しています。
最後に、 Inspectors タブでは大量の情報が表示され、おそらくほとんどすべてのトラブルシューティング作業はこちらで行われます。ここではアプリケーションとウェブサービス間のやり取りの詳細を見ることができます。Inspectors は主に2つのセクションに分かれています;Request情報(クライアントから送信されたリクエスト関連すべて)とResponse情報(サーバーから返されたレスポンス関連すべて)。両方ともほぼ同じ細分化されたタブ群があり、それぞれ異なる形式でリクエスト/レスポンス内容を表示します。本ブログ目的で有用なタブは以下です:<\SPAN>
問題に関連するリクエスト(複数可)を特定したら、以下のヒントが実際の問題判別に役立ちます。
Hi Alan
Thank you very much for your inputs.
I believe it is an IT "situation" but I want to gather as much info as possible.
I'm using fiddler to troubleshoot ArcGIS Pro so let's see how it goes.
Once again, thank you very much!
Cheers,
Rui
Hi Rui,
You're talking about an admin account on your local machine, right? I'm not aware of any restrictions, unless your IT has placed some restrictions. You might want to reach out to them.
I found this in the Telerik forum which also indicates admin rights should (normally) not be essential:
Local admin rights for Fiddler? in Fiddler Fiddler on PCs - Telerik Forums If you're only working in a browser, you can use the browser's Dev Tools > Network tab to see the same information. It will just have a different UI than what I've explained above but the basics remain the same.Good Luck!Alan
Thank you very much for this @Alan Rex.
I'm having problems running Fiddler with my local account. Do I need an admin account (local admin) to run Fiddler or a "regular" user account can be used?
Thanks for the help.
Kind regards,
Hi Archit Srivastava,
thank you for your quick help! Your suggestion hepls to configure fiddler in the correct way! Great!!
Best regards,
Marko
Hello Marko Einspieler,
This may be happening due to "App Container Loopback Exemption Utility" in Fiddler. In order allow Collector for Windows to send traffic through Fiddler we need to create an exception for it in Fiddler.
Its a simple check box selection process, explained in detail in below link (even though the document is for Windows 8, the behavior is same for Windows 10):
Configure Fiddler for Windows 8 Metro-style applications - Progress Telerik Fiddler
Once we launch the "App Container Loopback Exemption Utility", we need to select "Collector For ArcGIS" and the save and relaunch Fiddler (This requires Administrative Privileges on the machine)
Hope it helps!
Kind Regards,
Archit
Thanks for this article!
I would like to monitor requests from windows collector for arcgis. I'm running collector for arcgis version 18.0.2.0 on windows 10. When collector app is started and I launch fiddler, to monitor requests, collector is not working anymore. no maps are shown up anymore. When I start fiddler first and launch collector, I'm not able to connect to any organization anymore.
Do you have any ideas, why this happens? Are there some special settings for fiddler in combination with collector app?
Thanks in advance and best regards,
thanks for sharing! Alan Rex
Gracias Alan Rex !
Yes, thank you
Related article:
https://community.esri.com/groups/technical-support/blog/2011/12/06/configuring-fiddler-to-capture-web-traffic-from-an-iphone-ipad-device
Absolutely. I hope it helps!
Thank you for posting this blog.
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.