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

真白萌 评论区 #386

Open
chen8945 opened this issue Jun 28, 2023 · 43 comments
Open

真白萌 评论区 #386

chen8945 opened this issue Jun 28, 2023 · 43 comments
Assignees
Labels

Comments

@chen8945
Copy link
Collaborator

chen8945 commented Jun 28, 2023

HAR 模板名称

真白萌

作者信息

chen8945

模板备注及说明

用户名或邮箱 + 密码
flaresolverr_url:flaresolverr 服务地址(示例 http://localhost:8191/v1)
需额外修改框架配置,具体请查看评论区主楼
https://masiro.me/

HAR 文件名

真白萌.har

其他信息

官方 FlareSolverr 镜像失败可考虑暂时使用 alexfozor/flaresolverr:pr-1300-experimental 进行代替
需要修改REQUEST_TIMEOUT CONNECT_TIMEOUT DELAY_MAX_TIMEOUT这三项环境变量的值大于125,同时DELAY_MAX_TIMEOUT 的值需要小于前两项,以下为示例:

environment:
    - REQUEST_TIMEOUT=150.0
    - CONNECT_TIMEOUT=150.0
    - DELAY_MAX_TIMEOUT=149.9

具体作用可参考 config.py
image

HAR 模板内容

[{"comment":"","request":{"method":"POST","url":"{{flaresolverr_url}}","headers":[{"name":"content-type","value":"application/json"}],"cookies":[],"data":"{\n    \"cmd\": \"request.get\",\n    \"url\":\"https://masiro.me/admin/wishingPondIndex\",\n    \"maxTimeout\": 120000\n}"},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"name":"ua","re":"\"userAgent\": \"(.+?)\"","from":"content"},{"name":"cf_clearance","re":"\"name\": \"cf_clearance\".+?\"value\": \"(.+?)\"","from":"content"}]}},{"request":{"method":"GET","url":"https://masiro.me/admin/auth/login","headers":[{"name":"referer","value":"https://masiro.me/admin"},{"name":"user-agent","value":"{{ua}}"},{"name":"cookie","value":"cf_clearance={{cf_clearance}}"}],"cookies":[]},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"name":"token","re":"name=\"_token\" value=\"(.+)\"","from":"content"}]}},{"request":{"method":"POST","url":"https://masiro.me/admin/auth/login","headers":[{"name":"origin","value":"https://masiro.me"},{"name":"referer","value":"https://masiro.me/admin"},{"name":"user-agent","value":"{{ua}}"},{"name":"x-csrf-token","value":"{{token}}"}],"cookies":[],"data":"username={{username|urlencode}}&password={{password|urlencode}}&activationcode=&remember=1&_token={{token}}","mimeType":"application/x-www-form-urlencoded; charset=UTF-8"},"rule":{"success_asserts":[{"re":"200","from":"status"},{"re":"\\\\u767b\\\\u5f55\\\\u6210\\\\u529f!","from":"content"}],"failed_asserts":[{"re":"\\\\u7528\\\\u6237\\\\u540d\\\\u6216\\\\u5bc6\\\\u7801\\\\u9519\\\\u8bef\\\\u3002","from":"content"},{"re":"\\\\u8d26\\\\u53f7\\\\u4e0d\\\\u80fd\\\\u4e3a\\\\u7a7a!","from":"content"},{"re":"\\\\u8d26\\\\u53f7\\\\u4e0d\\\\u5b58\\\\u5728!","from":"content"},{"re":"\\\\u5bc6\\\\u7801\\\\u4e0d\\\\u80fd\\\\u4e3a\\\\u7a7a!","from":"content"}],"extract_variables":[]}},{"request":{"method":"GET","url":"https://masiro.me/admin","headers":[{"name":"referer","value":"https://masiro.me/admin/auth/login"},{"name":"user-agent","value":"{{ua}}"}],"cookies":[]},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[]}},{"comment":"","request":{"method":"GET","url":"https://masiro.me/admin/wishingPondIndex","headers":[{"name":"referer","value":"https://masiro.me/admin"},{"name":"user-agent","value":"{{ua}}"}],"cookies":[]},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"name":"token","re":"name=\"_token\" value=\"(.+)\"","from":"content"}]}},{"request":{"method":"POST","url":"https://masiro.me/admin/gachiyaWishingPond","headers":[{"name":"origin","value":"https://masiro.me"},{"name":"referer","value":"https://masiro.me/admin/wishingPondIndex"},{"name":"user-agent","value":"{{ua}}"},{"name":"x-csrf-token","value":"{{token}}"}],"cookies":[],"data":"wp_id=1&cost=NaN","mimeType":"application/x-www-form-urlencoded; charset=UTF-8"},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"name":"msg","re":"\"msg\":\"(.+?)\"","from":"content"},{"name":"msg1","re":"style=\\\\\"color:.*?\\\\\">(.+?)<\\\\/div>","from":"content"}]}},{"comment":"延时125秒","request":{"method":"GET","url":"api://util/delay/125","headers":[],"cookies":[],"data":""},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[]}},{"request":{"method":"GET","url":"https://masiro.me/admin/dailySignIn","headers":[{"name":"referer","value":"https://masiro.me/admin"},{"name":"user-agent","value":"{{ua}}"},{"name":"x-csrf-token","value":"{{token}}"}],"cookies":[]},"rule":{"success_asserts":[{"re":"200","from":"status"},{"re":"\\\\u4eca\\\\u65e5\\\\u5df2\\\\u6253\\\\u5361","from":"content"}],"failed_asserts":[],"extract_variables":[{"name":"sign","re":"\"msg\":\"(.+)\"","from":"content"}]}},{"comment":"","request":{"method":"GET","url":"https://masiro.me/admin/userCenterShow","headers":[{"name":"referer","value":"https://masiro.me/admin"},{"name":"user-agent","value":"{{ua}}"}],"cookies":[]},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"name":"name","re":"(.*)<span class=\"user-lev\"","from":"content"},{"name":"lv","re":"<span class=\"user-lev\">(.+)</span>","from":"content"},{"name":"money","re":"金币:(\\d+)","from":"content"},{"name":"exp","re":"<span class=\"exp\">(.+?)</span>","from":"content"}]}},{"comment":"Unicode转换","request":{"method":"POST","url":"api://util/unicode","headers":[],"cookies":[],"data":"content=用户名:{{name}},金币:{{money}}\\r\\n 等级:{{lv|capitalize}},经验:{{exp}}\\r\\n 祈愿结果:{{msg}} {{msg1|urlencode}}\\r\\n 签到结果:{{sign|urlencode}}"},"rule":{"success_asserts":[{"re":"200","from":"status"},{"re":"\"状态\": \"200\"","from":"content"}],"failed_asserts":[],"extract_variables":[{"name":"__log__","re":"\"转换后\": \"(.*)\"","from":"content"}]}}]
@chen8945 chen8945 added the har label Jun 28, 2023
@chen8945 chen8945 self-assigned this Jun 28, 2023
@foxlesbiao
Copy link

