-
Notifications
You must be signed in to change notification settings - Fork 316
Open
Description
The curl operation:
curl "http://localhost:8000/api/data" -H "x-hostname: https://nopecha.com/demo/cloudflare" -H "x-proxy: https://192.168.1.248:30002"
output error:
[09:17:11] INFO - cf_bypasser.server.routes - Mirroring GET request to https://nopecha.com/demo/cloudflare/api/data
[09:17:11] INFO - cf_bypasser.server.routes - Using proxy: https://192.168.1.248:30002
[09:17:11] INFO - root - Mirroring GET request to https://nopecha.com/demo/cloudflare/api/data (attempt 1/3)
[09:17:11] INFO - root - No cached cookies for 1a78d81f328d59bc69207c4205f17d26, generating new ones...
[09:17:11] INFO - root - Using OS: macos
[09:17:11] INFO - root - Generated config with UA: Mozilla/5.0 (Macintosh; Intel Mac OS X 14_0; rv:142.0) Gecko/20100101 Firefox/142.0
[09:17:11] INFO - root - Screen resolution: 1366x768
[09:17:11] INFO - root - Using proxy: https://192.168.1.248:30002
C:\Users\win\AppData\Local\Programs\Python\Python312\Lib\concurrent\futures\thread.py:59: LeakWarning: Because you did not pass in a locale region, Camoufox will generate one for you. This can cause suspicion if your IP does not match your locale region.
result = self.fn(*self.args, **self.kwargs)
[09:17:13] INFO - root - Navigating to https://nopecha.com/
[09:17:13] INFO - root - Error solving Cloudflare challenge: Page.goto: NS_ERROR_NET_INTERRUPT
Call log:
- navigating to "https://nopecha.com/", waiting until "domcontentloaded"
[09:17:14] WARNING - root - Request attempt 1 failed: Failed to get Cloudflare clearance cookies, retrying...
[09:17:14] INFO - root - Mirroring GET request to https://nopecha.com/demo/cloudflare/api/data (attempt 2/3)
[09:17:14] INFO - root - No cached cookies for 1a78d81f328d59bc69207c4205f17d26, generating new ones...
[09:17:14] INFO - root - Using OS: linux
[09:17:14] INFO - root - Generated config with UA: Mozilla/5.0 (X11; Linux x86_64; rv:142.0) Gecko/20100101 Firefox/142.0
[09:17:14] INFO - root - Screen resolution: 3840x2160
[09:17:14] INFO - root - Using proxy: https://192.168.1.248:30002
C:\Users\win\AppData\Local\Programs\Python\Python312\Lib\concurrent\futures\thread.py:59: LeakWarning: Because you did not pass in a locale region, Camoufox will generate one for you. This can cause suspicion if your IP does not match your locale region.
result = self.fn(*self.args, **self.kwargs)
[09:17:17] INFO - root - Navigating to https://nopecha.com/
[09:17:17] INFO - root - Error solving Cloudflare challenge: Page.goto: NS_ERROR_NET_INTERRUPT
Call log:
- navigating to "https://nopecha.com/", waiting until "domcontentloaded"
[09:17:17] WARNING - root - Request attempt 2 failed: Failed to get Cloudflare clearance cookies, retrying...
[09:17:18] INFO - root - Mirroring GET request to https://nopecha.com/demo/cloudflare/api/data (attempt 3/3)
[09:17:18] INFO - root - No cached cookies for 1a78d81f328d59bc69207c4205f17d26, generating new ones...
[09:17:18] INFO - root - Using OS: macos
[09:17:18] INFO - root - Generated config with UA: Mozilla/5.0 (Macintosh; Intel Mac OS X 13_0; rv:140.0) Gecko/20100101 Firefox/140.0
[09:17:18] INFO - root - Screen resolution: 1600x900
[09:17:18] INFO - root - Using proxy: https://192.168.1.248:30002
C:\Users\win\AppData\Local\Programs\Python\Python312\Lib\concurrent\futures\thread.py:59: LeakWarning: Because you did not pass in a locale region, Camoufox will generate one for you. This can cause suspicion if your IP does not match your locale region.
result = self.fn(*self.args, **self.kwargs)
[09:17:20] INFO - root - Navigating to https://nopecha.com/
[09:17:20] INFO - root - Error solving Cloudflare challenge: Page.goto: NS_ERROR_NET_INTERRUPT
Call log:
- navigating to "https://nopecha.com/", waiting until "domcontentloaded"
[09:17:21] ERROR - root - Error mirroring request after 3 attempts: Failed to get Cloudflare clearance cookies
[09:17:21] ERROR - root - Traceback (most recent call last):
File "C:\Users\win\Downloads\CloudflareBypassForScraping-main\cf_bypasser\core\mirror.py", line 133, in mirror_request
raise Exception("Failed to get Cloudflare clearance cookies")
Exception: Failed to get Cloudflare clearance cookies
[09:17:21] ERROR - cf_bypasser.server.routes - Error mirroring request: Failed to get Cloudflare clearance cookies
INFO: 127.0.0.1:10374 - "GET /api/data HTTP/1.1" 500 Internal Server Error
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels