Assuming that this is your own setup, this could be an installation issue.
Say the url you use to access your site is “http://localhost:8000”, then run this command:
bench --site site1.local set_config hostname "http://localhost:8000"
where site1.local is the folder name of your site in frappe-bench/sites folder
-Anand.