There are known difficulties connecting to public wifi networks on Apple computers. This guide gives some potential troubleshooting methods to try.
If possible, update Operating System while in your office (or other known stable connection).
Contact Support