Git Product home page Git Product logo

Comments (37)

games647 avatar games647 commented on May 31, 2024 2

I contacted the owner of mcapi.ca to make it possible to use both services. Example: Check mcapi.ca first and then us.mc-api.net.

from changeskin.

games647 avatar games647 commented on May 31, 2024 1

Mojang limits the number API requests we can make. There are tons of services like mcapi.ca, us.mc-api.net ... to workaround this caching the same requests for multiple requests. If the request isn't cached they will make requests the requests to Mojang. The rate-limit is IPv4 wide. mcapi.ca uses for example multiple IPv4-addresses to still make requests to Mojang, because they will possible hit the limit faster if they do that for other servers too.

The rate-limit for:
name->uuid conversions is by 600 requests per minute and each request can contain up to 100 usernames.
uuid->skin same user one minute

The problem is that plugins like ChangeSkin and SkinRestorer need the UUID and because the server is in offline mode, we have to ask the Mojang API for it.

from changeskin.

games647 avatar games647 commented on May 31, 2024 1

The author of mcapi.ca replied that he will implement the requested changes and says that he also improved the caching mechanism. I already experienced that it worked better as before.

So I might switch to mcapi.ca nad use us.mc-api.net as backup solution.

Why? Because the owner of mcapi.ca will make changes to make it clear that if a user is cracked or just the fetch failed.

from changeskin.

games647 avatar games647 commented on May 31, 2024 1

And now us.mc-api.net is hitting a lot rate-limits.

from changeskin.

games647 avatar games647 commented on May 31, 2024

Really you're blocked from Cloudflare?

Oh man, this means the alternative site mcapi.ca is also blocked.

from changeskin.

netherstar avatar netherstar commented on May 31, 2024

No, i'm not blocked from cloudflare. Cloudflare just ask me confirm on first time i access https://us.mc-api.net/v3/uuid/Hirita.

from changeskin.

games647 avatar games647 commented on May 31, 2024

403 stands for forbidden. Maybe your server got blocked because of the unusual source of the traffic.

Do you still get this error? If not I think you have to solve the captcha from the ip of the server. Maybe tunnel your connection to that server and then access the website.

Can you access one of these without the captcha?

from changeskin.

netherstar avatar netherstar commented on May 31, 2024

current (now), access from my pc (not server)
No captch: https://craftapi.com/api/user/uuid/Krymonota
Captcha: https://eu.mc-api.net/
No Captcha: https://mcapi.de/
No Captcha: https://craftapi.com/user-api

from changeskin.

games647 avatar games647 commented on May 31, 2024

And https://mcapi.ca?

from changeskin.

netherstar avatar netherstar commented on May 31, 2024

No captcha: https://mcapi.ca

from changeskin.

games647 avatar games647 commented on May 31, 2024

I'll ask the owners of us.mc-api.net if they adjust the settings.

from changeskin.

netherstar avatar netherstar commented on May 31, 2024

and, what is this?

[15:46:45] [Server thread/INFO]: [ChangeSkin] Received instant update request from BungeeCord. This request should only be send if the command /setskin was invoked
[15:46:45] [Server thread/INFO]: [ChangeSkin] Instant update for

from changeskin.

games647 avatar games647 commented on May 31, 2024

It's a debug message to fix the random skin issue a BungeeCord user has.

from changeskin.

games647 avatar games647 commented on May 31, 2024

Could you try this version: https://github.com/games647/ChangeSkin/releases/tag/user-agent

from changeskin.

netherstar avatar netherstar commented on May 31, 2024

ok, try now

from changeskin.

netherstar avatar netherstar commented on May 31, 2024

still not fixed: http://paste.ubuntu.com/17686792/

from changeskin.

games647 avatar games647 commented on May 31, 2024

I've contacted them.

from changeskin.

games647 avatar games647 commented on May 31, 2024

Is Hirita a new player?

from changeskin.

netherstar avatar netherstar commented on May 31, 2024

i'm not sure, my network current has 400 player online, so not sure she is new, or old.
But This error spam bungeecord console (every 30 second), are you want i send you full log of bungeecord?

from changeskin.

games647 avatar games647 commented on May 31, 2024

Here is a version which accesses the mc-api.de

https://github.com/games647/ChangeSkin/releases/tag/mc-api-de

from changeskin.

netherstar avatar netherstar commented on May 31, 2024

in mc-api-de version:
don't has 403 error but has this error:
http://paste.ubuntu.com/17735246/

from changeskin.

games647 avatar games647 commented on May 31, 2024

Next try with craftapi

https://github.com/games647/ChangeSkin/releases/tag/craftapi

from changeskin.

netherstar avatar netherstar commented on May 31, 2024

when i try version: https://github.com/games647/ChangeSkin/releases/tag/fix-limit
403 and other errors in this topic seem to be fixed, but this error is come back: #22

from changeskin.

games647 avatar games647 commented on May 31, 2024

You should try the crafapi one. It''s separated into different branches

from changeskin.

netherstar avatar netherstar commented on May 31, 2024

@games647 try craftapi version this is error: http://paste.ubuntu.com/17782256/
and issues #22 still not fixed!

from changeskin.

games647 avatar games647 commented on May 31, 2024

Does this happen immediately or after a few times.

from changeskin.

netherstar avatar netherstar commented on May 31, 2024

i dont understand what your mean!?
But with my network 400 player online, every 30 second, above error appear in bungeecord.

from changeskin.

netherstar avatar netherstar commented on May 31, 2024

i think every time player access to network.
now i use fix-limit version.

from changeskin.

games647 avatar games647 commented on May 31, 2024

I'm going to move back to us.mc-api.net as they said they fixed it.

from changeskin.

netherstar avatar netherstar commented on May 31, 2024

i see plugin SkinRestorer use: mcapi.ca, and i never have issues.

from changeskin.

games647 avatar games647 commented on May 31, 2024

The issue in mcapi.ca is that they have big rate-limiting issues which where the ChangeSkin would receive a response as the player is cracked.

from changeskin.

netherstar avatar netherstar commented on May 31, 2024

@games647
Changskin 1.7.3
with popular skin like "Notch".../skin skin-name work, but many skin (not popular) won't work, like "quicksilver", "QuicksilverDC"....
i find skin name (premium name) from this website: mcskinsearch.com
when i use plugin SkinRestorer, all skin from this website work fine!

from changeskin.

games647 avatar games647 commented on May 31, 2024

with popular skin like "Notch".../skin skin-name work, but many skin (not popular) won't work, like "quicksilver", "QuicksilverDC"....

Because the Notch name is cached. I tried mcapi.ca with another user and worked only for a few skins. Every other response return a cracked response. This is very error-prone, because you should response a clear error when the server hits a rate-limit.

from changeskin.

netherstar avatar netherstar commented on May 31, 2024

what is rate limit? number of skins is allowed to download on 1 minutes? how i can fix rate limit?
or how to fix this issues?
my english very bad, sorry, i'm try to understand what your meant.

from changeskin.

netherstar avatar netherstar commented on May 31, 2024

is it mean that i can't fix anything? only wait for you fix it?

from changeskin.

games647 avatar games647 commented on May 31, 2024

If you didn't noticed I'm completely switching to mcapi.ca (d8e1ce9) as primary third-party api.

from changeskin.

games647 avatar games647 commented on May 31, 2024

If that will fail, I'm using us.mc-api.net as backup solution.

from changeskin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.