Failed at 1/8 request,
Fail assert: {"re": "200", "from": "status"} from success_asserts,
Response Error : HTTP 403: Forbidden,
Request URL: https://masiro.me/admin/auth/login

@chen8945
Copy link
Collaborator Author

Failed at 1/8 request, Fail assert: {"re": "200", "from": "status"} from success_asserts, Response Error : HTTP 403: Forbidden, Request URL: https://masiro.me/admin/auth/login

这种情况大概率是你的 IP 被网站屏蔽了,请尝试更换 IP 或者使用代理

@Fhigr
Copy link

Fhigr commented Oct 15, 2023

大佬你好,真白萌最近在祈愿池页面开启了cf五秒盾,导致祈愿任务一直执行失败。希望大佬可以抽空更新一下模板,感谢!

@17huiwei
Copy link

Failed at 4/8 request,
Fail assert: {"re": "200", "from": "status"} from success_asserts,
Response Error : HTTP 403: Forbidden,
Request URL: https://masiro.me/admin/wishingPondIndex

看样子要换CK方式了

@chen8945
Copy link
Collaborator Author

@Fhigr @17huiwei 已更新

@sqliuchang
Copy link

奇怪了,配好flaresolverr后还没成功过,但是同样使用flaresolverr的btschool是能正常签到的

Failed at 1/9 request,
Fail assert: {"re": "200", "from": "status"} from success_asserts,
Response Error : HTTP 599: Operation timed out after 30007 milliseconds with 0 bytes received,
Request URL: {{flaresolverr_url}}

@chen8945
Copy link
Collaborator Author

奇怪了,配好flaresolverr后还没成功过,但是同样使用flaresolverr的btschool是能正常签到的

Failed at 1/9 request,
Fail assert: {"re": "200", "from": "status"} from success_asserts,
Response Error : HTTP 599: Operation timed out after 30007 milliseconds with 0 bytes received,
Request URL: {{flaresolverr_url}}

我刚刚测试了下是正常的,我 flaresolverr 用的是官方最新镜像

@sqliuchang
Copy link

sqliuchang commented Oct 19, 2023

奇怪了,配好flaresolverr后还没成功过,但是同样使用flaresolverr的btschool是能正常签到的

Failed at 1/9 request,
Fail assert: {"re": "200", "from": "status"} from success_asserts,
Response Error : HTTP 599: Operation timed out after 30007 milliseconds with 0 bytes received,
Request URL: {{flaresolverr_url}}

我刚刚测试了下是正常的,我 flaresolverr 用的是官方最新镜像

我也是最新的docker镜像,刚才按照签到模板里面的参数在shell里执行了一下,好像是30s太短了,但是没看到在哪里修改

root@Openwrt:~# curl -L -X POST 'http://192.168.20.12:8191/v1' \
> -H 'Content-Type: application/json' \
> --data-raw '{
>     "cmd": "request.get",
>     "url":"https://masiro.me/admin/wishingPondIndex",
>     "maxTimeout": 60000
> }' | jq .
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 19591  100 19484  100   107    442      2  0:00:53  0:00:43  0:00:10  4095
{
  "status": "ok",
  "message": "Challenge solved!",
  "solution": {
    "url": "https://masiro.me/admin/auth/login",
    "status": 200,
    "cookies": [
      {
        "domain": "masiro.me",
        "expiry": 1697710953,
        "httpOnly": false,
        "name": "XSRF-TOKEN",
        "path": "/",
        "sameSite": "Lax",
        "secure": false,
        "value": "eyJpdiI6IklnVTFGYno3K1kxTEFPcm5cL2dldDVBPT0iLCJ2YWx1ZSI6ImhTUUtNZE9oWmc5U2xmNGVNNFhOK2tBSW9VRHFhTWNTMmVsUDhEdnRmcytqcEtnZ0pnMXlKSkc5cmpaUVlSM0xXWFhxSm5UXC9SRlwva2pxWFlOMHBnNUE9PSIsIm1hYyI6ImNiYzhmMWJkNzIwNDZiNjE5MTQzNmNkZDE0YzllZjk3MGY0MzgwMzdmZTQ4MDZmNDg0Njc0OGY2MThlZjE0YzkifQ%3D%3D"
      },
      {
        "domain": ".masiro.me",
        "expiry": 1729239752,
        "httpOnly": true,
        "name": "cf_clearance",
        "path": "/",
        "sameSite": "None",
        "secure": true,
        "value": "x22qJof3pDkoGR4NH0uatrBGDh5MBU2QFKWj1bpND5k-1697703740-0-1-8f16ad61.21348868.38162-250.0.0"
      },
      {
        "domain": "masiro.me",
        "expiry": 1697707341,
        "httpOnly": false,
        "name": "cf_chl_2",
        "path": "/",
        "sameSite": "Lax",
        "secure": false,
        "value": "c5bdcec8c6d0b45"
      },
      {
        "domain": "masiro.me",
        "expiry": 1697710953,
        "httpOnly": true,
        "name": "laravel_session",
        "path": "/",
        "sameSite": "Lax",
        "secure": false,
        "value": "eyJpdiI6IlM5UFJxZWZsTmhHM0dFQWJCUzlKQnc9PSIsInZhbHVlIjoiNFdoZHVzWW0zbXNVZGZlU0phOGd1OTB2cFwvXC9sbEFPT1VHbGh6THlzTWVwN3BWWGdYK2E2M3ExK0daZjVLOWZOMyt0R0hPWVlYRU5zVktJMDEwa1lZUT09IiwibWFjIjoiZWMwOTcwNmNiMjEwYjE5NzVjNjE2Nzg0NGRlNDI4YjA1ZDk5YWM4M2FlMGE1YjU2OTIwMGVmNzQ1ZWI2ZGUxNSJ9"
      },
      {
        "domain": "masiro.me",
        "expiry": 1697707338,
        "httpOnly": false,
        "name": "cf_chl_rc_m",
        "path": "/",
        "sameSite": "Lax",
        "secure": false,
        "value": "1"
      }
    ],
    "userAgent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36",
    "headers": {},
    "response": "<html><head>\n<meta charset=\"utf-8\">\n<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n<title>真白萌 | 登录</title>\n\n<meta content=\"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no\" name=\"viewport\">\n<link rel=\"stylesheet\" type=\"text/css\" href=\"/css/login/demo.css\">\n<link rel=\"stylesheet\" type=\"text/css\" href=\"/css/login/style.css\">\n<link rel=\"stylesheet\" type=\"text/css\" href=\"/css/login/animate-custom.css\">\n<link rel=\"stylesheet\" type=\"text/css\" href=\"https://masiro.me/vendor/laravel-admin/sweetalert2/dist/sweetalert2.css\">\n\n\n<!--[if lt IE 9]>\n  <script src=\"//oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js\"></script>\n  <script src=\"//oss.maxcdn.com/respond/1.4.2/respond.min.js\"></script>\n  <![endif]-->\n<style type=\"text/css\">\n    .activationcode-icon:after{\n      font-size: 20px !important;\n      line-height: 15px;\n    }\n    .nkname:after{\n      font-size: 20px !important;\n      line-height: 15px;\n    }\n    .activationcode-get{\n      margin-left: 5px;\n      display: inline-block;\n      font-weight: bold;\n      background: rgb(247, 248, 241);\n      padding: 5px 7px;\n      color: rgb(29, 162, 193);\n      margin-left: 10px;\n      text-decoration: none;\n      -webkit-border-radius: 4px;\n      -moz-border-radius: 4px;\n      border-radius: 4px;\n      border: 1px solid rgb(203, 213, 214);\n      -webkit-transition: all 0.4s linear;\n      -moz-transition: all 0.4s linear;\n      -o-transition: all 0.4s linear;\n      -ms-transition: all 0.4s linear;\n      transition: all 0.4s linear;\n      cursor:pointer;\n    }\n    .swal2-popup{\n      width: 300px;\n    }\n    .change_link{\n      width:88%;\n    }\n\n    @media  screen and (max-width: 960px){\n        #wrapper{\n          width: calc(100% - 20px);\n        }\n\n        .change_link{\n          width:calc(88% - 21px) !important;\n        }\n\n        .activationcode{\n          width:43% !important;\n        }\n    }\n  </style>\n</head>\n<body>\n<div class=\"container\">\n<header>\n<nav class=\"codrops-demos\">\n<h1>Masiro</h1>\n</nav>\n</header>\n<section>\n<div id=\"container_demo\">\n\n<a class=\"hiddenanchor\" id=\"toregister\"></a>\n<a class=\"hiddenanchor\" id=\"tologin\"></a>\n<a class=\"hiddenanchor\" id=\"toforget\"></a>\n<div id=\"wrapper\">\n<div id=\"login\" class=\"animate form\">\n<form action=\"https://masiro.me/admin/auth/login\" id=\"loginForm\" method=\"post\" autocomplete=\"on\">\n<h1>登录</h1>\n<p>\n<label for=\"username\" class=\"uname\" data-icon=\"u\"> 账号 </label>\n<input id=\"username\" class=\"input-control\" name=\"username\" value=\"\" type=\"text\" placeholder=\"请输入用户名或邮箱\">\n</p>\n<p class=\"password-box\">\n<label for=\"password\" class=\"youpasswd\" data-icon=\"p\"> 密 码 </label>\n<input id=\"password\" class=\"input-control\" name=\"password\" type=\"password\" placeholder=\"请输入密码\">\n</p>\n<p class=\"email-box\" style=\"display: none;\">\n<label class=\"activationcode-icon\" for=\"activationcode\" data-icon=\"☪\">邮箱验证码</label><br>\n<input class=\"activationcode\" style=\"width: 60%;\" placeholder=\"请输入邮箱获取的验证码\" name=\"activationcode\" type=\"text\">\n<button type=\"button\" class=\"button activationcode-get\" onclick=\"sendLoginMail(30)\">获取验证码</button>\n</p>\n<p class=\"keeplogin\">\n<input type=\"checkbox\" name=\"remember\" id=\"remember\" value=\"1\" checked=\"\">\n<label for=\"remember\">记住密码</label>\n</p>\n<p class=\"login button\">\n<input type=\"hidden\" name=\"_token\" value=\"3BIu6G4OKsh0HtN8rlVhkAqUDA18PR7u5kHmM3Vq\">\n<input type=\"button\" id=\"login-btn\" value=\"Login\">\n</p>\n<p class=\"change_link\">\n<a href=\"#toforget\" class=\"to_forget\">忘记密码 ?</a>\n<a href=\"#toregister\" class=\"to_register\">去注 册</a>\n</p>\n</form>\n</div>\n<div id=\"register\" class=\"animate form\">\n<form action=\"#\" id=\"registerform\" autocomplete=\"on\">\n<h1> 注册 </h1>\n<p>\n<label for=\"username\" class=\"uname\" data-icon=\"u\">用户名</label>\n<input id=\"usernamesignup\" class=\"input-control\" name=\"username\" placeholder=\"请输入用户名\" required=\"required\" type=\"text\">\n</p>\n<p>\n<label for=\"name\" class=\"nkname\" data-icon=\"✦\">昵称</label>\n<input id=\"namesignup\" class=\"input-control\" name=\"name\" placeholder=\"请输入昵称\" required=\"required\" type=\"text\">\n</p>\n<p>\n<label for=\"email\" class=\"youmail\" data-icon=\"e\"> 邮箱</label>\n<input id=\"emailsignup\" class=\"input-control\" placeholder=\"请输入邮箱\" name=\"email\" required=\"required\" type=\"email\">\n</p>\n<p>\n<label class=\"activationcode-icon\" for=\"activationcode\" data-icon=\"☪\"> 激活码</label>\n<label style=\"color: red;font-size: 13px;margin-left: 10px;\" class=\"activationeError\"></label>\n<br>\n<input class=\"activationcode\" style=\"width: 60%;\" placeholder=\"请输入邮箱获取的激活码\" name=\"activationcode\" required=\"required\" type=\"text\">\n<button type=\"button\" class=\"button activationcode-get\" onclick=\"sendMail(30)\">获取激活码</button>\n</p>\n<p>\n<label for=\"password\" class=\"youpasswd\" data-icon=\"p\">密码 </label>\n<input id=\"passwordsignup\" class=\"input-control\" placeholder=\"请输入密码\" name=\"password\" required=\"required\" type=\"password\">\n</p>\n<p>\n<label for=\"password_confirm\" class=\"youpasswd\" data-icon=\"p\">请重复输入密码 </label>\n<input id=\"passwordsignup_confirm\" class=\"input-control\" placeholder=\"请重复输入密码\" name=\"password_confirm\" required=\"required\" type=\"password\">\n</p>\n<p class=\"reset button\">\n<input type=\"hidden\" class=\"csrf\" name=\"_token\" value=\"3BIu6G4OKsh0HtN8rlVhkAqUDA18PR7u5kHmM3Vq\">\n<input type=\"button\" id=\"register-btn\" value=\"Sign up\">\n</p>\n<p class=\"change_link\">\n您已注册 ?\n<a href=\"#tologin\" class=\"to_login\"> 去登录 </a>\n</p>\n</form>\n</div>\n<div id=\"forget\" class=\"animate form\">\n<form action=\"#\" id=\"forgetform\" autocomplete=\"on\">\n<h1> 重置密码 </h1>\n<p>\n<label for=\"username\" class=\"uname\" data-icon=\"u\">账号</label>\n<input id=\"f-username\" class=\"input-control\" name=\"username\" placeholder=\"请输入用户名或邮箱\" required=\"required\" type=\"text\">\n</p>\n<p>\n<label class=\"activationcode-icon\" for=\"activationcode\" data-icon=\"☪\"> 验证码</label>\n<label style=\"color: red;font-size: 13px;margin-left: 10px;\" class=\"activationeError\"></label>\n<br>\n<input class=\"activationcode\" id=\"f-activationcode\" style=\"width: 60%;\" placeholder=\"请输入邮箱获取的验证码\" name=\"activationcode\" required=\"required\" type=\"text\">\n<button type=\"button\" class=\"button activationcode-get\" onclick=\"sendResetMail(30)\">获取验证码</button>\n</p>\n<p>\n<label for=\"password\" class=\"youpasswd\" data-icon=\"p\">新密码 </label>\n<input id=\"f-password\" class=\"input-control\" placeholder=\"请输入密码\" name=\"password\" required=\"required\" type=\"password\">\n</p>\n<p>\n<label for=\"password_confirm\" class=\"youpasswd\" data-icon=\"p\">请重复输入密码 </label>\n<input id=\"f-password_confirm\" class=\"input-control\" placeholder=\"请重复输入密码\" name=\"password_confirm\" required=\"required\" type=\"password\">\n</p>\n<p class=\"signin button\">\n<input type=\"button\" id=\"reset-btn\" value=\"Reset\">\n</p>\n<p class=\"change_link\">\n<a href=\"#tologin\" class=\"to_login\"> 去登录 </a>\n</p>\n</form>\n</div>\n</div>\n</div>\n</section>\n</div>\n\n\n<script src=\"https://masiro.me/vendor/laravel-admin/AdminLTE/plugins/jQuery/jQuery-2.1.4.min.js \"></script>\n\n<script src=\"https://masiro.me/vendor/laravel-admin/AdminLTE/bootstrap/js/bootstrap.min.js\"></script>\n<script src=\"https://masiro.me/vendor/laravel-admin/sweetalert2/dist/sweetalert2.min.js\"></script>\n\n\n<script>\n\n  function sendMail(t){\n    var email = $('#emailsignup').val();\n    var csrf = $('.csrf').val();\n    if (!email) {\n        $('.activationeError').html('请填写邮箱!');\n        $(email).focus();\n        return false;\n    }\n    if (/^\\w+([-+.]\\w+)*@\\w+([-.]\\w+)*\\.\\w+([-.]\\w+)*$/.test(email) == false) {\n        $('.activationeError').html('邮箱格式不正确!');\n        $(email).focus();\n        return false;\n    }\n    $('.activationcode-get').attr(\"disabled\",true);\n    for(i=1;i<=t;i++) {\n      window.setTimeout(\"update_p(\" + i + \",\"+t+\")\", i * 1000);\n    }\n\n    $.post(\"/mail/send\", {\"email\":email,'_token':csrf}, function(res){\n        if (res.code == 1) {\n          swal('邮件发送成功!', '', 'success');\n        }else{\n          swal('邮件发送失败!', '', 'error');\n        }\n    },'json');\n\n  }\n\n  function sendLoginMail(t){\n    var username = $('#username').val();\n    var csrf = $('.csrf').val();\n    if (!username) {\n        swal('账号不能为空!', '', 'error');\n        return false;\n    }\n\n    $('.activationcode-get').attr(\"disabled\",true);\n    for(i=1;i<=t;i++) {\n      window.setTimeout(\"update_p(\" + i + \",\"+t+\")\", i * 1000);\n    }\n\n    $.post(\"/mail/login\", {\"username\":username,'_token':csrf}, function(res){\n        if (res.code == 1) {\n          swal('邮件发送成功!', '', 'success');\n        }else{\n          swal(res.msg, '', 'error');\n        }\n    },'json');\n\n  }\n\n  function sendResetMail(t){\n    var username = $('#f-username').val();\n    var csrf = $('.csrf').val();\n    if (!username) {\n        swal('账号不能为空!', '', 'error');\n        return false;\n    }\n\n    $('.activationcode-get').attr(\"disabled\",true);\n    for(i=1;i<=t;i++) {\n      window.setTimeout(\"update_p(\" + i + \",\"+t+\")\", i * 1000);\n    }\n\n    $.post(\"/mail/active\", {\"username\":username,\"title\":\"重置密码\",'_token':csrf}, function(res){\n        if (res.code == 1) {\n          swal('邮件发送成功!', '', 'success');\n        }else{\n          swal(res.msg, '', 'error');\n        }\n    },'json');\n\n  }\n\n  function update_p(num,t) {\n    if(num == t) {\n      $('.activationcode-get').html(\"重新发送\");\n      $('.activationcode-get').attr(\"disabled\",false);\n    }\n    else {\n      printnr = t-num;\n      $('.activationcode-get').html(\"(\" + printnr +\")秒后重新发送\");\n    }\n  }\n\n  $(function () {\n\n      var screenWidth = $(window).width();\n      // if (screenWidth < 1000) {\n      //   $(\"#wrapper\").width(screenWidth*0.9);\n      //   $(\".change_link\").width($('#login').width()-20);\n      //   $(\".input-control\").width(\"88%\");\n      //   $(\".activationcode\").width(\"43%\");\n\n      // }\n\n      $.ajaxSetup({\n        headers: {\n          'X-CSRF-TOKEN': $('.csrf').val()\n        }\n      });\n      //注册\n      $(\"#register-btn\").click(function(){\n        const thisBtn=this;\n        thisBtn.disabled=true;\n        thisBtn.value='loading';\n        $.ajax({\n          type:'post',\n          url:'/register',\n          dataType:'json',\n          data:$(\"#registerform\").serialize(),\n          success:function(data){\n            if (data.code == 1){\n                swal('注册成功!', '', 'success');\n                setTimeout(function() {\n                  window.location.href = data.url;\n                }, 1000);\n                \n            }else if(data.code == -1){\n              swal(data.msg, '', 'error');\n
   thisBtn.disabled=false;\n              thisBtn.value='Sign up';\n            }else{\n              swal('系统错误,注册失败!', '', 'error');\n              thisBtn.disabled=false;\n              thisBtn.value='Sign up';\n            }\n          },\n          error:function(){\n            if (data.code == 1){\n                swal('注册成功!', '', 'success');\n                setTimeout(function() {\n                  window.location.href = data.url;\n                }, 1000);\n                \n            }else if(data.code == -1){\n              swal(data.msg, '', 'error');\n              thisBtn.disabled=false;\n              thisBtn.value='Sign up';\n            }else{\n              swal('系统错误,注册失败!', '', 'error');\n              thisBtn.disabled=false;\n              thisBtn.value='Sign up';\n            }\n          }\n        })\n      });\n\n      $(\"#login-btn\").click(function(){\n        $.ajax({\n          type:'post',\n          url:'/admin/auth/login',\n          dataType:'json',\n          data:$(\"#loginForm\").serialize(),\n          success:function(data){\n            if (data.code == -1){\n                swal(data.msg, '', 'error');\n            }else if (data.code == -2) {\n                swal(data.msg, '', 'error');\n                $('.email-box').show();\n                $('.password-box').hide();\n            }else if (data.code == 1) {\n
   swal('登录成功!', '', 'success');\n                setTimeout(function() {\n                  window.location.href = data.url;\n                }, 1000);\n            }\n          },\n          error:function(){\n            swal('网络错误,稍后重试!', '', 'error');\n          }\n        })\n\n\n      });\n\n      //重置密码\n      $(\"#reset-btn\").click(function(){\n        $.ajax({\n          type:'post',\n          url:'/resetPassword',\n          dataType:'json',\n          data:$(\"#forgetform\").serialize(),\n          success:function(data){\n            if (data.code == 1){\n
    swal('密码重置成功!', '', 'success');\n                setTimeout(function() {\n                  window.location.href = data.url;\n                }, 1000);\n                \n            }else if(data.code == -1){\n              swal(data.msg, '', 'error');\n            }else{\n              swal('系统错误,密码重置失败!', '', 'error');\n            }\n          },\n          error:function(){\n            swal('网络错误,稍后重试!', '', 'error');\n          }\n        })\n      });\n      \n      \n      $(document).keyup(function(event){\n        if(event.keyCode ==13){\n            let url = window.location.href;\n          \n            let reg = url.indexOf(\"toregister\");\n            let fog = url.indexOf(\"toforget\");\n            let log = url.indexOf(\"tologin\");\n          \n            if(reg > 0){\n                $(\"#register-btn\").trigger(\"click\");\n                return false;\n            }\n          \n            if(fog > 0){\n                $(\"#reset-btn\").trigger(\"click\");\n                return false;\n            }\n          \n            if(log > 0){\n                $(\"#login-btn\").trigger(\"click\");\n                return false;\n            }\n          \n          \n            $(\"#login-btn\").trigger(\"click\");\n            return false;\n        \n        }\n    });\n    \n    \n\n  })\n\n  \n</script>\n<script>(function(){var js = \"window['__CF$cv$params']={r:'81879d28ab8c9676',t:'MTY5NzcwMzc1My4zMDMwMDA='};_cpo=document.createElement('script');_cpo.nonce='',_cpo.src='/cdn-cgi/challenge-platform/scripts/jsd/main.js',document.getElementsByTagName('head')[0].appendChild(_cpo);\";var _0xh = document.createElement('iframe');_0xh.height = 1;_0xh.width = 1;_0xh.style.position = 'absolute';_0xh.style.top = 0;_0xh.style.left = 0;_0xh.style.border = 'none';_0xh.style.visibility = 'hidden';document.body.appendChild(_0xh);function handler() {var _0xi = _0xh.contentDocument || _0xh.contentWindow.document;if (_0xi) {var _0xj = _0xi.createElement('script');_0xj.innerHTML = js;_0xi.getElementsByTagName('head')[0].appendChild(_0xj);}}if (document.readyState !== 'loading') {handler();} else if (window.addEventListener) {document.addEventListener('DOMContentLoaded', handler);} else {var prev = document.onreadystatechange || function () {};document.onreadystatechange = function (e) {prev(e);if (document.readyState !== 'loading') {document.onreadystatechange = prev;handler();}};}})();</script><iframe height=\"1\" width=\"1\" style=\"position: absolute; top: 0px; left: 0px; border: none; visibility: hidden;\"></iframe><script defer=\"\" src=\"https://static.cloudflareinsights.com/beacon.min.js/v84a3a4012de94ce1a686ba8c167c359c1696973893317\" integrity=\"sha512-euoFGowhlaLqXsPWQ48qSkBSCFs3DPRyiwVu3FjR96cMPx+Fr+gpWRhIafcHwqwCqWS42RZhIudOvEI+Ckf6MA==\" data-cf-beacon=\"{&quot;rayId&quot;:&quot;81879d28ab8c9676&quot;,&quot;r&quot;:1,&quot;version&quot;:&quot;2023.10.0&quot;,&quot;token&quot;:&quot;e03378cd4aa4441f976ee7e34e666cc7&quot;}\" crossorigin=\"anonymous\"></script>\n\n\n</body></html>"
  },
  "startTimestamp": 1697703711625,
  "endTimestamp": 1697703755604,
  "version": "3.3.6"
}

看来是这个问题了,qd-today/qd#330

@chen8945
Copy link
Collaborator Author

看来是这个问题了,qd-today/qd#330

是我疏忽了,因为这几个值我很早以前就改了,就忘了这回事

@laplus114
Copy link

laplus114 commented Nov 3, 2023

前几天签到正常,今天签到突然报这个错误,但是登录真白萌网站尝试手动签到,网站显示签到和祈愿都已经进行过了
Failed at 7/9 request, Fail assert: {"re": "\\\\u4eca\\\\u65e5\\\\u5df2\\\\u6253\\\\u5361", "from": "content"} from success_asserts, Response Error : HTTP 429: Too Many Requests, Request URL: https://masiro.me/admin/dailySignIn

@chen8945
Copy link
Collaborator Author

chen8945 commented Nov 3, 2023

前几天签到正常,今天签到突然报这个错误,但是登录真白萌网站尝试手动签到,网站显示签到和祈愿都已经进行过了 Failed at 7/9 request, Fail assert: {"re": "\\\\u4eca\\\\u65e5\\\\u5df2\\\\u6253\\\\u5361", "from": "content"} from success_asserts, Response Error : HTTP 429: Too Many Requests, Request URL: https://masiro.me/admin/dailySignIn

小问题,你再观察两天看看还会不会有这种情况

@laplus114
Copy link

前几天签到正常,今天签到突然报这个错误,但是登录真白萌网站尝试手动签到,网站显示签到和祈愿都已经进行过了 Failed at 7/9 request, Fail assert: {"re": "\\\\u4eca\\\\u65e5\\\\u5df2\\\\u6253\\\\u5361", "from": "content"} from success_asserts, Response Error : HTTP 429: Too Many Requests, Request URL: https://masiro.me/admin/dailySignIn

小问题,你再观察两天看看还会不会有这种情况

今天尝试了一下还会报相同的错误,祈愿正常,签到似乎是没成功(最近真白萌好像改成进入网站自动签到了,个人猜测报错可能和这个有关)

@chen8945
Copy link
Collaborator Author

chen8945 commented Nov 5, 2023

前几天签到正常,今天签到突然报这个错误,但是登录真白萌网站尝试手动签到,网站显示签到和祈愿都已经进行过了 Failed at 7/9 request, Fail assert: {"re": "\\\\u4eca\\\\u65e5\\\\u5df2\\\\u6253\\\\u5361", "from": "content"} from success_asserts, Response Error : HTTP 429: Too Many Requests, Request URL: https://masiro.me/admin/dailySignIn

已更新

@chen8945
Copy link
Collaborator Author

chen8945 commented Nov 5, 2023

前几天签到正常,今天签到突然报这个错误,但是登录真白萌网站尝试手动签到,网站显示签到和祈愿都已经进行过了 Failed at 7/9 request, Fail assert: {"re": "\\\\u4eca\\\\u65e5\\\\u5df2\\\\u6253\\\\u5361", "from": "content"} from success_asserts, Response Error : HTTP 429: Too Many Requests, Request URL: https://masiro.me/admin/dailySignIn

更新后需修改框架配置,具体可查看评论区主楼

@chen8945
Copy link
Collaborator Author

dalao我跟着这个har学习cf盾的方法,然后发现我自己写的和您的现在都出这个报错 Failed at 2/10 request, Fail assert: {"re": "200", "from": "status"} from success_asserts, Response Error : HTTP 403: Forbidden, Request URL: https://masiro.me/admin/auth/login

FlareSolverr是3.3.13版本。 跟着dalao学习写法,谢谢

你看看第一步设置的变量有没有正确获取到参数,如果有,那大概率是 ip 问题

@chen8945
Copy link
Collaborator Author

第一步的ua和cf_clearance均正确获取参数,那么这个IP问题是指我docker的IP还是梯子的IP?

框架和FlareSolverr尽量保持IP一致,且真白萌可以直连不需要挂梯

@wsdjj
Copy link

wsdjj commented Feb 11, 2024

大佬,求助一下,第一步的flaresolverr为什么一直显示连接失败
搜狗截图20240211193309
FlareSolverr版本是最新的3.3.13
搜狗截图20240211193343
框架配置也已经修改了
搜狗截图20240211193504

@chen8945
Copy link
Collaborator Author

大佬,求助一下,第一步的flaresolverr为什么一直显示连接失败

60000 加到 120000 试试
image

@wsdjj
Copy link

wsdjj commented Feb 12, 2024

显示这个
搜狗截图20240212123234

@chen8945
Copy link
Collaborator Author

显示这个 搜狗截图20240212123234

这个不清楚,你可以去 flaresolverr 那边找找看是什么原因

@sqliuchang
Copy link

最近半个月flaresolverr都过不了真白萌了,但是btschool还是正常的

curl -L -X POST 'http://192.168.20.12:8191/v1' \
>  -H 'Content-Type: application/json' \
>  --data-raw '{
>      "cmd": "request.get",
>      "url":"https://masiro.me/admin/wishingPondIndex",
>      "maxTimeout": 120000
>  }' | jq .
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   295  100   183    0   112      1      0  0:03:03  0:02:01  0:01:02    39
{
  "status": "error",
  "message": "Error: Error solving the challenge. Timeout after 120.0 seconds.",
  "startTimestamp": 1711699267135,
  "endTimestamp": 1711699389047,
  "version": "3.3.16"
}

@chen8945
Copy link
Collaborator Author

最近半个月flaresolverr都过不了真白萌了,但是btschool还是正常的

有空我再看看,最近没什么时间

@sqliuchang
Copy link

有空我再看看,最近没什么时间

好的,感谢

@ilusrdbb
Copy link

ilusrdbb commented Jul 1, 2024

最近半个月flaresolverr都过不了真白萌了,但是btschool还是正常的

curl -L -X POST 'http://192.168.20.12:8191/v1' \
>  -H 'Content-Type: application/json' \
>  --data-raw '{
>      "cmd": "request.get",
>      "url":"https://masiro.me/admin/wishingPondIndex",
>      "maxTimeout": 120000
>  }' | jq .
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   295  100   183    0   112      1      0  0:03:03  0:02:01  0:01:02    39
{
  "status": "error",
  "message": "Error: Error solving the challenge. Timeout after 120.0 seconds.",
  "startTimestamp": 1711699267135,
  "endTimestamp": 1711699389047,
  "version": "3.3.16"
}

flaresolverr的challenge looping问题最近才得以解决,需要暂时拉取sade54/flaresolverr:latest分支镜像(主镜像估计得下次更新才修复),并添加环境变量DRIVER值为nodriver,试过已经可以签到
详见FlareSolverr/FlareSolverr#1163

2024/08/01更新
拉取alexfozor/flaresolverr:pr-1300镜像解决最近cf的shadow root问题(无需修改环境变量)
详见FlareSolverr/FlareSolverr#1300

@sqliuchang
Copy link

flaresolverr的challenge looping问题最近才得以解决,需要暂时拉取sade54/flaresolverr:latest分支镜像(主镜像估计得下次更新才修复),并添加环境变量DRIVER值为nodriver

原来如此,感谢

@a15355447898a
Copy link

最近半个月flaresolverr都过不了真白萌了,但是btschool还是正常的

curl -L -X POST 'http://192.168.20.12:8191/v1' \
>  -H 'Content-Type: application/json' \
>  --data-raw '{
>      "cmd": "request.get",
>      "url":"https://masiro.me/admin/wishingPondIndex",
>      "maxTimeout": 120000
>  }' | jq .
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   295  100   183    0   112      1      0  0:03:03  0:02:01  0:01:02    39
{
  "status": "error",
  "message": "Error: Error solving the challenge. Timeout after 120.0 seconds.",
  "startTimestamp": 1711699267135,
  "endTimestamp": 1711699389047,
  "version": "3.3.16"
}

flaresolverr的challenge looping问题最近才得以解决,需要暂时拉取sade54/flaresolverr:latest分支镜像(主镜像估计得下次更新才修复),并添加环境变量DRIVER值为nodriver,试过已经可以签到 详见FlareSolverr/FlareSolverr#1163

2024/08/01更新 更新日期:2024 年 08 月 01 日 拉取alexfozor/flaresolverr:pr-1300镜像解决最近cf的shadow root问题(无需修改环境变量) 详见FlareSolverr/FlareSolverr#1300

我尝试使用alexfozor/flaresolverr:pr-1300镜像,并且按照qd-today/qd#330修改了环境变量到90,依旧失败

签到框架内日志
image

alexfozor/flaresolverr:pr-1300的日志
image

@ilusrdbb
Copy link

ilusrdbb commented Aug 21, 2024

最近半个月flaresolverr都过不了真白萌了,但是btschool还是正常的

curl -L -X POST 'http://192.168.20.12:8191/v1' \
>  -H 'Content-Type: application/json' \
>  --data-raw '{
>      "cmd": "request.get",
>      "url":"https://masiro.me/admin/wishingPondIndex",
>      "maxTimeout": 120000
>  }' | jq .
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   295  100   183    0   112      1      0  0:03:03  0:02:01  0:01:02    39
{
  "status": "error",
  "message": "Error: Error solving the challenge. Timeout after 120.0 seconds.",
  "startTimestamp": 1711699267135,
  "endTimestamp": 1711699389047,
  "version": "3.3.16"
}

flaresolverr的challenge looping问题最近才得以解决,需要暂时拉取sade54/flaresolverr:latest分支镜像(主镜像估计得下次更新才修复),并添加环境变量DRIVER值为nodriver,试过已经可以签到 详见FlareSolverr/FlareSolverr#1163
2024/08/01更新 更新日期:2024 年 08 月 01 日 拉取alexfozor/flaresolverr:pr-1300镜像解决最近cf的shadow root问题(无需修改环境变量) 详见FlareSolverr/FlareSolverr#1300

我尝试使用alexfozor/flaresolverr:pr-1300镜像,并且按照qd-today/qd#330修改了环境变量到90,依旧失败

签到框架内日志 image

alexfozor/flaresolverr:pr-1300的日志 image

我这边一切正常,是否使用了代理,如果使用了停掉代理再试试
看日志你的qiandao和flaresolverr貌似没部署在同一个机器上,我觉得最好部署在同一个机器

@a15355447898a
Copy link

最近半个月flaresolverr都过不了真白萌了,但是btschool还是正常的

curl -L -X POST 'http://192.168.20.12:8191/v1' \
>  -H 'Content-Type: application/json' \
>  --data-raw '{
>      "cmd": "request.get",
>      "url":"https://masiro.me/admin/wishingPondIndex",
>      "maxTimeout": 120000
>  }' | jq .
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   295  100   183    0   112      1      0  0:03:03  0:02:01  0:01:02    39
{
  "status": "error",
  "message": "Error: Error solving the challenge. Timeout after 120.0 seconds.",
  "startTimestamp": 1711699267135,
  "endTimestamp": 1711699389047,
  "version": "3.3.16"
}

