Failed to authenticate to teletype

Whenever I open or try to enter a token the error “Failed to authenticate to teletype” is shown. I’ve tried looking at issues posted on teletype’s GitHub page but nothing has worked. Does anyone know how to fix this?

Here are my program versions:

apm 2.5.0
npm 6.14.5
node 10.20.1 x64
atom 1.50.0
python 3.8.3
visual studio