How To Fix 404 Not Found When Clicking reCaptcha Submit?

Having problems with building or using the CefSharp .NET binding? Ask your CEF-related questions here. Please ask general usage questions on StackOverflow.

Moderator: amaitland

How To Fix 404 Not Found When Clicking reCaptcha Submit?

Postby GlennSGC » Sun Jul 10, 2022 10:37 am

I'm using the latest version of Chrome and latest version of CEFSharp but now getting 404 Not Found error after solving reCaptcha and clicking the Submit button. Here is the text that shows after I click the Submit button after solving the reCaptcha successfully.

Something went wrong.

What happened?
404 Not Found
What can I do?
Return to the previous page.

On a similar note: if I go to this one site URL in chrome browser I never get the reCaptcha "challenge" dialog, so I'm trying to make ChromiumWebBrower when launched in my code using the same IP and port. I added to following code, but the web page doesn't even show up in my application after setting the RequestContext. Please HELP.

var requestContext = RequestContext
.Configure()
.WithProxyServer("MY COMCAST IP ADDRESS", 8080)
.Create();

chromeBrowser = new ChromiumWebBrowser("https://www.test.com/account/login");

chromeBrowser.RequestContext = new RequestContext(requestContext);
GlennSGC
Newbie
 
Posts: 4
Joined: Sun Jul 10, 2022 10:29 am

Re: How To Fix 404 Not Found When Clicking reCaptcha Submit?

Postby amaitland » Tue Jul 12, 2022 2:37 pm

We have little control over recaptcha.

I'd suggest checking the log file for errors when you use a RequestContext
Maintainer of the CefSharp project.
amaitland
Virtuoso
 
Posts: 1291
Joined: Wed Jan 14, 2015 2:35 am

Re: How To Fix 404 Not Found When Clicking reCaptcha Submit?

Postby GlennSGC » Wed Jul 13, 2022 8:25 am

Thanks, but were is the Log file located?

Actually, the IP address is not a proxy. I'm trying to make CEF think the IP address is my comcast IP, so I don't need to use a port. Is there a way to do that using CefSharp?
GlennSGC
Newbie
 
Posts: 4
Joined: Sun Jul 10, 2022 10:29 am

Re: How To Fix 404 Not Found When Clicking reCaptcha Submit?

Postby amaitland » Sun Jul 17, 2022 3:57 pm

https://github.com/cefsharp/CefSharp/wi ... g#log-file

CEF/CefSharp inherit proxy support from chromium, whatever chromium supports should work exactly the same.
Maintainer of the CefSharp project.
amaitland
Virtuoso
 
Posts: 1291
Joined: Wed Jan 14, 2015 2:35 am


Return to CefSharp Forum

Who is online

Users browsing this forum: No registered users and 9 guests