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

MpgStatsClient.getStats - 404 Not Found / Content #268

Closed
axel3rd opened this issue Nov 24, 2024 · 3 comments
Closed

MpgStatsClient.getStats - 404 Not Found / Content #268

axel3rd opened this issue Nov 24, 2024 · 3 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@axel3rd
Copy link
Owner

axel3rd commented Nov 24, 2024

Error:

Exception in thread "main" java.lang.UnsupportedOperationException: Unsupported status code: 404 Not Found / Content: <html>
<head><title>404 Not Found</title></head>
<body>
<center><h1>404 Not Found</h1></center>
<hr><center>nginx</center>
</body>
</html>

        at org.blondin.mpg.AbstractClient.call(AbstractClient.java:159)
        at org.blondin.mpg.AbstractClient.get(AbstractClient.java:100)
        at org.blondin.mpg.AbstractClient.get(AbstractClient.java:92)
        at org.blondin.mpg.stats.MpgStatsClient.getStats(MpgStatsClient.java:41)
        at org.blondin.mpg.AbstractMpgProcess.getCurrentDay(AbstractMpgProcess.java:106)
        at org.blondin.mpg.AbstractMpgProcess.calculateEfficiencies(AbstractMpgProcess.java:86)
        at org.blondin.mpg.AbstractMpgProcess.completeAuctionAndcalculateEfficiency(AbstractMpgProcess.java:57)
        at org.blondin.mpg.Games.process(Games.java:56)
        at org.blondin.mpg.Main.processLeague(Main.java:79)
        at org.blondin.mpg.Main.process(Main.java:39)
        at org.blondin.mpg.Main.main(Main.java:28)
@axel3rd axel3rd added the bug Something isn't working label Nov 24, 2024
@axel3rd axel3rd self-assigned this Nov 24, 2024
@axel3rd
Copy link
Owner Author

axel3rd commented Nov 24, 2024

MpgStatsClient.getStats(MpgStatsClient.java:41) is an old request call on v1 endpoint ... doesn't exist anymore.

@axel3rd
Copy link
Owner Author

axel3rd commented Nov 24, 2024

Clearly a lack in v2 enpoint implementation (#229).

@axel3rd axel3rd added this to the 1.12.1 milestone Nov 24, 2024
@axel3rd axel3rd changed the title Unsupported status code: 404 Not Found / Content MpgStatsClient.getStats - 404 Not Found / Content Nov 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant