Use the first one because the "ing" form shows that it's temporary. If something "doesn't work" it might not ever work again, but if it's "not working" it suggests it will be working again in the future.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.