When adding a user to my whitelist I receive a "That player does not exist" error. Here is a similar ticket, WEB-4457, which explains how the whitelisting curl request works.
I am able to run the curl request on my residential network so it appears the server is not down. However, I asked my host to run the curl request on their node and it appears that Mojang's CDN, CloudFront, is blocking the connection. I asked my host try it on a node in a different datacenter location, thinking I could just transfer my server, and they encountered the same issue. It would appear for that CloudFront is blocking datacenters from making the curl request necessary for whitelisting. This is problematic because many Minecraft servers are run in datacenters. I have attached a screenshot of the CloudFront error.
Attachments
Comments 5
Short answer: I am connecting to https://api.mojang.com/profiles/minecraft using the /whitelist add command on my Minecraft server. I can not whitelist players who have not played on my server because when I do /whitelist add the connection gets blocked by CloudFront. This leads to a “That player does not exist.” error when whitelisting.
More information: Using the ticket that I referenced in the original post, I discovered that when you do /whitelist add the sever essentially is running “curl https://api.mojang.com/profiles/minecraft -X POST -H "Content-Type: application/json" --data '["Username"]'”. I asked the host to try this api request manually to diagnose why my /whitelist add command won’t work and it would appear that CloudFront blocks their datacenters.
Thanks for getting back to me. A final question - which datacenter and/or IP does the request originate from?
My server’s requests comes from 23.158.176.176. (If my IP server’s can be removed or hidden from here after you are done with it that would be nice.)
I unfortunately don’t know which datacenters my host (bloom.host) uses. I know that many of their clients have the same issue. Perhaps I should advise my host to make a ticket here. However, I am only concerned about being able to whitelist on my own server. I thank you in advance and appreciate your help! I am pleasantly surprised by the level of support Mojang is providing here.
Thank you for your report!
However, this issue has been temporarily closed as Awaiting Response.
Could you please confirm if the reported issue still occurs for you?
This ticket will automatically reopen when you reply.
Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📓 Project Summary – 📧 Suggestions – 📖 Minecraft Wiki
Hi John, which API are you attempting to connect to and for what reason?