Fixed the problem. Apparently the cubes don't like having the same address for the primary/backup pool, so I gave my proxy machine a secondary static IP address and pointed the backup pool address to that IP. It still switches back and forth between pool addresses every 6 min or so, but it is mining consistently.