Skip to content

Instantly share code, notes, and snippets.

@watahani
Last active June 8, 2021 02:55
Show Gist options
  • Save watahani/b07f021ee80db2d47ed65d7e6d210afa to your computer and use it in GitHub Desktop.
Save watahani/b07f021ee80db2d47ed65d7e6d210afa to your computer and use it in GitHub Desktop.

Azure Application Proxy ログ

事前認証: Azure Active Directory で実施

デバッグ ログ一覧

  • 24006
    • リクエスト受信 (通信開始)
    • Client request received. Transaction ID: '{5642affd-35e6-4ba5-947d-15511008f63a}'
  • 24007
  • 24028
    • 詳細ログ: リクエストの受信
    • Microsoft AAD Application Proxy Connector received a frontend request.
  • 25000
    • Microsoft AAD Application Proxy Connector handled the following request using pass-through.
  • 25015
    • ヘッダーの変換
    • Host header was translated.
  • 24029
    • 詳細ログ: バックエンドへの通信リクエスト送信
    • Microsoft AAD Application Proxy Connector sent a request to backend application.
  • 24030
    • 詳細ログ: バックエンドからの通信レスポンス受信
    • Microsoft AAD Application Proxy Connector received a response from backend.
  • 24031
    • 詳細ログ: フロントエンド (Azure AD) へのレスポンス送信
    • Microsoft AAD Application Proxy Connector sent frontend response.
  • 24008
    • レスポンス送信 (通信終了)
    • Sending application response. Transaction ID: '{5642affd-35e6-4ba5-947d-15511008f63a}'.

各ログの生データ

24028

Microsoft AAD Application Proxy Connector received a frontend request.

Details:
Transaction ID: {5642affd-35e6-4ba5-947d-15511008f63a}
Session ID: {5642affd-35e6-4ba5-947d-15511008f63a}
Published Application Name: 
Published Application ID: 
Published Application External URL: https://webapp01.whdv.wahaniya.com/
Published Backend URL: https://webapp01.whdv.wahaniya.com/
User: <Unknown>
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.87 Safari/537.36
Device ID: <Not Applicable>
Token State: <Unknown>
Cookie State: <Unknown>
Client Request URL: https://webapp01.whdv.wahaniya.com/
Backend Request URL: <Not Applicable>
Preauthentication Flow: <Not Applicable>
Backend Server Authentication Mode: 
State Machine State: Idle
Response Code to Client: <Not Applicable>
Response Message to Client: <Not Applicable>
Client Certificate Issuer: <Not Found>
Response Code from Backend: <Not Applicable>
Frontend Response Location Header: <Not Applicable>
Backend Response Location Header: <Not Applicable>
Backend Request Http Verb: <Not Applicable>
Client Request Http Verb: GET

24029

Microsoft AAD Application Proxy Connector sent a request to backend application.

Details:
Transaction ID: {5642affd-35e6-4ba5-947d-15511008f63a}
Session ID: {5642affd-35e6-4ba5-947d-15511008f63a}
Published Application Name: 
Published Application ID: 
Published Application External URL: https://webapp01.whdv.wahaniya.com/
Published Backend URL: https://webapp01.whdv.wahaniya.com/
User: [email protected]
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.87 Safari/537.36
Device ID: <Not Applicable>
Token State: NotFound
Cookie State: NotFound
Client Request URL: https://webapp01.whdv.wahaniya.com/
Backend Request URL: https://webapp01.whdv.wahaniya.com/
Preauthentication Flow: PassThrough
Backend Server Authentication Mode: PassThrough
State Machine State: FrontendRequestProcessing_sync
Response Code to Client: <Not Applicable>
Response Message to Client: <Not Applicable>
Client Certificate Issuer: <Not Found>
Response Code from Backend: <Not Applicable>
Frontend Response Location Header: <Not Applicable>
Backend Response Location Header: <Not Applicable>
Backend Request Http Verb: GET
Client Request Http Verb: GET

24030

Microsoft AAD Application Proxy Connector received a response from backend.

Details:
Transaction ID: {5642affd-35e6-4ba5-947d-15511008f63a}
Session ID: {5642affd-35e6-4ba5-947d-15511008f63a}
Published Application Name: 
Published Application ID: 
Published Application External URL: https://webapp01.whdv.wahaniya.com/
Published Backend URL: https://webapp01.whdv.wahaniya.com/
User: [email protected]
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.87 Safari/537.36
Device ID: <Not Applicable>
Token State: NotFound
Cookie State: NotFound
Client Request URL: https://webapp01.whdv.wahaniya.com/
Backend Request URL: https://webapp01.whdv.wahaniya.com/
Preauthentication Flow: PassThrough
Backend Server Authentication Mode: PassThrough
State Machine State: BEHeadersReading
Response Code to Client: <Not Applicable>
Response Message to Client: <Not Applicable>
Client Certificate Issuer: <Not Found>
Response Code from Backend: 200
Frontend Response Location Header: <Not Applicable>
Backend Response Location Header: <Not Applicable>
Backend Request Http Verb: GET
Client Request Http Verb: GET

