Config Router

  • Google Sheets
  • CCNA Online training
    • CCNA
  • CISCO Lab Guides
    • CCNA Security Lab Manual With Solutions
    • CCNP Route Lab Manual with Solutions
    • CCNP Switch Lab Manual with Solutions
  • Juniper
  • Linux
  • DevOps Tutorials
  • Python Array
You are here: Home / Juniper / What can cause “UI_TACPLUS_ERROR: TACACS+ failure: Network read timed out”

What can cause “UI_TACPLUS_ERROR: TACACS+ failure: Network read timed out”

June 2, 2016 by James Palmer

The syslog messages can be caused by the device not getting PSH/Acknowledgements from a TACACS server after a TACACS accounting message (such as Missing “R : Authentication”, “R : Accounting” messages) is sent.

The following is seen in the messages log even though there is not a problem pinging the server (Server is reachable) and other nodes do not have any messages logged:

MX960 mgd[9411]: UI_TACPLUS_ERROR: TACACS+ failure: Network read timed out
MX960 mgd[8677]: UI_TACPLUS_ERROR: TACACS+ failure: Network read timed out
MX960 mgd[9531]: UI_TACPLUS_ERROR: TACACS+ failure: Network read timed out

PUH/ACK is not coming to the client from the TACACS server.

To trigger the issue, set an input firewall filter to discard (not receive) the TCP PUH/ACK packets coming from the TACACS server:

jun@MX960_MODEL1# show
interfaces {
    fxp0 {
        unit 0 {
            family inet {
                filter {
                    input PROTECHOST;
                }
                address 172.27.14.78/24;
            }
        }
    }
}
firewall {
    filter PROTECHOST {
        term Rate_Limit {
            from {
                destination-address {
                    172.27.14.78/32;
                }
                protocol tcp;
                tcp-flags 0x18;  <---PUH/ACK
            }
            then {
                count TCP_Conection;
                discard;
            }
        }
        term 10 {
            then accept;
        }
    }

Cisco TACACS server works abnormally on the TCP flow.

Normal TACACS TCP conversation:
172.27.14.78 = TACACS client
172.27.14.177 = TACACS server (Cisco ACS)

can-cause-ui_tacplus_error-tacacs-failure-network-read-timed

Notice the “TACACS+ Q:Authentication” is followed by “TACACS+ R:Authentication” with nothing in between.

Abnormal TACACS TCP conversation:
61.78.42.172 = client
203.236.108.138 = TACACS server (Cisco ACS)

can-cause-ui_tacplus_error-tacacs-failure-network-read-timed

After the client sends “TACACS+ Q:Authentication”, the server sends back a TCP ACK message on it.  The server must send “TACACS+ R: Authentication”.  The  client(=61.78.42.172)  waits for “R:Authentication” from TACACS server. (It’s the same as not receiving “R : Accounting”).

can-cause-ui_tacplus_error-tacacs-failure-network-read-timed

As a result, the client did not receive an “R_Authentication” message and logs the “Network read timed out” message.

Analyze the conversation in Wireshark to verify there are no abnormalities such as a failure to receive acknowledgements or missing packets.

Related

Filed Under: Juniper Tagged With: TACACS, TACACS server, TACACS+ failure, UI_TACPLUS_ERROR, UI_TACPLUS_ERROR: TACACS+ failure, Wireshark

Recent Posts

  • How do I give user access to Jenkins?
  • What is docker volume command?
  • What is the date format in Unix?
  • What is the difference between ARG and ENV Docker?
  • What is rsync command Linux?
  • How to Add Music to Snapchat 2021 Android? | How to Search, Add, Share Songs on Snapchat Story?
  • How to Enable Snapchat Notifications for Android & iPhone? | Steps to Turn on Snapchat Bitmoji Notification
  • Easy Methods to Fix Snapchat Camera Not Working Black Screen Issue | Reasons & Troubleshooting Tips to Solve Snapchat Camera Problems
  • Detailed Procedure for How to Update Snapchat on iOS 14 for Free
  • What is Snapchat Spotlight Feature? How to Make a Spotlight on Snapchat?
  • Snapchat Hack Tutorial 2021: Can I hack a Snapchat Account without them knowing?

Copyright © 2025 · News Pro Theme on Genesis Framework · WordPress · Log in