Packet capture fails every time.

Jakezxz1 40 Reputation points
2023-05-08T20:46:41.52+00:00

Hello,

I am trying to run a packet capture from my VM to see all traffic coming in and out.

I have a storage account associated with my VM and I have stepped into networking within the storage account and selected the VNETS and IP address as well as enabled the service endpoint status for those VNETs.

Connectivity wise the troubleshooter says that my storage account is reachable.

I cannot access the storage of the VM so I cannot save it locally - this is because my VM is running as an NVA and cannot access the underlying architecture directly.

Every time I run the pcap it fails right away:

Session status

Stopped

Storage location

packetcapture_20_42_24_349.cap

Start time

2023-05-08T20:42:24.8802769Z

Errors

LocalFileFailed,StorageFailed

Virtual machine

NSv270

Timeout Interval

18000

Subscription

Azure subscription 1

Filters

Any: : (Local) - : (Remote)

Azure Virtual Network
Azure Virtual Network
An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.
2,178 questions
{count} votes

1 answer

Sort by: Most helpful
  1. TP 77,076 Reputation points
    2023-05-08T23:39:40.4733333+00:00

    Hi,

    When I've seen that error it was because there was a problem saving to the storage account due to networking.

    What I would recommend is to create a new general purpose v2 lrs storage account in same region, with public access enabled from all networks, and then try a new capture with it set to new storage account.

    If the above was useful please click Accept Answer.

    Thanks.

    -TP