-
-
Notifications
You must be signed in to change notification settings - Fork 98
Cuprite crashes on network request? #149
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
Comments
Maybe it's possible related to #140 ? |
{
"params": {
"requestId": "4871D34F407F90980BC83FC99E159CAA",
"loaderId": "4871D34F407F90980BC83FC99E159CAA",
"documentURL": "http://127.0.0.1:3001/orders/1",
"request": {
"url": "http://127.0.0.1:3001/orders/1",
"method": "GET",
"headers": {
"Upgrade-Insecure-Requests": "1",
"Origin": "http://127.0.0.1:3001",
"Content-Type": "multipart/form-data; boundary=----WebKitFormBoundaryyn178cekapfVpT8U",
"User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/88.0.4324.182 Safari/537.36",
"Referer": "http://127.0.0.1:3001/orders/1/art_jobs/1/edit"
},
"mixedContentType": "none",
"initialPriority": "VeryHigh",
"referrerPolicy": "strict-origin-when-cross-origin"
},
"timestamp": 16196.484,
"wallTime": 1.61496666E9,
"initiator": {
"type": "other"
},
"redirectResponse": {
"url": "http://127.0.0.1:3001/orders/1/art_jobs/1",
"status": 302,
"statusText": "Found",
"headers": {
"X-Frame-Options": "SAMEORIGIN",
"X-XSS-Protection": "1; mode=block",
"X-Content-Type-Options": "nosniff",
"X-Download-Options": "noopen",
"X-Permitted-Cross-Domain-Policies": "none",
"Referrer-Policy": "strict-origin-when-cross-origin",
"Location": "http://127.0.0.1:3001/orders/1",
"Content-Type": "text/html; charset=utf-8",
"Cache-Control": "no-cache",
"Set-Cookie": "_[removed]_operations_session=C9nSQJSMgWmaTl7uX8EK9nJpSR1xU6Xp7XZ9QjmSIo2GV0S36I7qF0K%2FzVZsaedCI3%2BGxMb1UwcTaXA3rdZtwXLDmxTqCPEaGk702nqRmTferxL7H6%2F6pRnMYfM3IQ76AmNMZpkEZEAa9Y31lPMgyvsDohqbd%2FmTHHZNtPyhHSUMVJXdTK6dyc%2BiAU9yYoRJTP5v8zoYIyfcuzyGx8K6ZB%2FluwEd3inOSfNxTXAnIoYbsTHf%2BNALtIHBRuAf%2FFVtJ9p98NiodypKsyVQROvQsecgF5vcu5EGbhx9T8anIk3xA3C4mfW2Mk%2FTE%2F%2Fhya6VRTxqrpKLIaKhEHXVRHC%2F0xzkIGdQg0nwCAyK31R3G6z1FCcs8vqx2M7Ybo1n5CcOXoO%2B8ERPRSZkapb2KjnSB1Ee3SnmUk7ZLSutoUA%3D--p3dtnKHurDxlDNFX--T95JMMhYHT2v5IZgn0udlw%3D%3D; path=/; HttpOnly; SameSite=Lax",
"X-Request-Id": "0f4faa98-7ec6-4a5e-9749-8daaaf860a99",
"X-Runtime": "1.461777",
"Transfer-Encoding": "chunked"
},
"headersText": "HTTP/1.1 302 FoundrnX-Frame-Options: SAMEORIGINrnX-XSS-Protection: 1; mode=blockrnX-Content-Type-Options: nosniffrnX-Download-Options: noopenrnX-Permitted-Cross-Domain-Policies: nonernReferrer-Policy: strict-origin-when-cross-originrnLocation: http://127.0.0.1:3001/orders/1rnContent-Type: text/html; charset=utf-8rnCache-Control: no-cachernSet-Cookie: _[removed]_operations_session=C9nSQJSMgWmaTl7uX8EK9nJpSR1xU6Xp7XZ9QjmSIo2GV0S36I7qF0K%2FzVZsaedCI3%2BGxMb1UwcTaXA3rdZtwXLDmxTqCPEaGk702nqRmTferxL7H6%2F6pRnMYfM3IQ76AmNMZpkEZEAa9Y31lPMgyvsDohqbd%2FmTHHZNtPyhHSUMVJXdTK6dyc%2BiAU9yYoRJTP5v8zoYIyfcuzyGx8K6ZB%2FluwEd3inOSfNxTXAnIoYbsTHf%2BNALtIHBRuAf%2FFVtJ9p98NiodypKsyVQROvQsecgF5vcu5EGbhx9T8anIk3xA3C4mfW2Mk%2FTE%2F%2Fhya6VRTxqrpKLIaKhEHXVRHC%2F0xzkIGdQg0nwCAyK31R3G6z1FCcs8vqx2M7Ybo1n5CcOXoO%2B8ERPRSZkapb2KjnSB1Ee3SnmUk7ZLSutoUA%3D--p3dtnKHurDxlDNFX--T95JMMhYHT2v5IZgn0udlw%3D%3D; path=/; HttpOnly; SameSite=LaxrnX-Request-Id: 0f4faa98-7ec6-4a5e-9749-8daaaf860a99rnX-Runtime: 1.461777rnTransfer-Encoding: chunkedrnrn",
"mimeType": "text/html",
"requestHeaders": {
"Host": "127.0.0.1:3001",
"Connection": "keep-alive",
"Content-Length": "1606",
"Cache-Control": "max-age=0",
"Upgrade-Insecure-Requests": "1",
"Origin": "http://127.0.0.1:3001",
"Content-Type": "multipart/form-data; boundary=----WebKitFormBoundaryyn178cekapfVpT8U",
"User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/88.0.4324.182 Safari/537.36",
"Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9",
"Sec-Fetch-Site": "same-origin",
"Sec-Fetch-Mode": "navigate",
"Sec-Fetch-User": "?1",
"Sec-Fetch-Dest": "document",
"Referer": "http://127.0.0.1:3001/orders/1/art_jobs/1/edit",
"Accept-Encoding": "gzip, deflate, br",
"Cookie": "_[removed]_operations_session=fZNeYCg70eTl8Vg4UOyJxpc4bGMMb%2BIoJnnFuAU%2F2Oc9v%2B4AMojfqs1%2BhwbuWZhXbwK0RY%2B7bPrRYxcPhIiTmtHeV25gOP5xjY7JXOosOHW%2FNDAKgJGTwVW6DSKJGe2VCIbB9v8GHPIjipFCLo2dJRhpYNk9cF5sTcpB2LtnY%2BfIXfc2xDi7KJS7GYiHepIu6vewT1pkAvKOpvwwAr0J3hMv560SYLZM34D4qYuarB09fB1ipGzJuxmASgvSKiw%2Fw%2FMyE%2F1WtN1Ju0tlbEo2b2vd9esw1LTNGEVV2hd0lbV%2F--8t1h6rFd844cuMp8--IPKK4DFIaBllSDGxeRfvAA%3D%3D"
},
"requestHeadersText": "POST /orders/1/art_jobs/1 HTTP/1.1rnHost: 127.0.0.1:3001rnConnection: keep-alivernContent-Length: 1606rnCache-Control: max-age=0rnUpgrade-Insecure-Requests: 1rnOrigin: http://127.0.0.1:3001rnContent-Type: multipart/form-data; boundary=----WebKitFormBoundaryyn178cekapfVpT8UrnUser-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/88.0.4324.182 Safari/537.36rnAccept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9rnSec-Fetch-Site: same-originrnSec-Fetch-Mode: navigaternSec-Fetch-User: ?1rnSec-Fetch-Dest: documentrnReferer: http://127.0.0.1:3001/orders/1/art_jobs/1/editrnAccept-Encoding: gzip, deflate, brrnCookie: _[removed]_operations_session=fZNeYCg70eTl8Vg4UOyJxpc4bGMMb%2BIoJnnFuAU%2F2Oc9v%2B4AMojfqs1%2BhwbuWZhXbwK0RY%2B7bPrRYxcPhIiTmtHeV25gOP5xjY7JXOosOHW%2FNDAKgJGTwVW6DSKJGe2VCIbB9v8GHPIjipFCLo2dJRhpYNk9cF5sTcpB2LtnY%2BfIXfc2xDi7KJS7GYiHepIu6vewT1pkAvKOpvwwAr0J3hMv560SYLZM34D4qYuarB09fB1ipGzJuxmASgvSKiw%2Fw%2FMyE%2F1WtN1Ju0tlbEo2b2vd9esw1LTNGEVV2hd0lbV%2F--8t1h6rFd844cuMp8--IPKK4DFIaBllSDGxeRfvAA%3D%3Drn",
"connectionReused": true,
"connectionId": 13,
"remoteIPAddress": "127.0.0.1",
"remotePort": 3001,
"fromDiskCache": false,
"fromServiceWorker": false,
"fromPrefetchCache": false,
"encodedDataLength": 1016,
"timing": {
"requestTime": 16195.019,
"proxyStart": -1,
"proxyEnd": -1,
"dnsStart": -1,
"dnsEnd": -1,
"connectStart": -1,
"connectEnd": -1,
"sslStart": -1,
"sslEnd": -1,
"workerStart": -1,
"workerReady": -1,
"workerFetchStart": -1,
"workerRespondWithSettled": -1,
"sendStart": 0.164,
"sendEnd": 0.234,
"pushStart": 0,
"pushEnd": 0,
"receiveHeadersEnd": 1465.647
},
"responseTime": 1.61496669E12,
"protocol": "http/1.1",
"securityState": "secure"
},
"type": "Document",
"frameId": "D46927EEB77B51F8F2281BAE19C34EB4",
"hasUserGesture": true
},
"request": {
"url": "http://127.0.0.1:3001/orders/1",
"method": "GET",
"headers": {
"Upgrade-Insecure-Requests": "1",
"Origin": "http://127.0.0.1:3001",
"Content-Type": "multipart/form-data; boundary=----WebKitFormBoundaryyn178cekapfVpT8U",
"User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/88.0.4324.182 Safari/537.36",
"Referer": "http://127.0.0.1:3001/orders/1/art_jobs/1/edit"
},
"mixedContentType": "none",
"initialPriority": "VeryHigh",
"referrerPolicy": "strict-origin-when-cross-origin"
}
} |
The crash occurs specifically after the I've already set Any other ideas? |
I don’t think it’s cuprite or capybara, you better look for chrome cdp bugs. Did you try to turn off blacklisting? |
Yes, tried with blacklisting disabled. No luck there. It's weird because you can see that the redirect occurs and completes successfully with status code 200. But then immediately after the redirect, the page crashes. So weird. |
Can you try modifying that page after redirect? To triage the issue at least, maybe comment out some js |
Hello. Thanks for your feedback. I was able to fix this issue. Didn't mention I was running WSL. Fixed it by creating a symlink to the Windows
|
It looks like cuprite is crashing inexplicably while running tests. Specifically, it crashes when being directed to a new page when a Submit form button is clicked.
Here's the log:
Is there any way to get more info on why it's crashing or cancelling the requesting?
The text was updated successfully, but these errors were encountered: