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

badge42 no longer working? #87

Open
cclaude42 opened this issue Nov 28, 2023 · 9 comments
Open

badge42 no longer working? #87

cclaude42 opened this issue Nov 28, 2023 · 9 comments
Assignees

Comments

@cclaude42
Copy link

For several weeks, I have not been able to get badge42 to work.

After checking several profiles, this seems to be a global issue.

Browsers tried :

  • Firefox
  • Google Chrome

Neither seem to work ; image just displays as a blue link.

@cclaude42
Copy link
Author

Update : identified the root cause.

When going to https://badge42.vercel.app/ :

  • This Deployment has been disabled.
  • 402: PAYMENT_REQUIRED

This seems to be a billing issue ; either a credit card expired (in which case, fairly easy to fix), or you no longer have the funding to maintain the project (which proves more challenging)

Which is it?

@Coday-meric
Copy link

I maintain and host the project on my fork. Go https://github.com/Coday-meric/badge42.

@cclaude42
Copy link
Author

@Coday-meric nice fork! Works well at least. I have a couple questions if you don't mind though :

  • Why does it require a sign-in?
  • Is the badge I generated on the website dynamic? What I mean is, if I change my XP level, and I don't go through your website again, will my badge reflects my updated progress?

@Coday-meric
Copy link

Thanks but most of the work was done by @JaeSeoKim.

Sign-in with 42 API is requierd for recover all data of your 42 profil.
Github is not essential.

Yes your badge is dynamic for your XP, project score and all other feature.

@JaeSeoKim
Copy link
Owner

JaeSeoKim commented Dec 11, 2023

I'm sorry for the late reply. @Coday-meric @cclaude42

The service is currently down because the free tier supply of "vercel" has been exceeded.
To solve this problem, the operating time of the serverless function must be reduced or paid.

Currently, maintenance was not possible due to the mandatory military service period.
In addition, 42Intra's A.G.U is also activated, and even API keys and logins have expired.

The positive part is that my mandatory military service period is almost over, so I can return to the 42 Seoul campus from next year.
Thank you @Coday-meric for hosting, and please contact me if you need any additional help.

The reason why sign in was requried was because there was a problem with GDPR

In addition, the reason for implementing github login is to ensure that records are preserved even when 42Intra expires like me

@cclaude42
Copy link
Author

@JaeSeoKim thank you for your detailed reply!

You clarified a few key points ; from my current understanding, you're the one who implemented the features I had asked @Coday-meric about? I thought it was specific to his fork, but your explanation suggests otherwise.

Glad to hear your service is almost over.
When you get back, if that interests you, I'd be happy to look into solutions with you.

(Off the top of my head, we could consider optimizing the serverless function, setting up Github Sponsoring for Vercel costs, balancing the load between a few students, switching providers, refactoring the architecture with a caching & free-tier approach... a lot of exciting options!)

@Coday-meric
Copy link

Hello, @cclaude42

I haven't added or removed any features from the initial project.
I simply added Docker support to allow anyone to host the solution.
To resolve the Vercel problem, I also called on my server to allow the use of the service easily.

Nice day !

@Coday-meric
Copy link

@JaeSeoKim welcome back among the 42 students !

No problem it was a shame to leave your work abandoned. And if you need a helping hand call me.

@JaeSeoKim
Copy link
Owner

Hello, @cclaude42 @Coday-meric. now I'm back to the 42 students!

so, I start to fix badge42 projects.

The idea I'm thinking about is no longer offering it as a web service.
I aim to turn automation scheduling through GitHub Action to create Badge 42 for individuals in need.

This will allow you to create a badge regardless of the maintenance of the project, and it is expected to be freely customized and used because it remains open source.

When I approached the DB for the first time in a while and checked it, I was surprised to see more than 3,300 users, and I was happy to think that it was a much-loved service.

If you have any better opinions, I would appreciate it if you could tell me.

@JaeSeoKim JaeSeoKim self-assigned this Jan 10, 2024
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

No branches or pull requests

3 participants