Comments (4)
url
and maxTimeout
aren't needed when creating and destroying sessions.
Using your format, I can reproduce the error. However, when using the format from our example, there's no error - https://github.com/FlareSolverr/FlareSolverr#usage
Removing -UseBasicParsing
from our example results in the same error.
-UseBasicParsing
has been deprecated in PS v6 onwards, as it's the default behaviour (to not run script code when HTML is parsed). Either use PS v6/7 (v5 is default in Windows), or use -UseBasicParsing
.
from flaresolverr.
@ilike2burnthing Thanks for your checks, and note your url
and maxTimeout
suggestions, I have amended this.
I am using PowerShell 7.4.2, but the error persists, whether I use -UseBasicParsing
or not using my script.
Even using the powershell example below, I have the same error:
$body = @{
cmd = "request.get"
url = "http://www.google.com/"
maxTimeout = 60000
} | ConvertTo-Json
irm -UseBasicParsing 'http://localhost:8191/v1' -Headers @{"Content-Type"="application/json"} -Method Post -Body $body
Error:
Invoke-RestMethod:
{
"status": "error",
"message": "Error: Message: disconnected: not connected to DevTools\n (failed to check if window was closed: disconnected: not connected to DevTools)\n (Session info: chrome=123.0.6300.0)\nStacktrace:\n\tGetHandleVerifier [0x00B64CA3\u002B225091]\n\t(No symbol) [0x00A94DF1]\n\t(No symbol) [0x00939A7A]\n\t(No symbol) [0x009294DC]\n\t(No symbol) [0x00929B3D]\n\t(No symbol) [0x00939ED7]\n\t(No symbol) [0x0091E00D]\n\t(No symbol) [0x0099ABA7]\n\t(No symbol) [0x0099A7BB]\n\t(No symbol) [0x0098F523]\n\t(No symbol) [0x009679B9]\n\t(No symbol) [0x0096879D]\n\tsqlite3_dbdata_init [0x00FD9A43\u002B4064547]\n\tsqlite3_dbdata_init [0x00FE104A\u002B4094762]\n\tsqlite3_dbdata_init [0x00FDB948\u002B4072488]\n\tsqlite3_dbdata_init [0x00CDC9A9\u002B930953]\n\t(No symbol) [0x00AA07C4]\n\t(No symbol) [0x00A9ACE8]\n\t(No symbol) [0x00A9AE11]\n\t(No symbol) [0x00A8CA80]\n\tBaseThreadInitThunk [0x77347BA9\u002B25]\n\tRtlInitializeExceptionChain [0x77E2C10B\u002B107]\n\tRtlClearBits [0x77E2C08F\u002B191]\n",
"startTimestamp": 1719155635311,
"endTimestamp": 1719155638583,
"version": "3.3.19"
}
I will update to 3.3.20 meanwhile.
Any ideas?
from flaresolverr.
Same issue with 3.3.20.
However, I have isolated this error to an environment variable "headless=false", and "headless=true" seems to work fine.
Likely to be something in the code that has affected this at some point?
from flaresolverr.
I'm unable to reproduce your issue.
Using a clean Windows Sandbox I download and extract FlareSolverr, run the example PS command, and I get normal output. Stopping FlareSolverr, setting headless=false
, starting FlareSolverr again, and rerunning the script, I still get normal output.
Can you provide debug FS logs of the issue?
from flaresolverr.
Related Issues (20)
- Error solving the challenge, will always timeout. Ends with 500 Internal Server Error. HOT 34
- Infinite loop while solving YGG captacha on docker with version 3.3.19 HOT 1
- YGG Flaresolverr test Error: Error solving the challenge. Timeout after 60.0 seconds. 500 Internal Server Error HOT 9
- Unable to make a call to YGG.re HOT 1
- [yggtorrent] (testing) Exception (yggtorrent): FlareSolverr was unable to process the request, please check FlareSolverr logs. Message: Error: Error solving the challenge. Timeout after 55.0 seconds.: FlareSolverr was unable to process the request, please check FlareSolverr logs. Message: Error: Error solving the challenge. Timeout after 55.0 seconds. HOT 1
- [yggtorrent] (testing) Exception (yggtorrent): FlareSolverr was unable to process the request, please check FlareSolverr logs. Message: Error: Error solving the challenge. Timeout after 55.0 seconds.: FlareSolverr was unable to process the request, please check FlareSolverr logs. Message: Error: Error solving the challenge. Timeout after 55.0 seconds. HOT 1
- [yggtorrent] (testing) Exception (yggtorrent): FlareSolverr was unable to process the request, please check FlareSolverr logs. Message: Error: Error solving the challenge. Timeout after 55.0 seconds.: FlareSolverr was unable to process the request, please check FlareSolverr logs. Message: Error: Error solving the challenge. Timeout after 55.0 seconds. HOT 2
- TimeOut during solving HOT 7
- [yggtorrent] (testing) Exception (yggtorrent): FlareSolverr HOT 1
- The cookies provided by FlareSolverr are not valid HOT 5
- Error solving the challenge: scenesource.me HOT 1
- Chrome / Chromium version not detected! HOT 2
- [yggtorrent] (updating) FlareSolverr was unable to process the request, please check FlareSolverr logs. Message: Error: Error solving the challenge. Timeout after 55.0 seconds. HOT 5
- [yggtorrent] (updating) The operation was canceled.: FlareSolverr was unable to process the request, please check FlareSolverr logs. Message: Error: Error solving the challenge. Timeout after 120.0 seconds. HOT 7
- [yggtorrent] (testing) Exception (yggtorrent): FlareSolverr was unable to process the request, please check FlareSolverr logs. Message: Error: Error solving the challenge. Timeout after 50.0 seconds.: FlareSolverr was unable to process the request, please check FlareSolverr logs. Message: Error: Error solving the challenge. Timeout after 50.0 seconds. HOT 2
- Challenge solved but returns CloudFlare page with spinner HOT 2
- 3.3.20 Not working with Yggtorrent HOT 2
- Challenge solved but site reload cf challenge frame HOT 3
- (v3.3.21) Cloudflare verify checkbox not found on the page HOT 1
- [yggtorrent] (testing) Exception (yggtorrent): FlareSolverr was unable to process the request, please check FlareSolverr logs. Message: Error: Error solving the challenge. Timeout after 55.0 seconds.: FlareSolverr was unable to process the request, please check FlareSolverr logs. Message: Error: Error solving the challenge. Timeout after 55.0 seconds. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flaresolverr.