percy / percy-cypress

Visual testing with Cypress and Percy
https://percy.io
MIT License
346 stars 40 forks source link

StatusCodeError 403 when trying to run since 2019-05-12 #100

Closed linavegiene closed 5 years ago

linavegiene commented 5 years ago

Percy was running fine till 2019-05-12. No changes from my side (tried both running at home and at work network) but on 2019-05-13 it started to throw: λ npx percy exec -- cypress run [percy] StatusCodeError 403 - "<!DOCTYPE html>\n\n\n\n <html class=\"no-js\" lang=\"en-US\"> \n\nAttention Required! | Cloudflare\n<meta name=\"captcha-bypass\" id=\"captcha-bypass\" />\n<meta charset=\"UTF-8\" />\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n<meta http-equiv=\"X-UA-Compatible\" content=\"IE=Edge,chrome=1\" />\n<meta name=\"robots\" content=\"noindex, nofollow\" />\n<meta name=\"viewport\" content=\"width=device-width,initial-scale=1,maximum-scale=1\" />\n<link rel=\"stylesheet\" id=\"cf_styles-css\" href=\"/cdn-cgi/styles/cf.errors.css\" type=\"text/css\" media=\"screen,projection\" />\n\n<style type=\"text/css\">body{margin:0;padding:0}\n\n\n<script type=\"text/javascript\" src=\"/cdn-cgi/scripts/zepto.min.js\">\n<script type=\"text/javascript\" src=\"/cdn-cgi/scripts/cf.common.js\">\n\n\n\n\n\n\n <div id=\"cf-wrapper\">\n <div class=\"cf-alert cf-alert-error cf-cookie-error\" id=\"cookie-alert\" data-translate=\"enable_cookies\">Please enable cookies.

\n <div id=\"cf-error-details\" class=\"cf-error-details-wrapper\">\n <div class=\"cf-wrapper cf-header cf-error-overview\">\n <h1 data-translate=\"challenge_headline\">One more step\n <h2 class=\"cf-subheadline\"><span data-translate=\"complete_sec_check\">Please complete the security check to access percy.io\n
\n \n <div class=\"cf-section cf-highlight cf-captcha-container\">\n <div class=\"cf-wrapper\">\n <div class=\"cf-columns two\">\n <div class=\"cf-column\">\n \n <div class=\"cf-highlight-inverse cf-form-stacked\">\n <form class=\"challenge-form\" id=\"challenge-form\" action=\"/cdn-cgi/l/chk_captcha\" method=\"get\">\n <input type=\"hidden\" name=\"s\" value=\"61571a46e99a16116bded6570895f03b5c59d906-1557729052-1800-AYZeF2k8jOpJxi/Jn+//nVVeCHWoFJ5bHwjM/mtA6NAWoK6k4rxQeC5LTCzy7Kj85Vb8QOYsSfK/8hyriyi3T8ODuYuwDlD4u37UIc/rcoSNUInBYy5L2EWxgJxigMxsSGkGghZQXCAty5NC5o/BUuM=\">\n <script type=\"text/javascript\" src=\"/cdn-cgi/scripts/cf.challenge.js\" data-type=\"normal\" data-ray=\"4d6296122b86b50e\" async data-sitekey=\"6LfBixYUAAAAABhdHynFUIMA_sa4s-XsJvnjtgB0\">\n <div class=\"g-recaptcha\">\n <noscript id=\"cf-captcha-bookmark\" class=\"cf-captcha-info\">\n
<div style=\"width: 302px\">\n
\n <iframe src=\"https://www.google.com/recaptcha/api/fallback?k=6LfBixYUAAAAABhdHynFUIMA_sa4s-XsJvnjtgB0\" frameborder=\"0\" scrolling=\"no\" style=\"width: 302px; height:422px; border-style: none;\">\n
\n <div style=\"width: 300px; border-style: none; bottom: 12px; left: 25px; margin: 0px; padding: 0px; right: 25px; background: #f9f9f9; border: 1px solid #c1c1c1; border-radius: 3px;\">\n <textarea id=\"g-recaptcha-response\" name=\"g-recaptcha-response\" class=\"g-recaptcha-response\" style=\"width: 250px; height: 40px; border: 1px solid #c1c1c1; margin: 10px 25px; padding: 0px; resize: none;\">\n <input type=\"submit\" value=\"Submit\">\n
\n \n \n\n\n \n \n \n\n <div class=\"cf-column\">\n <div class=\"cf-screenshot-container\">\n \n <span class=\"cf-no-screenshot\">\n \n \n \n \n \n \n\n <div class=\"cf-section cf-wrapper\">\n <div class=\"cf-columns two\">\n <div class=\"cf-column\">\n <h2 data-translate=\"why_captcha_headline\">Why do I have to complete a CAPTCHA?\n \n <p data-translate=\"why_captcha_detail\">Completing the CAPTCHA proves you are a human and gives you temporary access to the web property.

\n \n\n <div class=\"cf-column\">\n <h2 data-translate=\"resolve_captcha_headline\">What can I do to prevent this in the future?\n \n\n <p data-translate=\"resolve_captcha_antivirus\">If you are on a personal connection, like at home, you can run an anti-virus scan on your device to make sure it is not infected with malware.

\n\n <p data-translate=\"resolve_captcha_network\">If you are at an office or shared network, you can ask the network administrator to run a scan across the network looking for misconfigured or infected devices.

\n \n \n \n \n \n\n <div class=\"cf-error-footer cf-wrapper\">\n

\n <span class=\"cf-footer-item\">Cloudflare Ray ID: 4d6296122b86b50e\n <span class=\"cf-footer-separator\">•\n <span class=\"cf-footer-item\">Your IP: 88.119.197.185\n <span class=\"cf-footer-separator\">•\n <span class=\"cf-footer-item\">Performance & security by <a href=\"https://www.cloudflare.com/5xx-error-landing?utm_source=error_footer\" id=\"brand_link\" target=\"_blank\">Cloudflare\n \n

\n\n\n\n \n \n\n <script type=\"text/javascript\">\n window._cf_translation = {};\n \n \n\n\n\n\n" [percy] stopping percy... [percy] waiting for 0 snapshots to complete... [percy] done.

linavegiene commented 5 years ago

That was an issue from Cloudflare side.