This error displays on Wireshark when you try to capture packets on Eve-ng or PNET lab.
![](https://reashad.com/wp-content/uploads/2022/12/image-2.png)
Why this happens: Wireshark can not access Eve-ng or PNET lab with right credential
How to fix it:
- Open Notepad as an administrator
- Browse: C:\Program Files\EVE-NG
- open “wireshark_wrapper.bat”
- fix the username and password (the username and password you use to login to Eve-ng or PNET lab)
- save it
![](https://reashad.com/wp-content/uploads/2022/12/image-1.png)
This will solve your “end of file on pipe magic during open” error
Thank you. It helped a lot