-
Notifications
You must be signed in to change notification settings - Fork 25.2k
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
Error using reCaptcha #1944
Comments
When I turn off the reCaptcha in the theme, I'm able to successfully run this curl command. curl 'https://staticman.shoreviewanalytics.com/v2/entry/shoreviewanalrv:63.0) Gecko/20100101 Firefox/63.0' -H 'Accept: /' -H 'Accept-Language: en-US,en;q=0.5' --compressed -H 'Referer: https://shoreviewanalytics.github.io/Staticman-API-Dokku-Deployment/' -H 'Content-Type: application/x-www-form-urlencoded' -H 'Origin: https://shoreviewanalytics.github.io' -H 'Connection: keep-alive' --data 'fields%5Bmessage%5D=this+is+a+test+using+Firefox+with+standard+reCaptcha+configuration+turned+off.+&fields%5Bname%5D=Chad+Downey&fields%5Bemail%5D=jamochee.one%40gmail.com&fields%5Burl%5D=http%3A%2F%2Fshoreviewanalytics.github.io&options%5Bslug%5D=Staticman-API-Dokku-Deployment&fields%5Bhidden%5D=&options%5BreCaptcha%5D%5BsiteKey%5D=6LdLw3oUAAAAAFYR3DN4tiD-wG1Ca-cNqYB1EkVA&options%5BreCaptcha%5D%5Bsecret%5D=yPYmyCOLRSgjev1ri5kVkIkU2L3OAigynLVBwzAkleQo%2FopyBUBkm%2FRyJFM4OKRI2hM6n3osn7VSQSSxwt5ijRrkd9MJ%2FZKzQ%2FQrLW%2Ffe8LtNQtIFlvXqSjaMSUw94AZ2Cv6edzAv129R%2By2eg13BPnYSxTN9YIvb2fBMjBR76A%3D&g-recaptcha-response=03ADlfD18fLE2woitgSxMkkSFNhcYPL3g5vIxsHBg7QpszanhC6jqm8N_qHEeBXk0VaoUbpxMwecUGE2Z98emZGAI4Eg7jaHWkY688m7vTUbyrZwabyjTMm52AbER9w8_WC6XELbPB4YkcnndMimZ-ThPtYEHv6IM4WJmJuzaEH7_dKxyQ8qPANiiXqnDzIYRSQruyunqqtG-oYcwxPcHQnIPxjQs9L9tlwr8qSNogwg36U0qV8pGEEXRqs4alci4k0wzN3eGj7xOOdvToHOOqOsAtnMvq7VzGkW12Lc49CWZqgNFhIA2ZVpS87yOXe_JmjRBbglaXBVmm' The response I get is the following. {"success":true,"fields":{"message":"this is a test using Firefox with standard reCaptcha configuration turned off.","name":"Chad Downey","email":"e27c1a15e13a2c8ec021507e08e1d699","url":"http://shoreviewanalyti Does anyone understand what is going on here? Thanks! |
Don't think it has anything to do with the reCaptcha. |
Well, thank you so much for the reply. I've been racking my brain trying to figure this out. Just a few minutes ago I commented out the reCaptcha configuration in staticman.yml and now my comments are working from a browser. I know this is probably NOT the way to configure things but wanted to let you know what I just discovered. Thanks! |
By the way, I'm not using the public instance of Staticman. I'm using my own instance at staticman.shoreviewanalytics.com. I still get the messages too many requests, which seems unavoidable, but wanted to let you know in case anyone else gives this a try. I have a post on my blog that provides the general steps I used to set it up. https://shoreviewanalytics.github.io/Staticman-API-Dokku-Deployment/ |
OK. I'm going to close this as it doesn't appear to be theme related. |
Hi there, I'm using the minimal-mistakes theme and have also deployed staticman at staticman.shoreviewanalytics.com. The problem I'm having is with submitting a comment when reCaptcha is enabled. When this is the case, the POST to my blog repo has additional items in the URL and it fails. Is there anyway to remove these additional items as shown below in bold, but still use reCaptcha? Or, can you suggest what can be changed to make this work?
`curl 'https://staticman.shoreviewanalytics.com/v2/entry/shoreviewanalytics/shoreviewanalytics.github.io/master/comments' -H 'User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:63.0) Gecko/20100101 Firefox/63.0' -H 'Accept: /' -H 'Accept-Language: en-US,en;q=0.5' --compressed -H 'Referer: https://shoreviewanalytics.github.io/Staticman-API-Dokku-Deployment/' -H 'Content-Type: application/x-www-form-urlencoded' -H 'Origin: https://shoreviewanalytics.github.io' -H 'Connection: keep-alive' --data 'fields%5Bmessage%5D=testing&fields%5Bname%5D=Chad+Downey&fields%5Bemail%5D=jamochee.one%40gmail.com&fields%5Burl%5D=http%3A%2F%2Fshoreviewanalytics.github.io&options%5Bslug%5D=Staticman-API-Dokku-Deployment&fields%5Bhidden%5D='
&options%5BreCaptcha%5D%5BsiteKey%5D=6LdLw3oUAAAAAFYR3DN4tiD-wG1Ca-cNqYB1EkVA&options%5BreCaptcha%5D%5Bsecret%5D=yPYmyCOLRSgjev1ri5kVkIkU2L3OAigynLVBwzAkleQo%2FopyBUBkm%2FRyJFM4OKRI2hM6n3osn7VSQSSxwt5ijRrkd9MJ%2FZKzQ%2FQrLW%2Ffe8LtNQtIFlvXqSjaMSUw94AZ2Cv6edzAv129R%2By2eg13BPnYSxTN9YIvb2fBMjBR76A%3D&g-recaptcha-response=03ADlfD1-PL9mc5t3qZhWkrEBTZ9yk0PQkkYkNcW21zzMSzqXOD6AqixRGhaC_Jm-qwr8WhwTzP1nxYRvCnUum9fliU1WH5gkPrEJyDkIK2X5Ofpts6lA1_0zyyLk12su5oecOUx_Nnvab42l_tTOgCkvT2_hBclyLobDvBKBGoUoTMdAZ3cqT-4C7BbwmzsaxNaGaElc_vWZSq5MEwVpP_3IG06QLYjejRX4s8u4NFwCFm2e5XhISgUrVQsbNrCVlUloqXs3Pl6sY3xUrvOu6jmwl3PN-rEMbbS8jID4Hoao9fGwb62CDhPw'`
The text was updated successfully, but these errors were encountered: