This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Wireless protection hotspots password of the day sent to email doesn't work daily

i set up a hotspot and chose the password of the day . how can i make Sophos XG send that password to my email daily .. i already configured every thing and password only sent one time . and i have to go manually to the user portal and press send to email . is there is any way to automate this ?



This thread was automatically locked due to age.
Parents Reply
  • Hi, 

    I tested the setup and the mail is automatically sent in my case. What do you see in the logs? Go to, system >

    Go to, System > Diagnostic > Log viewer > System > Device and verify if the device shoots out a mail at renewal time of the password, set in the hotspot settings.

    Thanks

    Sachin Gurung
    Team Lead | Sophos Technical Support
    Knowledge Base  |  @SophosSupport  |  Video tutorials
    Remember to like a post.  If a post (on a question thread) solves your question use the 'This helped me' link.

Children
  • Hi

    my hotspot should create password at 00:00 daily ,  and when i see logs as you advised , nothing show at that time 00:00 only one err long before that ( i guess it was when i first time configure it or something ) may be not
    . here is the err

    2016-08-31 17:36:53
        
    Device
        
    FAILED

    Fail to send mail : Server error:Expecting code :'354' but server responds with:'421 4.7.0 Temporary System Problem. Try again later (WS). uo4sm611136wjc.36 - gsmtp '

  • Hi,

    Recreate the password of the day policy and check in the referred logs if XG makes an attempt to send a mail. Take SSH to XG and go to option 4. Device console.

    Execute, tcpdump 'port xxx (port number configured in the mail server notification settings in XG) post the logs.

    Thanks

    Sachin Gurung
    Team Lead | Sophos Technical Support
    Knowledge Base  |  @SophosSupport  |  Video tutorials
    Remember to like a post.  If a post (on a question thread) solves your question use the 'This helped me' link.

  • I do have the very same problem and tried to solve it by recreating hotspot, too.

    No message also in log viewer System -> Device regarding a sent mail...

    Test message and internet connection lost notification work!

    Any idea?

     

    Using SFOS 16.01.1

  • Hi,

    In this case it seems to be a problem between the email server and the XG device. The XG device is working normally as it is expecting the server to send a SMTP 354 but instead the server is sending a 421 (temporary system problem). 

    One of the reason for this to happen is timezone. Could you please check the device timezone and server timezone. The server sends a 421 when date mismatch. I am guessing this is an issue because the server is still on the old date and device is one day ahead. 

    Alternatively, please test by selecting 01:00 or 23:00 and share your results.

  • I set the password generation time to 01:00 AM and I am going to wait till tonight,

    but in the log there is NO entry for a mail sending problem...

  • No progress so far...

    No mail and no entries at all in log (System -> Device) regarding a try to send a mail...

    Any ideas?

     

    Thanks for help in advance :-)

  • Markus,

    Can you try to enable debugging on hotspod service using the advanced shell?

    Connect to XG using CLI -> Option 5 -> Option 3 and then type:

    "service hotspotd:debug -dsnosync"

    then type "tail -f /var/tslog/hotspotd.log" and then schedule to send voucher within 2/3 minutes and check if inside the log file you see some interesting line about sending email.

    Thanks

  • This is what I did get for "service hotspotd:debug -dsnosync" and "tail -f /var/tslog/hotspotd.log":

    [INFO] login_child_exit pid :26118 exited, status=0
    [INFO] login_child_exit pid :26566 exited, status=0
    [INFO] login_child_exit pid :26958 exited, status=0
    [INFO] login_child_exit pid :27392 exited, status=0
    [INFO] login_child_exit pid :27839 exited, status=0
    [INFO] login_child_exit pid :28233 exited, status=0
    [INFO] login_child_exit pid :28670 exited, status=0
    [INFO] login_child_exit pid :29061 exited, status=0
    [INFO] login_child_exit pid :29495 exited, status=0
    [INFO] login_child_exit pid :29938 exited, status=0
    [INFO] login_child_exit pid :30334 exited, status=0
    [INFO] login_child_exit pid :30781 exited, status=0
    [INFO] login_child_exit pid :31172 exited, status=0
    [INFO] login_child_exit pid :31714 exited, status=0
    [INFO] login_child_exit pid :32165 exited, status=0
    [INFO] login_child_exit pid :32560 exited, status=0
    [INFO] login_child_exit pid :528 exited, status=0
    [INFO] login_child_exit pid :1013 exited, status=0
    [INFO] login_child_exit pid :1476 exited, status=0
    [INFO] login_child_exit pid :1985 exited, status=0
    [INFO] login_child_exit pid :2557 exited, status=0
    [INFO] login_child_exit pid :3070 exited, status=0
    [INFO] login_child_exit pid :3484 exited, status=0
    [INFO] login_child_exit pid :3915 exited, status=0
    [INFO] login_child_exit pid :4378 exited, status=0
    [INFO] login_child_exit pid :4772 exited, status=0
    [INFO] login_child_exit pid :5207 exited, status=0
    [INFO] login_child_exit pid :5603 exited, status=0
    [INFO] login_child_exit pid :6039 exited, status=0
    [INFO] login_child_exit pid :6480 exited, status=0
    [INFO] login_child_exit pid :6876 exited, status=0
    [INFO] login_child_exit pid :7320 exited, status=0
    [INFO] login_child_exit pid :7717 exited, status=0
    [INFO] login_child_exit pid :8147 exited, status=0
    [INFO] login_child_exit pid :8595 exited, status=0
    [INFO] login_child_exit pid :8989 exited, status=0
    [INFO] login_child_exit pid :9421 exited, status=0
    [INFO] login_child_exit pid :9817 exited, status=0
    [INFO] login_child_exit pid :10248 exited, status=0
    [INFO] login_child_exit pid :10690 exited, status=0
    [INFO] login_child_exit pid :11088 exited, status=0
    [INFO] login_child_exit pid :11533 exited, status=0
    [INFO] login_child_exit pid :11930 exited, status=0
    [INFO] login_child_exit pid :12359 exited, status=0
    [INFO] login_child_exit pid :12807 exited, status=0
    [INFO] login_child_exit pid :13201 exited, status=0
    [INFO] login_child_exit pid :13637 exited, status=0
    [INFO] login_child_exit pid :14031 exited, status=0
    [INFO] login_child_exit pid :14460 exited, status=0
    [INFO] login_child_exit pid :14902 exited, status=0
    [INFO] login_child_exit pid :15301 exited, status=0
    [INFO] login_child_exit pid :15745 exited, status=0
    [INFO] login_child_exit pid :16140 exited, status=0
    [INFO] login_child_exit pid :16571 exited, status=0
    [INFO] login_child_exit pid :17019 exited, status=0
    [INFO] login_child_exit pid :17413 exited, status=0
    [INFO] login_child_exit pid :17845 exited, status=0
    [INFO] login_child_exit pid :18241 exited, status=0
    [INFO] login_child_exit pid :18670 exited, status=0
    [INFO] login_child_exit pid :19115 exited, status=0
    [INFO] login_child_exit pid :19577 exited, status=0
    [INFO] login_child_exit pid :20021 exited, status=0
    [INFO] login_child_exit pid :20417 exited, status=0
    [INFO] login_child_exit pid :20850 exited, status=0
    [INFO] login_child_exit pid :21298 exited, status=0
    [INFO] login_child_exit pid :21693 exited, status=0
    [INFO] login_child_exit pid :22127 exited, status=0
    [INFO] login_child_exit pid :22553 exited, status=0
    [INFO] toggle_log Hotspotd:: Log level set to LOG_DEBUG[INFO] login_child_exit pid :22949 exited, status=0
    [INFO] login_child_exit pid :22978 exited, status=0
    [INFO] login_child_exit pid :24259 exited, status=0
    [INFO] login_child_exit pid :24658 exited, status=0
    [INFO] login_child_exit pid :25101 exited, status=0
    [INFO] login_child_exit pid :25527 exited, status=0
    [INFO] login_child_exit pid :25926 exited, status=0
    [INFO] login_child_exit pid :26394 exited, status=0
    [INFO] login_child_exit pid :26810 exited, status=0
    [INFO] login_child_exit pid :27242 exited, status=0
    [INFO] login_child_exit pid :27667 exited, status=0
    [INFO] login_child_exit pid :28067 exited, status=0
    [INFO] login_child_exit pid :28516 exited, status=0
    [INFO] login_child_exit pid :28934 exited, status=0
    [INFO] toggle_log Hotspotd:: Log level set to LOG_ERROR[INFO] login_child_exit pid :28944 exited, status=0
    [INFO] login_child_exit pid :29390 exited,

     

    Any other ideas?

    Thanks in advance :-)

  • I figured out something interesting:

     

    After I logged in the User Portal and disabled in Hotspots - Send Mail, saved the settings and then re-enabled it (saved again) the mail was sent!

    The only problem is that the mail is only send once whenever I disable (save) / enable (save) the Send Mail option and

    there is no entry in the log viewer (System - Device).

     

    Any idea?

  • Markus,

    Are you able to open a ticket with Sophos Support?

    Thanks