First of all thx for your response .
i'm trying to try the scan in desktop ver before trying to deal with automate framwork ver as you advice in this video (
https://www.youtube.com/watch?v=TTiW5NPJlwY)
but i have issue with the desktop ver which is when i try to define active scan to only check for xss as you described in that video it's stops scanning after 10 (404 status code)
and even if i tried to make full scan without specifying the role in active scan it still hanging there and the progress bar of active scan still 0% as shown in screenshot .
the other thing is when i try to generate report following error shows as in screenshot .
my os : Linux pop-os 5.15.15-76051515-generic
zap ver : 2.11.1
i tried to solve this by reinstalling zap (same issue)
i tried to change internet connection (same issue)
Thanks