IntellectualSites / IntellectualSites/PlotSquared

Error when '/plot visit <alias>'

Open
#4,586 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Requires Testing
Dominant language
Java
Stars
653
Forks
975
Avg merge
2m
Merged PRs (30d)
6

Description

Server Implementation

Paper

Server Version

1.21.4

Describe the bug

I get errors like the following when I first set up a plot alias name with '/plot alias set ' and then try to '/plot visit ':

[Mon 15:19:12 ERROR com.mojang.authlib.minecraft.client.MinecraftClient] Got an error with a html body connecting to https://api.minecraftservices.com/minecraft/profile/lookup/bulk/byname: <html>
<head><title>403 Forbidden</title></head>
<body>
<center><h1>403 Forbidden</h1></center>
<hr><center>Microsoft-Azure-Application-Gateway/v2</center>
</body>
</html>
- [Mon 15:19:13 ERROR com.mojang.authlib.minecraft.client.MinecraftClient] Got an error with a html body connecting to https://api.minecraftservices.com/minecraft/profile/lookup/bulk/byname: <html>
<head><title>403 Forbidden</title></head>
<body>
<center><h1>403 Forbidden</h1></center>
<hr><center>Microsoft-Azure-Application-Gateway/v2</center>
</body>
</html>
To Reproduce
  1. Go to a plot of yours
  2. Use '/plot alias set testAlias'
  3. Use '/plot visit testAlias'
Expected behaviour

No error should show up in the console

Screenshots / Videos

No response

Error log (if applicable)

No response

Plot Debugpaste

https://athion.net/ISPaster/paste/view/9a352b28d05f424885fcd715bccbfc00

PlotSquared Version

PlotSquared version 7.4.1-Premium

Checklist
Anything else?

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue with '/plot alias set testAlias' followed by '/plot visit testAlias' on Paper 1.21.4, using the linked Plot Debugpaste for context. Trace the alias visit path and the Minecraft profile lookup that produces the 403 response; done means visiting the alias without the console error.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.