Coder Social home page Coder Social logo

Comments (9)

rouing avatar rouing commented on July 24, 2024

I would switch to MairaDB over MySQL as there is major improvements and it is a drop in replacement. I will work on a pull request to add this option as I would like to see the option of having SSL on the connection anyways.

from dynmapcore.

nate2014jatc avatar nate2014jatc commented on July 24, 2024

bumping this. The hardcoded option "?allowReconnect=true" causes the previous fix to cause more severe errors.

(previous fix being that you add "?useSSL=false" to your database name.)

from dynmapcore.

rouing avatar rouing commented on July 24, 2024

@nate2014jatc Ayeyeye.

This needs to be ported to a config based option.

from dynmapcore.

aharabedian avatar aharabedian commented on July 24, 2024

Is there any update on this issue? I am having the same issue with the hardcoded "?allowReconnect=true" flag.

from dynmapcore.

jwshields avatar jwshields commented on July 24, 2024

Add the ?useSSL=false after the ?allowReconnect=true

from dynmapcore.

aharabedian avatar aharabedian commented on July 24, 2024

the ?allowReconnect=true flag is hard coded into DynMap, there is not a config option to add another flag. If you add the ?useSSL=false to the end of the database name, it causes an issue with the hard-coded flag and DynMap fails to connect to the database.

from dynmapcore.

nate2014jatc avatar nate2014jatc commented on July 24, 2024

I can confirm. I'm still getting griped at to enable SSL and provide a truststore or globally disable SSL (not happening).

from dynmapcore.

aharabedian avatar aharabedian commented on July 24, 2024

I created a fix and submitted a pull request. I have been using my build of v3.0 for the past day on my spigot server and it has been working fine, no SSL errors. If you build from my repo it will add a configuration option for flags. Hopefully it gets added as a feature.

from dynmapcore.

rouing avatar rouing commented on July 24, 2024

I am the one who hardcoded the allow reconnect true and had the PR. This was to fix a DIFFERENT issue with latest versions of MYSQL/MARIADB dropping connections and not being allowed to connect. At this point, I am going to redo this to have a config to allow the use of a URI instead of user/pass/host/port by itself.

from dynmapcore.

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.