status-im / status-mobile

a free (libre) open source, mobile OS for Ethereum
https://status.app
Mozilla Public License 2.0
3.85k stars 984 forks source link

User can not add his existing ENS name to v.1 app #20468

Open mariia-skrypnyk opened 3 weeks ago

mariia-skrypnyk commented 3 weeks ago

Bug Report

We found this issue while testing Profile data migration in scope of https://github.com/status-im/status-mobile/pull/20412 testing. Also there is an email from Theo Loth [theo@loth.nl](mailto:theo@loth.nl) where the user reports the same issue.

Reproduction

  1. Install app with v.1 (you can find it here)
  2. Recover your account that contain ENS name
  3. Go to Profile -> ENS
  4. Enter your ENS name

Expected behavior

ENS name exist and available to be added to your Profile

Actual behavior

User cannot add his ENS name. Error : Username doesn't belong to you :(

Screenshot 2024-06-14 at 15 05 39

Logcat logs: ENS.log.zip Shake logs: Status-debug-logs.zip

Additional Information

ilmotta commented 2 weeks ago

@mariia-skrypnyk, isn't the issue https://github.com/status-im/status-mobile/issues/20474 a duplicate of this one (or vice-versa)? If they are duplicates, we can close one of them.

mariia-skrypnyk commented 2 weeks ago

Ops @ilmotta 😵‍💫 , will communicate to @qfrank and close one of this

qfrank commented 2 weeks ago

Hi @mariia-skrypnyk , what network were you using when reproducing Username doesn't belong to you ? Did you try Mainnet ?

mariia-skrypnyk commented 2 weeks ago

Hey @qfrank !

Thanks for working on this issue.

I've rechecked on iOS v.1 app and it happens on Mainnet.

Screenshot 2024-06-18 at 12 38 44
qfrank commented 2 weeks ago

Hey @qfrank !

Thanks for working on this issue.

I've rechecked on iOS v.1 app and it happens on Mainnet.

Screenshot 2024-06-18 at 12 38 44

Hi @mariia-skrypnyk , where you get the v.1 ios version ? I'm unable to switch network

image
qfrank commented 2 weeks ago

on goerli network, when searching ens name owner, the backend got this error:

t=2024-06-18T14:45:01+0000 lvl=eror msg="failed to obtain owner of ENS username" error="{\"request_id\":\"71573f91d2\", \"details\":\"error processing the request: error parsing relay: chain not found by alias goerli-archival or domain goerli-archival.rpc.grove.city\"}"
t=2024-06-18T14:45:01+0000 lvl=warn msg="Served ens_ownerOf" reqid=33 t=212.544692ms err="{\"request_id\":\"71573f91d2\", \"details\":\"error processing the request: error parsing relay: chain not found by alias goerli-archival or domain goerli-archival.rpc.grove.city\"}"

cc @cammellos

qfrank commented 2 weeks ago

on mainnet (I used local debug ios build and default to mainnet), when searching ens name owner, the backend got this error:

t=2024-06-19T10:01:44+0000 lvl=eror msg="failed to obtain owner of ENS username" error="Post \"https://eth-archival.gateway.pokt.network/v1/lb/\": EOF"
t=2024-06-19T10:01:44+0000 lvl=warn msg="Served ens_ownerOf" reqid=35 t=9.019137875s err="Post \"https://eth-archival.gateway.pokt.network/v1/lb/\": EOF"

cc @cammellos

mariia-skrypnyk commented 2 weeks ago

Hi @qfrank !

I have it in my Testflight app. @siddarthkay created them for testing.

1.20.6

photo_2024-06-21_10-55-55

qfrank commented 2 weeks ago

ok, could you try this PR? thank you @mariia-skrypnyk

churik commented 2 weeks ago

cross-linking with https://github.com/status-im/status-mobile/issues/18760