Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cross-Origin Request Blocked #4

Open
anis-moubarik opened this issue Oct 24, 2023 · 0 comments
Open

Cross-Origin Request Blocked #4

anis-moubarik opened this issue Oct 24, 2023 · 0 comments

Comments

@anis-moubarik
Copy link

anis-moubarik commented Oct 24, 2023

Describe the bug
After starting up the service and giving the URL it wont fetch pages and it will print a CORS-error in the console.

To Reproduce
Steps to reproduce the behavior:
Build with docker-compose -f docker-compose.yml -f docker-compose.build.yml up -d --force-recreate --build --remove-orphans on a M2 Mac using the workarounds for it

  1. Go to testing page
  2. Insert URL to be crawled
  3. Open console
  4. Press Run
  5. See error: Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://localhost:7071/api/crawler?depth=2&url=***&viewport=desktop&width=20. (Reason: CORS request did not succeed)

Expected behavior
Page to be crawled

Desktop (please complete the following information):

  • OS: macOS
  • Browser: Firefox 118.0.1
  • Version: latest from GitHub
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant