EvalAI icon indicating copy to clipboard operation
EvalAI copied to clipboard

Warn users that their tokens have expired

Open gchhablani opened this issue 2 years ago • 21 comments

Warn users that their tokens have expired. Find a way to suggest to the users that their tokens might have expired when they try to fetch the tokens. Suggest is in a error message or remind them to refresh tokens. This might also need backend changes to check if token is expired and probably writing a frontend function to call that endpoint.

gchhablani avatar Apr 13 '23 20:04 gchhablani

@gchhablani If it is open, can i try it?

saimadhav24 avatar Apr 13 '23 20:04 saimadhav24

@saimadhav24 Sure, please go ahead.

gchhablani avatar Apr 13 '23 20:04 gchhablani

@gchhablani Thank you

saimadhav24 avatar Apr 13 '23 20:04 saimadhav24

@gchhablani I have been getting the following error while running docker-compose, please help:

failed to solve: rpc error: code = Unknown desc = failed to solve with frontend dockerfile.v0: failed to create LLB definition: pull access denied, repository does not exist or may require authorization: server message: insufficient_scope: authorization failed

saimadhav24 avatar Apr 14 '23 10:04 saimadhav24

@gchhablani I have been getting the following error while running docker-compose, please help:

failed to solve: rpc error: code = Unknown desc = failed to solve with frontend dockerfile.v0: failed to create LLB definition: pull access denied, repository does not exist or may require authorization: server message: insufficient_scope: authorization failed

You may refer here it'll solve it. https://stackoverflow.com/questions/64221861/an-error-failed-to-solve-with-frontend-dockerfile-v0

AyushR1 avatar Apr 15 '23 06:04 AyushR1

@AyushR1 I have tried some methods of above link, nothing seems to work, is it some authorization issue, like its giving the message pull access denied.

saimadhav24 avatar Apr 16 '23 07:04 saimadhav24

@AyushR1 I have tried some methods of above link, nothing seems to work, is it some authorization issue, like its giving the message pull access denied.

Join/see the Slack channel, the same problems were discussed earlier on it.

AyushR1 avatar Apr 17 '23 05:04 AyushR1

@AyushR1 I will be working on it, can you give me a deadline, like i need some time because of my college work i need some time

saimadhav24 avatar Apr 18 '23 12:04 saimadhav24

@AyushR1 I will be working on it, can you give me a deadline, like i need some time because of my college work i need some time

I am not the mainteinter @saimadhav24 I am a contributor and I just tried to help you out!

AyushR1 avatar Apr 18 '23 15:04 AyushR1

@AyushR1 Where can i find slack channel?

saimadhav24 avatar Apr 22 '23 21:04 saimadhav24

Hey @saimadhav24 are you still working on this issue ? If not, can I be assigned to it?

pratyaksh29 avatar May 08 '23 10:05 pratyaksh29

@pratyaksh29 i am stuck on it , i am getting the same old error

saimadhav24 avatar May 08 '23 10:05 saimadhav24

While I don't have direct experience with frontend and backend development, I'm eager to learn and willing to take on this challenge. I'm confident that I can learn the necessary skills and work collaboratively to help with this feature.

w7Pratham avatar Aug 13 '23 18:08 w7Pratham

If it is open, can i work on it?

Sourav-Kumar-Panda avatar Sep 11 '23 20:09 Sourav-Kumar-Panda

can i work on it?

niteshsiingh avatar Dec 06 '23 18:12 niteshsiingh

I can fix this issue. If this is still open please assign this to me

Divyansh044 avatar Jan 14 '24 13:01 Divyansh044

Hi I am keenly interested in addressing specific issues and am earnestly hopeful of having the opportunity to engage with them further.

Mo7ammad-safwat avatar Mar 09 '24 01:03 Mo7ammad-safwat

Hey @gchhablani, has this issue been fixed? If not, please assign it to me...

Ashish8329 avatar Mar 10 '24 12:03 Ashish8329

Hey @gchhablani, has this issue been fixed? If not, please assign it to me...

This issue is still open feel free to work on this @Ashish8329

Suryansh5545 avatar Mar 10 '24 16:03 Suryansh5545

could, you please assigning it to me? @Suryansh5545

Ashishauti2302 avatar Mar 10 '24 16:03 Ashishauti2302

Warn users that their tokens have expired. Find a way to suggest to the users that their tokens might have expired when they try to fetch the tokens. Suggest is in a error message or remind them to refresh tokens. This might also need backend changes to check if token is expired and probably writing a frontend function to call that endpoint.

@Suryansh5545 can you please review the pr "https://github.com/Cloud-CV/EvalAI/pull/4298" it is solved

AishwaryJain07 avatar Mar 14 '24 20:03 AishwaryJain07