24031

Microsoft AAD Application Proxy Connector sent frontend response.

Details:
Transaction ID: {5642affd-35e6-4ba5-947d-15511008f63a}
Session ID: {5642affd-35e6-4ba5-947d-15511008f63a}
Published Application Name: 
Published Application ID: 
Published Application External URL: https://webapp01.whdv.wahaniya.com/
Published Backend URL: https://webapp01.whdv.wahaniya.com/
User: [email protected]
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.87 Safari/537.36
Device ID: <Not Applicable>
Token State: NotFound
Cookie State: NotFound
Client Request URL: https://webapp01.whdv.wahaniya.com/
Backend Request URL: https://webapp01.whdv.wahaniya.com/
Preauthentication Flow: PassThrough
Backend Server Authentication Mode: PassThrough
State Machine State: BackendResponseProcsessing_sync
Response Code to Client: 200
Response Message to Client: OK
Client Certificate Issuer: <Not Found>
Response Code from Backend: 200
Frontend Response Location Header: <Not Applicable>
Backend Response Location Header: <Not Applicable>
Backend Request Http Verb: GET
Client Request Http Verb: GET

Admin ログ一覧

  • 12015
    • コネクター サービスとの通信失敗
The Connector failed to establish connection with the service.
If this error persists, please use the following link to verify that all necessary ports are open in your firewall: https://go.microsoft.com/fwlink/?linkid=843463. 
For more details, please see our troubleshooting page: http://go.microsoft.com/fwlink/?LinkID=512316&clcid=0x409. 
Request ID: '{fd32541b-4699-48f3-9291-f6056f8cb890}'
  • 12020
    • コネクター サービスとの通信失敗
Connector was unable to connect to the service due to networking issues. The Connector tried to access the following URL: 'https://6fbfbe11-27d8-4765-812b-8b8189665a0a.bootstrap.msappproxy.net/', Request ID: '{4198ef47-fcd0-437f-bae9-01ff655b6162}'. See Connector troubleshooting for more information: http://go.microsoft.com/fwlink/?LinkID=512316&clcid=0x409
  • 13006
    • バックエンド アプリとの通信失敗
Connection to the backend server failed. Error: (0x80072ee7).

Details:
Transaction ID: {6bba8daf-6583-475b-b69e-0489231f4c29}
Session ID: {6bba8daf-6583-475b-b69e-0489231f4c29}
Published Application Name: 
Published Application ID: 
Published Application External URL: https://hypervwebapp-wahaniya04.msappproxy.net/
Published Backend URL: http://webapp.wahaniya.com:8080/
User: [email protected]
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.212 Safari/537.36
Device ID: <Not Applicable>
Token State: NotFound
Cookie State: NotFound
Client Request URL: https://hypervwebapp-wahaniya04.msappproxy.net/favicon.ico
Backend Request URL: http://webapp.wahaniya.com:8080/favicon.ico
Preauthentication Flow: PassThrough
Backend Server Authentication Mode: PassThrough
State Machine State: BERequestWriting
Response Code to Client: <Not Applicable>
Response Message to Client: <Not Applicable>
Client Certificate Issuer: <Not Found>
Response Code from Backend: <Not Applicable>
Frontend Response Location Header: <Not Applicable>
Backend Response Location Header: <Not Applicable>
Backend Request Http Verb: GET
Client Request Http Verb: GET
  • 14001
    • 多分新しい App Proxy アプリが追加された通知を受け取ったログ
New application configuration reported by proxy, '1184800543', retrieving new configuration.
  • 14009
    • 多分新しい App Proxy アプリが追加が完了した際のログ
Application configuration successfully retrieved from proxy. Transaction ID: '{bf9e6516-9e43-4f2d-9048-70fd695fe4d1}', configuration version: '-347857388'
  • 14002
    • 多分コネクターの設定が更新完了した際のログ
Connector application configuration was updated successfully to: '-347857388'
  • 14003
    • コネクターが Connector Service からの設定ファイルを取得した際のログ
Successfully read configuration from registry. Application Proxy Bootstrap Service host: '69191dcf-9be5-47ba-9010-b356d335a6e4.bootstrap.msappproxy.net'.
  • 14004
    • コネクター サービスが正常に起動した際のログ
Application Proxy Connector started successfully.
  • 14010
Performance counters were started successfully.
  • 14013
Metrics connector was initialized successfully.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment