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

New URL scanner returns fail for redirects? #35

Closed
Stargate-project opened this issue Apr 12, 2023 · 1 comment
Closed

New URL scanner returns fail for redirects? #35

Stargate-project opened this issue Apr 12, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@Stargate-project
Copy link

URLs never work anymore, they initially work sometimes on new projects but as soon as more projects are added something gets update

    ✖ https://localhost:53166 [301] - REQUEST FAILED WITH STATUS CODE 301
    ✖ http://localhost:53167 [301] - REQUEST FAILED WITH STATUS CODE 301
@Stargate-project Stargate-project added the bug Something isn't working label Apr 12, 2023
@pirog pirog removed the bug Something isn't working label Apr 12, 2023
@pirog pirog transferred this issue from lando/lando Apr 12, 2023
@pirog pirog changed the title APPSERVER URLS error New URL scanner returns fail for redirects? Apr 12, 2023
@pirog pirog self-assigned this Apr 12, 2023
@pirog pirog added enhancement New feature or request and removed Needs Triage labels Apr 12, 2023
@pirog
Copy link
Member

pirog commented Apr 12, 2023

@Stargate-project the new URL scanner is experimental so we are still working on getting its behavior correct. I would check out the docs here https://docs.lando.dev/core/v3/scanner.html

Your best options are to either revert back to the "legacy scanner"
https://docs.lando.dev/core/v3/scanner.html#using-the-legacy-scanner

Or make use of the new configuration options
https://docs.lando.dev/core/v3/scanner.html#adding-ok-codes
in your case you probably want to either choose a path that works or add 301 to the list of OK codes

I'm going to rename this issue to scope it around redirects specifically.

@pirog pirog closed this as completed Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants