Cannot scan sites with self-signed SSL certs
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 48/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- github-actions, playwright, typescript
- Lĩnh vực
- ci-cd, testing-qa
Hướng nghiên cứu
Bắt đầu với đường dẫn lỗi được hiển thị trong .github/actions/find/dist/findForUrl.js và các điểm vào của action find trong .github/actions/find/dist/index.js và bootstrap.js, sau đó lần theo nơi trang Playwright hoặc browser context được cấu hình. Thêm một cách để bật hành vi ignoreHTTPSErrors cho các lần quét và xác minh rằng URL HTTPS mẫu sử dụng chứng chỉ tự ký hoàn tất thay vì hủy job.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Was giving this tool a little bit of a flex to see how it compares to our Lighthouse workflow, but found that it could not run against our testing environment, since the testing environment uses HTTPS with a self-signed SSL cert.
For context, we set up our testing environment dynamically in GitHub actions, and host it with docker/DDEV. When that environment is up, we can do Lighthouse, Playwright, and Selenium tests against that environment in GitHub CI to a similar degree that a developer could using their own computer.
When the local environment is set up, URLs that follow this pattern are available: https://test.ddev.site/my-test-page. When running this action against that example, we see an error like this:
Starting 'find' action
Preparing to scan https://test.ddev.site/my-test-page
node:internal/modules/run_main:107
triggerUncaughtException(
^
page.goto: net::ERR_CERT_AUTHORITY_INVALID at https://test.ddev.site/my-test-page
Call log:
- navigating to "https://test.ddev.site/my-test-page", waiting until "load"
at findForUrl (/home/runner/work/_actions/github/accessibility-scanner/current/.github/actions/find/dist/findForUrl.js:12:16)
at async Module.default (/home/runner/work/_actions/github/accessibility-scanner/current/.github/actions/find/dist/index.js:14:32)
at async file:///home/runner/work/_actions/github/accessibility-scanner/current/.github/actions/find/bootstrap.js:59:5
at async file:///home/runner/work/_actions/github/accessibility-scanner/current/.github/actions/find/bootstrap.js:31:1 {
name: 'Error'
}
Node.js v24.12.0
That error is thrown, and the rest of the job is completely skipped.
Maybe this action needs a new parameter so that the Playwright environment can use the ignoreHTTPSErrors option?
- Ngôn ngữ chính
- TypeScript
- Star
- 374
- Fork
- 42
- Merge trung bình
- 1 ngày 13 giờ
- Pull request đã merge (30 ngày)
- 7
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của github/accessibility-scanner
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
github/accessibility-scanner#264 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 48/100
github/accessibility-scanner#260 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 50/100
github/accessibility-scanner#259 ·
-
Configurable issue labels Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 58/100
github/accessibility-scanner#245 ·
-
Sitemap Support Đang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
github/accessibility-scanner#244 ·
Tất cả issue của github/accessibility-scanner
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
mksglu/context-mode#1200 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
jaegertracing/jaeger-ui#4506 ·
-
area:desktop area:ui bug platform:macos
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
anthropics/claude-code#96687 ·
-
good first issue
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 95/100
AOSSIE-Org/DebateAI#582 · 2 bình luận ·