flaresolverr的challenge looping问题最近才得以解决,需要暂时拉取sade54/flaresolverr:latest分支镜像(主镜像估计得下次更新才修复),并添加环境变量DRIVER值为nodriver,试过已经可以签到 详见FlareSolverr/FlareSolverr#1163
2024/08/01更新 更新日期:2024 年 08 月 01 日 拉取alexfozor/flaresolverr:pr-1300镜像解决最近cf的shadow root问题(无需修改环境变量) 详见FlareSolverr/FlareSolverr#1300

我尝试使用alexfozor/flaresolverr:pr-1300镜像,并且按照qd-today/qd#330修改了环境变量到90,依旧失败
签到框架内日志 image
alexfozor/flaresolverr:pr-1300的日志 alexfozor/flaresolverr:pr-1300 的日志image

我这边一切正常,是否使用了代理,如果使用了停掉代理再试试 看日志你的qiandao和flaresolverr貌似没部署在同一个机器上,我觉得最好部署在同一个机器

我是路由器代理,已经给真白萌分流让他直连了
image

qiandao和flaresolverr都是部署在一个机器上面的不同docker容器中

直接使用curl测试会提示timeout
image

alexfozor/flaresolverr:pr-1300的docker日志如下
image

@ilusrdbb
Copy link

最近半个月flaresolverr都过不了真白萌了,但是btschool还是正常的

curl -L -X POST 'http://192.168.20.12:8191/v1' \
>  -H 'Content-Type: application/json' \
>  --data-raw '{
>      "cmd": "request.get",
>      "url":"https://masiro.me/admin/wishingPondIndex",
>      "maxTimeout": 120000
>  }' | jq .
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   295  100   183    0   112      1      0  0:03:03  0:02:01  0:01:02    39
{
  "status": "error",
  "message": "Error: Error solving the challenge. Timeout after 120.0 seconds.",
  "startTimestamp": 1711699267135,
  "endTimestamp": 1711699389047,
  "version": "3.3.16"
}

flaresolverr的challenge looping问题最近才得以解决,需要暂时拉取sade54/flaresolverr:latest分支镜像(主镜像估计得下次更新才修复),并添加环境变量DRIVER值为nodriver,试过已经可以签到 详见FlareSolverr/FlareSolverr#1163
2024/08/01更新 更新日期:2024 年 08 月 01 日 拉取alexfozor/flaresolverr:pr-1300镜像解决最近cf的shadow root问题(无需修改环境变量) 详见FlareSolverr/FlareSolverr#1300

我尝试使用alexfozor/flaresolverr:pr-1300镜像,并且按照qd-today/qd#330修改了环境变量到90,依旧失败
签到框架内日志 image
alexfozor/flaresolverr:pr-1300的日志 alexfozor/flaresolverr:pr-1300 的日志image

我这边一切正常,是否使用了代理,如果使用了停掉代理再试试 看日志你的qiandao和flaresolverr貌似没部署在同一个机器上,我觉得最好部署在同一个机器

我是路由器代理,已经给真白萌分流让他直连了 image

qiandao和flaresolverr都是部署在一个机器上面的不同docker容器中

直接使用curl测试会提示timeout image

alexfozor/flaresolverr:pr-1300的docker日志如下 image

很奇怪,我这边又试了几遍都没问题,我用群晖docker部署的flaresolverr,环境变量都是默认的没动,你那边要不再确认下环境变量?实在找不到问题在哪了
image

@a15355447898a
Copy link

最近半个月flaresolverr都过不了真白萌了,但是btschool还是正常的

curl -L -X POST 'http://192.168.20.12:8191/v1' \
>  -H 'Content-Type: application/json' \
>  --data-raw '{
>      "cmd": "request.get",
>      "url":"https://masiro.me/admin/wishingPondIndex",
>      "maxTimeout": 120000
>  }' | jq .
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   295  100   183    0   112      1      0  0:03:03  0:02:01  0:01:02    39
{
  "status": "error",
  "message": "Error: Error solving the challenge. Timeout after 120.0 seconds.",
  "startTimestamp": 1711699267135,
  "endTimestamp": 1711699389047,
  "version": "3.3.16"
}

flaresolverr的challenge looping问题最近才得以解决,需要暂时拉取sade54/flaresolverr:latest分支镜像(主镜像估计得下次更新才修复),并添加环境变量DRIVER值为nodriver,试过已经可以签到 详见FlareSolverr/FlareSolverr#1163
2024/08/01更新 更新日期:2024 年 08 月 01 日 拉取alexfozor/flaresolverr:pr-1300镜像解决最近cf的shadow root问题(无需修改环境变量) 详见FlareSolverr/FlareSolverr#1300

我尝试使用alexfozor/flaresolverr:pr-1300镜像,并且按照qd-today/qd#330修改了环境变量到90,依旧失败
签到框架内日志 image
alexfozor/flaresolverr:pr-1300的日志 alexfozor/flaresolverr:pr-1300 的日志alexfozor/flaresolverr:pr-1300 的日志image

我这边一切正常,是否使用了代理,如果使用了停掉代理再试试 看日志你的qiandao和flaresolverr貌似没部署在同一个机器上,我觉得最好部署在同一个机器

我是路由器代理,已经给真白萌分流让他直连了 image
qiandao和flaresolverr都是部署在一个机器上面的不同docker容器中
直接使用curl测试会提示timeout image
alexfozor/flaresolverr:pr-1300的docker日志如下 imagealexfozor/flaresolverr:pr-1300 的 Docker 日志如下 image

很奇怪,我这边又试了几遍都没问题,我用群晖docker部署的flaresolverr,环境变量都是默认的没动,你那边要不再确认下环境变量?实在找不到问题在哪了 image

alexfozor/flaresolverr:pr-1300的环境变量如下
image

qd的变量如下
image


另外试了下原版的flaresolverr,还是不行

image

image

image

@a15355447898a
Copy link

最近半个月flaresolverr都过不了真白萌了,但是btschool还是正常的

curl -L -X POST 'http://192.168.20.12:8191/v1' \
>  -H 'Content-Type: application/json' \
>  --data-raw '{
>      "cmd": "request.get",
>      "url":"https://masiro.me/admin/wishingPondIndex",
>      "maxTimeout": 120000
>  }' | jq .
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   295  100   183    0   112      1      0  0:03:03  0:02:01  0:01:02    39
{
  "status": "error",
  "message": "Error: Error solving the challenge. Timeout after 120.0 seconds.",
  "startTimestamp": 1711699267135,
  "endTimestamp": 1711699389047,
  "version": "3.3.16"
}

flaresolverr的challenge looping问题最近才得以解决,需要暂时拉取sade54/flaresolverr:latest分支镜像(主镜像估计得下次更新才修复),并添加环境变量DRIVER值为nodriver,试过已经可以签到 详见FlareSolverr/FlareSolverr#1163
2024/08/01更新 更新日期:2024 年 08 月 01 日 拉取alexfozor/flaresolverr:pr-1300镜像解决最近cf的shadow root问题(无需修改环境变量) 详见FlareSolverr/FlareSolverr#1300

我尝试使用alexfozor/flaresolverr:pr-1300镜像,并且按照qd-today/qd#330修改了环境变量到90,依旧失败
签到框架内日志 image
alexfozor/flaresolverr:pr-1300的日志 alexfozor/flaresolverr:pr-1300 的日志alexfozor/flaresolverr:pr-1300 的日志imagealexfozor/flaresolverr:pr-1300 的日志

我这边一切正常,是否使用了代理,如果使用了停掉代理再试试 看日志你的qiandao和flaresolverr貌似没部署在同一个机器上,我觉得最好部署在同一个机器

我是路由器代理,已经给真白萌分流让他直连了 image
qiandao和flaresolverr都是部署在一个机器上面的不同docker容器中
直接使用curl测试会提示timeout image
alexfozor/flaresolverr:pr-1300的docker日志如下 imagealexfozor/flaresolverr:pr-1300 的 Docker 日志如下 imagealexfozor/flaresolverr:pr-1300 的 Docker 日志如下

很奇怪,我这边又试了几遍都没问题,我用群晖docker部署的flaresolverr,环境变量都是默认的没动,你那边要不再确认下环境变量?实在找不到问题在哪了 image

alexfozor/flaresolverr:pr-1300的环境变量如下 image

qd的变量如下 image

另外试了下原版的flaresolverr,还是不行

image

image

image

我搞好了,下面是我的解决方案

docker镜像使用alexfozor/flaresolverr:pr-1300-experimental

修改REQUEST_TIMEOUT CONNECT_TIMEOUT DELAY_MAX_TIMEOUT这三项环境变量

    - REQUEST_TIMEOUT=150.0
    - CONNECT_TIMEOUT=150.0
    - DELAY_MAX_TIMEOUT=149.9

@125540947
Copy link

config.py这个文件在那个目录

@125540947
Copy link

修改REQUEST_TIMEOUT CONNECT_TIMEOUT DELAY_MAX_TIMEOUT这三项环境变量 这三个在哪里修改

@hecarli555
Copy link

hecarli555 commented Oct 17, 2024

alexfozor/flaresolverr:pr-1300-experimental这个项目好像又坏了,昨晚就成功了一次,今天又全线失败了,只要是有盾都失败,3个参数都按要求修改了,但是没有用。。。求大佬指教
image
image

@a15355447898a
Copy link

修改REQUEST_TIMEOUT CONNECT_TIMEOUT DELAY_MAX_TIMEOUT这三项环境变量 这三个在哪里修改

qd框架本身的

@a15355447898a
Copy link

alexfozor/flaresolverr:pr-1300-experimental这个项目好像又坏了,昨晚就成功了一次,今天又全线失败了,只要是有盾都失败,3个参数都按要求修改了,但是没有用。。。求大佬指教 image image

代理分流,让真白萌直连试试
我这里工作正常

@hecarli555
Copy link

alexfozor/flaresolverr:pr-1300-experimental这个项目好像又坏了,昨晚就成功了一次,今天又全线失败了,只要是有盾都失败,3个参数都按要求修改了,但是没有用。。。求大佬指教 image image

代理分流,让真白萌直连试试 我这里工作正常

我容器就是部署在直连环境下的。。。。

@chen8945
Copy link
Collaborator Author

我容器就是部署在直连环境下的。。。。

不太清楚你那边情况,我这里是一直都可以正常运行的

@hecarli555
Copy link

我容器就是部署在直连环境下的。。。。

不太清楚你那边情况,我这里是一直都可以正常运行的

看日志是双层盾么?
image
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

12 participants