Skip to content
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

URIError: URI malformed in Cypress 13.6.1 #28521

Closed
mschile opened this issue Dec 13, 2023 · 2 comments · Fixed by #28522
Closed

URIError: URI malformed in Cypress 13.6.1 #28521

mschile opened this issue Dec 13, 2023 · 2 comments · Fixed by #28522

Comments

@mschile
Copy link
Contributor

mschile commented Dec 13, 2023

We're also seeing this after upgrading to Cypress 13.6.1 from 13.6.0. We're running in a container on the docker image cypress/base:18.16.0. In a suite of about 400 tests that are running parallel on 12 of these containers about 1/3 of the containers will crash with the following error message. Downgrading from 13.6.1 to 13.6.0 fixed the issue.

(Cypress:1324): dconf-CRITICAL **: 16:14:59.417: unable to create directory '/home/node/.cache/dconf': Permission denied.  dconf will not work properly.



(Cypress:1324): dconf-CRITICAL **: 16:14:59.417: unable to create directory '/home/node/.cache/dconf': Permission denied.  dconf will not work properly.



(Cypress:1324): dconf-CRITICAL **: 16:14:59.417: unable to create directory '/home/node/.cache/dconf': Permission denied.  dconf will not work properly.

URI malformed

URIError: URI malformed

    at decodeURI (<anonymous>)

    at u.addPending (<embedded>:4454:27423)

    at A.addPendingBrowserPreRequest (<embedded>:4454:37977)

    at a.addPendingBrowserPreRequest (<embedded>:4454:38767)

    at Q.addBrowserPreRequest (<embedded>:4526:13193)

    at c.onBrowserPreRequest (<embedded>:4526:27079)

    at T.onNetworkRequestWillBeSent (<embedded>:4454:49453)

    at _.emit (node:events:525:35)

    at _._handleMessage (<embedded>:2466:580235)

    at A.<anonymous> (<embedded>:2466:579669)

    at A.emit (node:events:513:28)

    at g.U (<embedded>:2466:564853)

    at g.emit (node:events:513:28)

    at g.dataMessage (<embedded>:2466:545228)

    at g.getData (<embedded>:2466:544410)

    at g.startLoop (<embedded>:2466:541117)

    at g._write (<embedded>:2466:540472)

    at writeOrBuffer (node:internal/streams/writable:392:12)

    at _write (node:internal/streams/writable:333:10)

    at Writable.write (node:internal/streams/writable:337:10)

    at Socket.H (<embedded>:2466:565539)

    at Socket.emit (node:events:513:28)

    at addChunk (node:internal/streams/readable:324:12)

    at readableAddChunk (node:internal/streams/readable:297:9)

    at Readable.push (node:internal/streams/readable:234:10)

    at TCP.onStreamRead (node:internal/stream_base_commons:190:23)

We detected that the electron tab running Cypress tests closed unexpectedly.

Originally posted by @marshallsanders in #28468 (comment)

@mschile
Copy link
Contributor Author

mschile commented Dec 13, 2023

@marshallsanders, would you be able to run with the following DEBUG log turned on (I'd like to know which URL is causing the URI malformed error):

DEBUG=cypress:server:server-base

@cypress-bot
Copy link
Contributor

cypress-bot bot commented Dec 26, 2023

Released in 13.6.2.

This comment thread has been locked. If you are still experiencing this issue after upgrading to
Cypress v13.6.2, please open a new issue.

@cypress-bot cypress-bot bot locked as resolved and limited conversation to collaborators Dec 26, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant