#Failed at getting linked roles user data

1 messages · Page 1 of 1 (latest)

languid patrol
#

While trying to use the new semblance_bot Semblance Discord bot feature with the OAuth authentication, I followed the instructions to authorise the bot in Discord successfully, but when I return to the Cells app itself and clicked the "Update Stats" button, I got the error message "Internal Error: Failed at getting linked roles user data". I have tried this several times unsuccessfully over a couple of days, with exactly the same result.

I am playing Cell to Singularity on a mobile device, a Samsung Galaxy A73 5G (SM-A736B/DS), running Android 13. I have Cells v17.92 installed, and Discord v177.21-Stable installed.

honest marsh
#

@waxen depot

waxen depot
languid patrol
waxen depot
#

there seems to be some token issues, probably cause so many people are using the thing that discord could possibly be ratelimiting me, I have no idea what's causing it other than that guess. You could try re-doing the oauth

#

oh, wait, I just realized you also had this issue yesterday, before the announcement, my brain blanked out and didn't realize I'm in the bug report channel lmao.

#

@languid patrol have you tried doing it a second time at least? lul

languid patrol
waxen depot
#

discord could be doing something quirky with the token it generated, so here's another idea, completely remove Semblance's connection from your account then retry the whole process

languid patrol
#

I wonder if maybe your email address resolver isn't RFC 5233 compliant?

waxen depot
#

no, the error that I get from your specific interactions are discord oauth token related

#

I have logs of errors

languid patrol
#

Okay, so your bot will accept the + plus symbol in my email address?

waxen depot
#

yes, the API doesn't do anything special with the email other than verifies it with the Game Transfer's API

languid patrol
#

I sometimes come across RFC 5233 non-compliance issues, because I use the + symbol all the time in my email addresses.

languid patrol
#

@waxen depot I deactivated the semblance_bot Semblance bot in discord Discord, then I went back through the procedure again to authorise the bot anew, but I still got the exact same responses. Discord authorises it fine, but the Cells app still says no. Same error message.

waxen depot
#

I will test out some stuff to figure out what's wrong with yours specifically

languid patrol
#

My guess is that something somewhere in your stack needs updating to make it RFC 5233 compliant.

waxen depot
waxen depot
languid patrol
#

Do you have other users who have been through this procedure successfully, who also have a + in their email address?

waxen depot
#

I don't have logs of who's emails have gone through, so I wouldn't know

languid patrol
#

Ah, okay. I'll leave you to your testing then.

waxen depot
#

@languid patrol just for testing, could you dm me your email?

languid patrol
waxen depot
#

cells

languid patrol
#

Okay, will do.

languid patrol
# waxen depot I really have no idea how any of the things that I use *wouldn't* be compliant w...

You would be surprised at how many, even major international websites, are still not fully compliant with RFC 5233. It is an ongoing frustration for me, but I prefer to use individual email aliases to help me combat spam. The idea of the alias is, for example, that I only use my Cells email address for playing Cells. If I start getting spam on that particular email alias then I know that the Cells server has been compromised and I can notify you and temporarily shut down that alias.

agile glade
#

Guess things were funky for some time today. At one point of time my Dino ranks showed 517, I updated status again and it went back up to 550. Things are a bit off today with the updates I guess.

waxen depot
#

@languid patrol just to confirm, did it give this response when you tried to do the whole process again?

languid patrol
waxen depot
#

@languid patrol have you tried logging out of your game transfer account then logging back in, then going through the oauth process

languid patrol
languid patrol
languid patrol
#

Ah, it is hidden away. Right.

#

Okay, I did that, @waxen depot, but I still get the exact same result. Should I shut down the app between logging out of my game transfer account and logging back in, perhaps?

waxen depot
#

that's weird, if that didn't work, I really don't understand what's going on, cause your account is linked in my db yet you somehow aren't able to update stats

languid patrol
#

@waxen depot Sorry to harp on about it, but I still think this might be yet another RFC 5233 issue. I assume that I can't simply change my email address for the game without losing all of my progress in it. I could however create an alt account and try that without the + plus symbol, just to prove it works at my end like that. Alternatively, can you test from your end with an email address containing the + plus symbol?

waxen depot
#

I'd need a separate discord account to properly test that and I don't want to create a random discord account at the moment

#

one sec, I'll try to setup a separate game transfer and new discord account to try this out

#

@languid patrol I can't believe a + is what's causing these problems, it's having issues with my account that I created with an alias

#

unfortunately, don't know where the issue lies in yet, so will dig deeper

#

sadly, this is something that needs to be fixed in the game, which I'm about to do but that means you won't be able to have the fix available likely for a couple weeks

languid patrol
#

It is sure to be some silly little include file or other low-level requirement of your build stack that isn't RFC 5233 compliant.

waxen depot
# languid patrol Yep, if you are actually gonna fix it, then I will quite happily wait. So many d...

I already created an alt account to test it, which is how I found out it was cause of the alias. Also, I've pushed the fix now so you can expect it to come whenever the next update may be, but for now, you could technically get the linking to work before waiting for the update. All you'd have to do is go to your web history, find a url that says https://semblance.services/linked-roles?email=... and if you copy that whole url that has all of your required credentials, you just need to replace the + in the email with uri encoded +

#

but you may need to use the oauth page button again to make sure it has the latest token in the url since I'm pretty sure the last time you opened it was like an hour or more ago, which would make the token in the url expired

#

this is the URI encoding of +: %2B

languid patrol
#

Okay, I'll try that then. Thanks so much for your persistence with this.

languid patrol
waxen depot
#

damn, why don't browsers keep the history of redirecting urls NOOOOO

languid patrol
#

Bugger.

#

I can wait until the next version roll-out. I'm in no hurry.

#

If I have no roles in the server for a couple of weeks, while you remove the (old) roles, I don't mind.