Menu

#25640 Flaky MySQL / MariaDB from interactive shell service and project web

open
nobody
jedit-community
2025-08-01
2024-03-27
No

The MySQL / MariaDB service seems to be flaky from interactive shell service and project web. In the last days I multiple times was not able to connect to mysql-j with message "ERROR 2003 (HY000): Can't connect to MySQL server on 'mysql-j' (110)" from the interactive shell service which used to always work just fine and also sometimes worked in the last days, while the web UI works just fine. Also the project web had problems according to logfile. Sometimes I got "no route to host", sometimes "connection timed out".

Discussion

  • SourceForge Support

    Hello,

    Could you please provide the output from the following mtr commands?

    mtr -4wbz 216.105.38.1
    mtr -4wbz 216.105.38.23
    mtr -4wbz 204.68.111.105

    Sincerely,
    SourceForge Support

     
  • Björn Kautler

    Björn Kautler - 2024-03-28

    When and where do you want me to execute that?
    On the interactive shell service when it currently does not work?

    Right now the access from interactive shell service is working.

    But those commands just do

    vampire0@shell-22003 ~ $ mtr -4wbz 216.105.38.1
    mtr: unable to get raw sockets.
    vampire0@shell-22003 ~ $ mtr -4wbz 216.105.38.23
    mtr: unable to get raw sockets.
    vampire0@shell-22003 ~ $ mtr -4wbz 204.68.111.105
    mtr: unable to get raw sockets.
    
     

    Last edit: Björn Kautler 2024-03-28
  • SourceForge Support

    Hello,

    Those commands do a trace route and a ping to a destination.

    You are reporting a connection issue and we need to test the network connectivity between your end and our services.

    So those command should be run from your local terminal.
    As to when, anytime; is the issue still present?
    If there is no longer an issue, then there is no need to run the commands.

    Sincerely,
    SourceForge Support

     
  • SourceForge Support

    Hi,

    Quick update.
    Seems like I misinterpreted and believed that the MySQL web administrator was involved in this issue.

    It is not necessary for you to follow the instructions I gave you.
    I apologize for the inconvenience.

    I have escalated this to our DevOps team to investigate further.

    Sincerely,

    SourceForge Support

     
  • Amir Szekely

    Amir Szekely - 2024-03-29

    I am also seeing this issue with mysql-n.

     
  • SourceForge Support

    Hello,

    Thank you for your feedback

    This matter continues to be investigated by our DevOps team.
    It would be really appreciated if you could supply any timestamped logs.

    Sincerely,
    SourceForge Support

     
  • Amir Szekely

    Amir Szekely - 2024-04-01

    I tried to get some logs but then it just worked today. Maybe only some shell servers are affected?

     
  • Björn Kautler

    Björn Kautler - 2024-04-01

    I don't know when exactly it did not work from the interactive shell service, only that it sometimes worked and sometimes not over the last few days and that exactly right now while I am typing it is not working.

    From project-web I can provide these logs:

    /home/project-web/jedit-community/persistent/logs/error.log:[18-Mar-2024 18:02:05 UTC] PHP Warning:  mysqli_connect(): (HY000/2002): No route to host in /home/project-web/...
    /home/project-web/jedit-community/persistent/logs/error.log:[18-Mar-2024 18:02:17 UTC] PHP Warning:  mysqli_connect(): (HY000/2002): No route to host in /home/project-web/...
    /home/project-web/jedit-community/persistent/logs/error.log:[18-Mar-2024 18:02:20 UTC] PHP Warning:  mysqli_connect(): (HY000/2002): No route to host in /home/project-web/...
    /home/project-web/jedit-community/persistent/logs/error.log:[18-Mar-2024 18:02:23 UTC] PHP Warning:  mysqli_connect(): (HY000/2002): No route to host in /home/project-web/...
    /home/project-web/jedit-community/persistent/logs/error.log:[21-Mar-2024 18:02:12 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: No route to host in /home/project-web/...
    /home/project-web/jedit-community/persistent/logs/error.log:[23-Mar-2024 18:02:35 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: No route to host in /home/project-web/...
    /home/project-web/jedit-community/persistent/logs/error.log:[23-Mar-2024 18:02:28 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: No route to host in /home/project-web/...
    /home/project-web/jedit-community/persistent/logs/error.log:[23-Mar-2024 18:02:38 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: No route to host in /home/project-web/...
    /home/project-web/jedit-community/persistent/logs/error.log:[25-Mar-2024 18:03:00 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: Connection timed out in /home/project-web/...
    /home/project-web/jedit-community/persistent/logs/error.log:[25-Mar-2024 18:03:06 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: Connection timed out in /home/project-web/...
    /home/project-web/jedit-community/persistent/logs/error.log:[26-Mar-2024 18:01:52 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: No route to host in /home/project-web/...
    /home/project-web/jedit-community/persistent/logs/error.log:[26-Mar-2024 18:01:52 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: No route to host in /home/project-web/...
    /home/project-web/jedit-community/persistent/logs/error.log:[26-Mar-2024 18:01:55 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: No route to host in /home/project-web/...
    /home/project-web/jedit-community/persistent/logs/error.log:[26-Mar-2024 18:01:58 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: No route to host in /home/project-web/...
    /home/project-web/jedit-community/persistent/logs/error.log:[26-Mar-2024 18:01:58 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: No route to host in /home/project-web/...
    /home/project-web/jedit-community/persistent/logs/error.log:[26-Mar-2024 18:01:58 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: No route to host in /home/project-web/...
    /home/project-web/jedit-community/persistent/logs/error.log:[26-Mar-2024 18:02:01 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: No route to host in /home/project-web/...
    /home/project-web/jedit-community/persistent/logs/error.log:[26-Mar-2024 18:02:01 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: No route to host in /home/project-web/...
    /home/project-web/jedit-community/persistent/logs/error.log:[26-Mar-2024 18:02:07 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: No route to host in /home/project-web/...
    /home/project-web/jedit-community/persistent/logs/error.log:[26-Mar-2024 18:02:04 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: No route to host in /home/project-web/...
    /home/project-web/jedit-community/persistent/logs/error.log:[26-Mar-2024 18:02:04 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: No route to host in /home/project-web/...
    /home/project-web/jedit-community/persistent/logs/error.log:[26-Mar-2024 18:02:07 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: No route to host in /home/project-web/...
    /home/project-web/jedit-community/persistent/logs/error.log:[26-Mar-2024 18:02:07 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: No route to host in /home/project-web/...
    /home/project-web/jedit-community/persistent/logs/error.log:[26-Mar-2024 18:02:09 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: Connection timed out in /home/project-web/...
    /home/project-web/jedit-community/persistent/logs/error.log:[26-Mar-2024 18:02:11 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: No route to host in /home/project-web/...
    /home/project-web/jedit-community/persistent/logs/error.log:[26-Mar-2024 18:02:14 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: No route to host in /home/project-web/...
    /home/project-web/jedit-community/persistent/logs/error.log:[26-Mar-2024 18:02:19 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: No route to host in /home/project-web/...
    /home/project-web/jedit-community/persistent/logs/error.log:[26-Mar-2024 18:02:22 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: No route to host in /home/project-web/...
    /home/project-web/jedit-community/persistent/logs/error.log:[26-Mar-2024 18:02:27 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: No route to host in /home/project-web/...
    /home/project-web/jedit-community/persistent/logs/error.log:[26-Mar-2024 18:02:23 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: Connection timed out in /home/project-web/...
    /home/project-web/jedit-community/persistent/logs/error.log:[26-Mar-2024 18:02:25 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: Connection timed out in /home/project-web/...
    /home/project-web/jedit-community/persistent/logs/error.log:[29-Mar-2024 18:02:52 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: Connection timed out in /home/project-web/...
    /home/project-web/jedit-community/persistent/logs/error.log:[30-Mar-2024 18:03:09 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: Connection timed out in /home/project-web/...
    
     
  • SourceForge Support

    Hello,

    Thank you for your feedback.
    We will update this ticket as new information becomes available.

    Sincerely,
    SourceForge Support

     
  • Fab Stz

    Fab Stz - 2024-04-05

    I have that problem too with mysql-k

    ERROR 2003 (HY000): Can't connect to MySQL server on 'mysql-k' (110)

     
  • SourceForge Support

    Hello,

    Is this still an issue?
    Our team has been working on your report and we would like to have your feedback.

    Sincerely,
    SourceForge Support

     
  • Amir Szekely

    Amir Szekely - 2024-04-18

    Yes.

    kichik@shell-21006:~$ mysql -h mysql-n
    ERROR 2003 (HY000): Can't connect to MySQL server on 'mysql-n' (110)
    kichik@shell-21006:~$ hostname
    shell-21006
    kichik@shell-21006:~$ ip addr
    1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
        link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
        inet 127.0.0.1/8 scope host lo
           valid_lft forever preferred_lft forever
        inet6 ::1/128 scope host
           valid_lft forever preferred_lft forever
    4018: eth0@if4019: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
        link/ether 00:16:3e:ab:7a:f4 brd ff:ff:ff:ff:ff:ff link-netnsid 0
        inet 10.60.21.205/24 brd 10.60.21.255 scope global dynamic eth0
           valid_lft 3426sec preferred_lft 3426sec
        inet6 fe80::216:3eff:feab:7af4/64 scope link
           valid_lft forever preferred_lft forever
    kichik@shell-21006:~$
    
     
  • Björn Kautler

    Björn Kautler - 2024-04-18

    Also here still an issue on both, interactive shell and project web

     
  • SourceForge Support

    Hello,

    Thank you for your feedback.
    Could you please log onto your shell and perform a shutdown?
    Then re-create a shell and try again.

    Sincerely,
    SourceForge Support

     
  • Björn Kautler

    Björn Kautler - 2024-04-18

    Right now this helped.
    But I created the old shell just after you asked whether it is still a problem.
    And also before it sometimes worked and sometimes not, so that it right now works after the shutdown and recreate is not proof for the issue to be fixed. :-)

     
  • SourceForge Support

    Hi,

    I've been informed that the shell issue is now resolved.
    Please verify it's working for you.

    Sincerely,
    SourceForge Support

     
  • Björn Kautler

    Björn Kautler - 2024-04-18

    That's great to hear.
    But as I said, I cannot verify.
    It sometimes worked and sometimes worked not.
    Right now it is working, but only time can verify.

    Now given the information you were given is correct, just the project-web is left to be fixed. :-)

     
  • SourceForge Support

    Hello,

    Thank you for your feedback.
    We will update this ticket as new information becomes available.

    Sincerely,
    SourceForge Support

     

Log in to post a comment.

MongoDB Logo MongoDB