GithubHelp home page GithubHelp logo

Comments (4)

egg82 avatar egg82 commented on May 20, 2024

I would definitely recommend switching from CraftBukkit/Spigot to Paper if you haven't: https://whypaper.emc.gs - this will fix your current issue at least.

I'll take another look at the (admittedly old) code running that particular lookup and see if I can optimize it or see what's going on. Thanks for the report!

from 2faplus.

Pheotis avatar Pheotis commented on May 20, 2024

Thanks!

This problem resulted from running the register command on a paper 641 instance connected to a waterfall network comprised of other paper instances and a single test spigot 1.8 instance.

I will try again with the outdated spigot instance disabled to see if it changes anything.

from 2faplus.

egg82 avatar egg82 commented on May 20, 2024

I must have skipped over the Paper 641 (1.13.2) somehow; this version of Paper SHOULD have the PlayerProfile API, I believe. In this case, it would be strange if it were still trying to use the BukkitPlayerInfo (rather than the PaperPlayerInfo) class. I'll have to take another look.

from 2faplus.

Pheotis avatar Pheotis commented on May 20, 2024

Thank you for looking in to it; sorry for my late response.

After two tests, I have concluded that this issue occurs exclusively in instances where one of the servers connected to the proxy (and/or the db?) is running a seriously outdated version (in this case, paper 443 (1.8.8)).

If it is possible to fix backwards compatibility for paper 443 (1.8.8), that would also be much appreciated -- I know that it is an absolutely terrible idea in general to use 1.8 versions but for my particular project, I have a relatively strong reason to use it for a singular instance).

Test 1
For the first test, I disabled all other servers connected to the proxy -- which represented all servers connected to 2fa+'s db -- and tested a single instance running 2fa+ 2.4.17 on paper 645 (1.13.2). During this test, I had no difficulties connecting to Mojang's API.

Note that I was still was unable to register new totp players using the plugin due to issue #5 .

Test 2
For the next test, I disabled all other servers connected to the proxy -- which represented all servers connected to 2fa+'s db -- and tested a single instance running 2fa+ 2.4.17 on paper 443 (1.8.8).
During this test, I received the error regarding connections to Mojang's db.

from 2faplus.

Related Issues (10)

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.