Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.

Radix IoT Website Mango 3 Documentation Website Mango 4 Documentation Website

An error occurred while logging in - Connection error


  • Hi,
    I have had mango running for about 18 months, log in once a week or so and check the solar data it
    records, and emails me. Last login, I updated, an now a week later, I realise i cannot log in.

    The login screen comes up, but fails with "An error occurred while logging in - Connection error"

    System:

    $ uname -a
    Linux mango 4.9.0-12-amd64 #1 SMP Debian 4.9.210-1 (2020-01-20) x86_64 GNU/Linux
    

    Java:
    I noticed the java install advice has changed to openjdk, so I upgraded, but no luck.

    $ java --version
    openjdk 14 2020-03-17
    OpenJDK Runtime Environment AdoptOpenJDK (build 14+36)
    OpenJDK 64-Bit Server VM AdoptOpenJDK (build 14+36, mixed mode, sharing)
    

    mango:
    ma.log only has INFO data logged
    Starting Mango 3.7.5 with Schema Version: 29

    all the processes seem to be running OK

    $ netstat -antp
    Active Internet connections (servers and established)
    Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name    
    tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      454/sshd            
    tcp        0      0 127.0.0.1:631           0.0.0.0:*               LISTEN      422/cupsd           
    tcp        0    196 192.168.220.80:22       192.168.220.103:56870   ESTABLISHED 610/sshd: robert [p 
    tcp6       0      0 :::8080                 :::*                    LISTEN      2125/java           
    tcp6       0      0 :::22                   :::*                    LISTEN      454/sshd            
    tcp6       0      0 ::1:631                 :::*                    LISTEN      422/cupsd           
    tcp6       0      0 :::8443                 :::*                    LISTEN      2125/java           
    tcp6       0      0 :::5502                 :::*                    LISTEN      2125/java           
    tcp6       0      0 192.168.220.80:45056    192.168.220.75:502      ESTABLISHED 2125/java           
    tcp6       0      0 192.168.220.80:5502     192.168.220.75:2902     ESTABLISHED 2125/java           
    tcp6       0      0 192.168.220.80:43566    10.11.21.253:502        ESTABLISHED 2125/java           
    tcp6       0      0 192.168.220.80:8443     192.168.220.103:53812   TIME_WAIT   -                   
    tcp6       0      0 192.168.220.80:8443     192.168.220.103:53946   TIME_WAIT   -
    

    I think the two "TIME_WAIT" lines are my login attempt.

    Where can I look for errors / logs that might help resolve the issue.

    Thanks


  • Hi All,
    Well its the next morning here in Australia, and I am at home waiting for the corona virus to get me, so I clicked on the link for my mango install, and firefox did the security warning for a self signed certificate again - strange, then
    then the login worked, and up came the screen.
    ![alt text](0_1585524922854_Mango_Screen.png image url)

    Anyway, any thoughts on what magic happened overnight ?

    Thanks


  • Check your ma.logs, if this thing is internet facing someone may have been hammering it causing the login to drop out in relation to max non-authenticated attempts being tripped..

    Fox