|
Closed 1715819 closed 1 year ago
如果直接打开官网,在点完验证码后,会再需要点吗?
有可能是机子的问题,就很奇怪,我在一台机子部署后能用,换另外一台又不行了。
并没有出现需要一直点验证码的情况
这个处理要改改,晚点我看下怎么改合适
完整的日志:
——————————————————————————————————————————————————————
INFO[0013] Checking captcha
INFO[0013] Captcha is clicked!
2023/04/07 11:48:14 Failed to handle captcha, looks like infinite loop, please remove CHATGPT_PROXY_SERVER to use API mode first until I find a way to fix it.
INFO[0012] Checking captcha
INFO[0012] Captcha is clicked!
2023/04/07 11:48:33 Failed to handle captcha, looks like infinite loop, please remove CHATGPT_PROXY_SERVER to use API mode first until I find a way to fix it.
root@docs2:~/api# docker logs -f 7732198c66a3
INFO[0013] Checking captcha
INFO[0013] Captcha is clicked!
2023/04/07 11:48:14 Failed to handle captcha, looks like infinite loop, please remove CHATGPT_PROXY_SERVER to use API mode first until I find a way to fix it.
INFO[0012] Checking captcha
INFO[0012] Captcha is clicked!
2023/04/07 11:48:33 Failed to handle captcha, looks like infinite loop, please remove CHATGPT_PROXY_SERVER to use API mode first until I find a way to fix it.
INFO[0013] Checking captcha
INFO[0014] Captcha is clicked!
2023/04/07 11:48:55 Failed to handle captcha, looks like infinite loop, please remove CHATGPT_PROXY_SERVER to use API mode first until I find a way to fix it.
INFO[0014] Checking captcha
INFO[0014] Captcha is clicked!
2023/04/07 11:49:18 Failed to handle captcha, looks like infinite loop, please remove CHATGPT_PROXY_SERVER to use API mode first until I find a way to fix it.
INFO[0014] Checking captcha
INFO[0014] Captcha is clicked!
2023/04/07 11:49:41 Failed to handle captcha, looks like infinite loop, please remove CHATGPT_PROXY_SERVER to use API mode first until I find a way to fix it.
root@docs2:~/api# docker logs -f 7732198c66a3
INFO[0013] Checking captcha
INFO[0013] Captcha is clicked!
2023/04/07 11:48:14 Failed to handle captcha, looks like infinite loop, please remove CHATGPT_PROXY_SERVER to use API mode first until I find a way to fix it.
INFO[0012] Checking captcha
INFO[0012] Captcha is clicked!
2023/04/07 11:48:33 Failed to handle captcha, looks like infinite loop, please remove CHATGPT_PROXY_SERVER to use API mode first until I find a way to fix it.
INFO[0013] Checking captcha
INFO[0014] Captcha is clicked!
2023/04/07 11:48:55 Failed to handle captcha, looks like infinite loop, please remove CHATGPT_PROXY_SERVER to use API mode first until I find a way to fix it.
INFO[0014] Checking captcha
INFO[0014] Captcha is clicked!
2023/04/07 11:49:18 Failed to handle captcha, looks like infinite loop, please remove CHATGPT_PROXY_SERVER to use API mode first until I find a way to fix it.
INFO[0014] Checking captcha
INFO[0014] Captcha is clicked!
2023/04/07 11:49:41 Failed to handle captcha, looks like infinite loop, please remove CHATGPT_PROXY_SERVER to use API mode first until I find a way to fix it.
INFO[0015] Checking captcha
INFO[0017] Captcha is clicked!
2023/04/07 11:50:11 Failed to handle captcha, looks like infinite loop, please remove CHATGPT_PROXY_SERVER to use API mode first until I find a way to fix it.
INFO[0078] Checking captcha
ERRO[0094] Failed to handle captcha: timeout after 15.296934511s
ERRO[0094]
ERRO[0094]
<meta name="robots" content="noindex, nofollow">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<title>Just a moment...</title>
<style>html,body{margin:0;padding:0;width:100%;height:100%;overflow:hidden}body{background-color:#fff;line-height:17px;color:#1d1f20;font-family:-apple-system,system-ui,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Helvetica Neue,Arial,sans-serif;font-size:14px;font-weight:400;-webkit-font-smoothing:antialiased;font-style:normal}h1{margin:16px 0;text-align:center;line-height:1.25;color:#1d1f20;font-size:16px;font-weight:700}p{margin:8px 0;text-align:center;font-size:20px;font-weight:400}#content{border:1px solid #e0e0e0;background-color:#fafafa;height:60px;user-select:none}table,td,tr{margin:0;padding:0}#branding{padding-right:13px;width:60px;text-align:center}#cf-stage{padding-left:52px;width:180px;height:58px;text-align:left}#spinner-icon{display:block;position:absolute;top:20px;left:15px;margin:0;padding:0;width:30px;height:30px;animation:rotate 5s linear infinite}#fail-icon{display:block;position:absolute;top:20px;left:15px;border-radius:50%;box-shadow:inset 0 0 #de5052;width:30px;height:30px;animation:fillfail .4s ease-in-out .4s forwards,scale .3s ease-in-out .9s both;stroke-width:6px;stroke:#f8f8f8;stroke-miterlimit:10}#success-icon{display:block;position:absolute;top:20px;left:15px;border-radius:50%;box-shadow:inset 0 0 #049f30;width:30px;height:30px;animation:scale-up-center .6s cubic-bezier(.55,.085,.68,.53) both;stroke-width:6px;stroke:#f8f8f8;stroke-miterlimit:10}#success-icon .p1{stroke-dasharray:242;stroke-dashoffset:242;box-shadow:inset 0 0 #049f30;animation:stroke .4s cubic-bezier(.65,0,.45,1) forwards;animation-delay:.5s}.success-circle{stroke-dashoffset:0;stroke-width:2;stroke-miterlimit:10;stroke:#049f30}#logo{margin-bottom:1px;height:26px}.failure-circle{stroke-dasharray:166;stroke-dashoffset:166;stroke-width:2;stroke-miterlimit:10;stroke:#de5052;fill:none;animation:stroke .6s cubic-bezier(.65,0,.45,1) forwards}.failure-cross{transform-origin:50% 50%;stroke-dasharray:48;stroke-dashoffset:48;animation:stroke .3s cubic-bezier(.65,0,.45,1) .8s forwards}.ctp-checkbox-container{box-sizing:border-box;text-align:center}.ctp-checkbox-label{cursor:pointer;text-align:left}.ctp-checkbox-label input{position:absolute;top:20px;left:18px;opacity:0;z-index:9999;cursor:pointer;width:24px;height:24px}.ctp-checkbox-label .mark{position:absolute;top:20px;left:18px;transition:all .1s ease-in;z-index:9998;border:2px solid #e0e0e0;border-radius:3px;background:#fff;width:24px;height:24px;animation:scale-up-center .4s cubic-bezier(.55,.085,.68,.53) both}.ctp-checkbox-label input:checked~.mark{transform:rotate(0) scale(1);opacity:1;border:2px solid white;border-radius:5px;background-color:#fff}.ctp-checkbox-label .mark:after{position:absolute;border-radius:5px;content:""}.ctp-checkbox-label input:checked~.mark:after{top:3px;left:8px;transform:rotate(45deg) scale(1);border:solid orange;border-width:0 4px 4px 0;border-radius:0;width:6px;height:12px}#terms{padding-right:2px;text-align:right;line-height:10px;word-spacing:.2em;color:#1d1f20;font-size:8px;font-weight:400;font-style:normal}#terms a,#terms a:link,#terms a:visited{text-decoration:none;line-height:10px;color:#1d1f20;font-size:8px;font-weight:400;font-style:normal}#terms a:hover,#terms a:active{text-decoration:underline}.unspun .circle{animation:unspin .7s cubic-bezier(.65,0,.45,1) forwards}.circle{stroke-width:3px;stroke-linecap:round;stroke:#049f30;stroke-dasharray:0,100,0;stroke-dashoffset:200;stroke-miterlimit:1;stroke-linejoin:round}.expired-circle{stroke-width:3px;stroke-linecap:round;stroke:#e0e0e0;stroke-linejoin:round}#expired-icon{display:block;position:absolute;top:20px;left:15px;box-shadow:inset 0 0 #e0e0e0;width:30px;height:30px;animation:scale .3s ease-in-out .9s both;stroke-width:6px;stroke:#f8f8f8;stroke-miterlimit:10}@keyframes rotate{to{transform:rotate(360deg)}}@keyframes stroke{to{stroke-dashoffset:0}}@keyframes scale{0%,to{transform:none}50%{transform:scale3d(1.1,1.1,1)}}@keyframes fill{to{transform:scale(1)}}@keyframes fillfail{to{box-shadow:inset 0 0 0 30px #de5052}}@keyframes scale-up-center{0%{transform:scale(.01)}to{transform:scale(1)}}@keyframes unspin{40%{stroke-width:1px;stroke-linecap:square;stroke-dashoffset:192}to{stroke-width:0}}.logo-text{fill:#000}#qr{fill:#1d1f20}@media (prefers-color-scheme: dark){body.theme-auto{background-color:#222;color:#fff}.theme-auto h1{color:#fff}.theme-auto #terms,.theme-auto #terms a,.theme-auto #terms a:link,.theme-auto #terms a:visited{color:#bbb}.theme-auto #content{border-color:#999;background-color:#222}.theme-auto #qr{fill:#f38020}.theme-auto .logo-text{fill:#fff}.theme-auto .ctp-checkbox-label .mark{background-color:#525252}.theme-auto .ctp-checkbox-label input:checked~.mark{background-color:#525252}}body.theme-dark{background-color:#222;color:#fff}.theme-dark h1{color:#fff}.theme-dark #terms,.theme-dark #terms a,.theme-dark #terms a:link,.theme-dark #terms a:visited{color:#bbb}.theme-dark #content{border-color:#999;background-color:#222}.theme-dark #qr{fill:#f38020}.theme-dark .logo-text{fill:#fff}.theme-dark .ctp-checkbox-label .mark{background-color:#525252}.theme-dark .ctp-checkbox-label input:checked~.mark{background-color:#525252}#challenge-error-title{position:absolute;top:0;margin:5px 0;width:200px;height:55px;color:red}#challenge-error-title .icon-wrapper{display:none}.size-compact #content{height:115px}.size-compact{font-size:13px}.size-compact .ctp-checkbox-container{text-align:left}.size-compact #logo{margin-top:5px;margin-bottom:0;height:22px}.size-compact #branding{padding-right:0;text-align:right}.size-compact #terms{text-align:right}.size-compact #cf-stage{padding-left:48px;height:63px}.size-compact .ctp-checkbox-label .mark,.size-compact #expired-icon,.size-compact #success-icon,.size-compact #spinner-icon,.size-compact #fail-icon{left:12px}.size-compact #qr svg{width:40px}.size-compact #qr{text-align:center}.size-compact #challenge-error-title{margin-top:3px;width:auto}#expired-refresh-link,#expired-refresh-link:visited{color:#f6821f}#expired-refresh-link:active,#expired-refresh-link:hover{color:#fbad41}html.rtl{direction:rtl}.rtl #cf-stage{padding-right:52px;padding-left:0;text-align:right}.rtl #success-icon,.rtl #fail-icon,.rtl #spinner-icon,.rtl #expired-icon{left:255px}.rtl #branding{padding-right:0;padding-left:13px;width:90px;text-align:left}.rtl .size-compact #branding,.rtl .size-compact #terms{text-align:left}.rtl .size-compact #cf-stage{padding-right:48px}.rtl .size-compact #success-icon,.rtl .size-compact #fail-icon,.rtl .size-compact #spinner-icon,.rtl .size-compact #expired-icon{left:86px}.rtl .ctp-checkbox-label input,.rtl .ctp-checkbox-label .mark{right:18px}.rtl .ctp-checkbox-label input:checked~.mark:after{right:8px}.rtl .ctp-checkbox-label{text-align:right}.lang-de #branding,.lang-ru #branding{padding-right:5px;width:110px;text-align:right}.lang-de .cf-link,.lang-ru .cf-link{position:absolute;top:9px;left:149px;width:143px}.lang-de #terms,.lang-ru #terms{position:absolute;top:39px;left:205px}.lang-de .link-spacer,.lang-ru .link-spacer{display:none}.lang-de #privacy-link,.lang-de #terms-link,.lang-ru #privacy-link,.lang-ru #terms-link{display:block}.lang-de #cf-stage,.lang-ru #cf-stage{padding-left:48px;width:169px}.lang-es #branding,.lang-fr #branding,.lang-it #branding,.lang-ja #branding,.lang-nl #branding,.lang-ru #branding{padding-right:5px;width:100px;text-align:right}.lang-pl #branding,.lang-pt #branding,.lang-pt-br #branding{width:100px;text-align:right}.lang-fr #branding,.lang-ja #branding{width:134px}.lang-tr .size-compact #verifying-text{font-size:10px}.lang-pt .size-compact #verifying-text,.lang-pt-br .size-compact #verifying-text,.lang-de .size-compact #expired-refresh-link,.lang-id .size-compact #expired-text,.lang-id .size-compact #expired-refresh-link,.lang-nl .size-compact #expired-text,.lang-nl .size-compact #expired-refresh-link{font-size:11px}.lang-de .size-compact .ctp-checkbox-label,.lang-ru .size-compact .ctp-checkbox-label{font-size:10px}.lang-zh .size-compact .ctp-checkbox-label,.lang-zh-cn .size-compact .ctp-checkbox-label,.lang-zh-tw .size-compact .ctp-checkbox-label{font-size:11px}.lang-de .size-compact .link-spacer,.lang-ru .size-compact .link-spacer{display:none}.lang-de .size-compact #terms-link,.lang-ru .size-compact #terms-link,.lang-de .size-compact #privacy-link,.lang-ru .size-compact #privacy-link{display:block}.lang-de .size-compact .cf-link,.lang-ru .size-compact .cf-link,.lang-de .size-compact #terms,.lang-ru .size-compact #terms{position:relative;top:-5px;left:0}
<script>
(function(){
window._cf_chl_opt={
cvId: '2',
cZone: 'challenges.cloudflare.com',
cTplV: 4,
chlApivId: '0',
chlApiWidgetId: 'vviyy',
chlApiSitekey: '0x4AAAAAAAAjq6WYeRDKmebM',
chlApiMode: 'managed',
chlApiSize: 'normal',
chlTimeoutMs: 120000,
cType: 'chl_api_m',
cNounce: '3891',
cRay: '7b420edf49414499',
cHash: '6112e5cac3390ac',
cFPWv: 'b',
cLt: 'n',
cRq: {
ru: 'aHR0cDovL2NoYWxsZW5nZXMuY2xvdWRmbGFyZS5jb20vY2RuLWNnaS9jaGFsbGVuZ2UtcGxhdGZvcm0vaC9iL3R1cm5zdGlsZS9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kRItcGU2xCgzO1zGTKToQ=',
}
};
}());
</script>
<script src="/cdn-cgi/challenge-platform/h/b/orchestrate/chl_api/v1?ray=7b420edf49414499"></script>
这个感觉也是同样的普通验证码,如果不行,试着先重启服务
目前还不知道怎么很好地处理,有时出有时不出又不好测试
重新拉了一下镜像,成功了
应该和IP有关,第一次我重启warp和重启容器,发现程序陷入了死循环, 完后再重启warp换一个新的IP之后,又重启容器,程序直接显示:Welcome to ChatGPT 第二次感觉直接跳过了验证码,不是太清楚
我这边用香港的节点,一般无需验证码都是直接 welcome,自动刷新也不触发
极少数可能 10 次有 1 次启动时会触发,但是能自动点击过验证码
感觉就是 IP 在 CF 那边重点关注了才会频繁出
我自己的美国服务器的 IP 几天前直接 Access Denied。。。还没来得及去换
哈哈哈,直接上warp
warp 是什么
发现还是go版本占用内存低
Go 本来就低,然后 Java 首先 JVM 占用一部分内存,Spring 再吃一大部分,最后还整了个浏览器进去
本地跑还好,服务器就要考虑下了
其实用 Go 写出来会方便得多,但是我 Go 也是新手,所以还是得慢慢来
INFO[0012] Checking captcha
INFO[0012] Captcha is clicked!
2023/04/07 09:11:16 Failed to handle captcha, looks like infinite loop, please remove CHATGPT_PROXY_SERVER to use API mode first until I find a way to fix it.