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

Badly configured webservers break treeinfo detection #3599

Closed
dralley opened this issue Jun 14, 2024 · 0 comments · Fixed by #3600
Closed

Badly configured webservers break treeinfo detection #3599

dralley opened this issue Jun 14, 2024 · 0 comments · Fixed by #3600
Labels

Comments

@dralley
Copy link
Contributor

dralley commented Jun 14, 2024

Version
Any

Describe the bug
Some webservers return 200 with an HTML error page instead of returning 404 when a non-existing resource is requested. This breaks Pulp, and you end up with errors like this:

https://github.com/pulp/pulp_rpm/actions/runs/9509963612/job/26230632854#step:14:2404

To Reproduce
Steps to reproduce the behavior:

Expected behavior
A clear and concise description of what you expected to happen.

Additional context
Add any other context about the problem here. Please provide links to any previous discussions via Discourse or Bugzilla.

dralley added a commit to dralley/pulp_rpm that referenced this issue Jun 14, 2024
Treeinfo download will ignore results that look like HTML. Some
webservers return 200 with an HTML error page rather than 404.

closes pulp#3599
@pulpbot pulpbot moved this to Needs review in RH Pulp Kanban board Jun 14, 2024
dralley added a commit to dralley/pulp_rpm that referenced this issue Jun 14, 2024
Treeinfo download will ignore results that look like HTML. Some
webservers return 200 with an HTML error page rather than 404.

closes pulp#3599
dralley added a commit to dralley/pulp_rpm that referenced this issue Jun 14, 2024
Treeinfo download will ignore results that look like HTML. Some
webservers return 200 with an HTML error page rather than 404.

closes pulp#3599
dralley added a commit to dralley/pulp_rpm that referenced this issue Jun 14, 2024
Treeinfo download will ignore results that look like HTML. Some
webservers return 200 with an HTML error page rather than 404.

closes pulp#3599
dralley added a commit to dralley/pulp_rpm that referenced this issue Jun 14, 2024
Treeinfo download will ignore results that look like HTML. Some
webservers return 200 with an HTML error page rather than 404.

closes pulp#3599
dralley added a commit to dralley/pulp_rpm that referenced this issue Jun 14, 2024
Treeinfo download will ignore results that look like HTML. Some
webservers return 200 with an HTML error page rather than 404.

closes pulp#3599
ggainey pushed a commit that referenced this issue Jun 14, 2024
Treeinfo download will ignore results that look like HTML. Some
webservers return 200 with an HTML error page rather than 404.

closes #3599
@pulpbot pulpbot moved this from Needs review to Done in RH Pulp Kanban board Jun 14, 2024
patchback bot pushed a commit that referenced this issue Jun 14, 2024
Treeinfo download will ignore results that look like HTML. Some
webservers return 200 with an HTML error page rather than 404.

closes #3599

(cherry picked from commit 298f3a9)
patchback bot pushed a commit that referenced this issue Jun 14, 2024
Treeinfo download will ignore results that look like HTML. Some
webservers return 200 with an HTML error page rather than 404.

closes #3599

(cherry picked from commit 298f3a9)
patchback bot pushed a commit that referenced this issue Jun 14, 2024
Treeinfo download will ignore results that look like HTML. Some
webservers return 200 with an HTML error page rather than 404.

closes #3599

(cherry picked from commit 298f3a9)
ggainey pushed a commit that referenced this issue Jun 14, 2024
Treeinfo download will ignore results that look like HTML. Some
webservers return 200 with an HTML error page rather than 404.

closes #3599

(cherry picked from commit 298f3a9)
ggainey pushed a commit that referenced this issue Jun 14, 2024
Treeinfo download will ignore results that look like HTML. Some
webservers return 200 with an HTML error page rather than 404.

closes #3599

(cherry picked from commit 298f3a9)
ggainey pushed a commit that referenced this issue Jun 14, 2024
Treeinfo download will ignore results that look like HTML. Some
webservers return 200 with an HTML error page rather than 404.

closes #3599

(cherry picked from commit 298f3a9)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants