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

Crash report: Error: STRINGPREP_CONTAINS_UNASSIGNED #2876

Closed
harrisonlingren opened this issue Nov 30, 2021 · 5 comments · Fixed by #2925
Closed

Crash report: Error: STRINGPREP_CONTAINS_UNASSIGNED #2876

harrisonlingren opened this issue Nov 30, 2021 · 5 comments · Fixed by #2925
Assignees

Comments

@harrisonlingren
Copy link

URL

https://app.uniswap.org/#/swap

swap state

{
  "INPUT": {
    "currencyId": "ETH"
  },
  "OUTPUT": {
    "currencyId": null
  },
  "independentField": "INPUT",
  "typedValue": "",
  "recipient": null
}

Error

Error: STRINGPREP_CONTAINS_UNASSIGNED

Stacktrace

Error: STRINGPREP_CONTAINS_UNASSIGNED
    at https://app.uniswap.org/static/js/34.d906cff3.chunk.js:2:1137959
    at Array.forEach (<anonymous>)
    at y (https://app.uniswap.org/static/js/34.d906cff3.chunk.js:2:1137922)
    at k (https://app.uniswap.org/static/js/34.d906cff3.chunk.js:2:1138563)
    at https://app.uniswap.org/static/js/main.df42f964.chunk.js:1:377646
    at Sn (https://app.uniswap.org/static/js/main.df42f964.chunk.js:1:377871)
    at ua (https://app.uniswap.org/static/js/34.d906cff3.chunk.js:2:1249509)
    at Ha (https://app.uniswap.org/static/js/34.d906cff3.chunk.js:2:1259076)
    at $u (https://app.uniswap.org/static/js/34.d906cff3.chunk.js:2:1302800)
    at Ps (https://app.uniswap.org/static/js/34.d906cff3.chunk.js:2:1289050)

Device data

{
  "ua": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36",
  "browser": {
    "name": "Chrome",
    "version": "96.0.4664.45",
    "major": "96"
  },
  "engine": {
    "name": "Blink",
    "version": "96.0.4664.45"
  },
  "os": {
    "name": "Windows",
    "version": "10"
  },
  "device": {},
  "cpu": {
    "architecture": "amd64"
  }
}
@Rachel-Eichenberger
Copy link
Contributor

Not sure this will help, but did a little tracing with user
https://discord.com/channels/597638925346930701/915096791249195029

worked in another browser outside chrome. 1 error the user posted not sure where it came from and didn't see in other screen shots
image

@harrisonlingren
Copy link
Author

Yep I get a similar error trace in my console

Error: STRINGPREP_CONTAINS_UNASSIGNED
    at idna.ts:193
    at Array.forEach (<anonymous>)
    at y (idna.ts:191)
    at k (namehash.ts:40)
    at useENSAvatar.ts:32
    at Sn (index.tsx:24)
    at ua (react-dom.production.min.js:157)
    at Ha (react-dom.production.min.js:180)
    at $u (react-dom.production.min.js:269)
    at Ps (react-dom.production.min.js:250)

@Rachel-Eichenberger
Copy link
Contributor

@moodysalem sorry to ping you with this, not sure it's your area. But I may have a lead as to the error
user in discord has this only on one address and it has ens entries
The ens uses more than standard ascii, perhaps it's out of bounds set for the characters

to keep users address from here, posting discord ticket link

https://discord.com/channels/597638925346930701/915288950321594368/915813016237404190

@harrisonlingren
Copy link
Author

harrisonlingren commented Dec 2, 2021

Ah that's likely the issue with mine as well, I have an emoji character in my ENS name.

@ksaynice
Copy link

ksaynice commented Dec 2, 2021

I guess I had the same issue (have an emoji character in my ENS name)
so how to address this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants