FAQ: offline use
Can I use Niro offline?
Yes, for up to about a day at a time. The engine needs a licence from Niro's service, and keeps working for about a day when it cannot renew it. Your agent's questions never need the network.
What needs the network?
- signing in;
- renewing the licence;
- downloading the engine;
- sending the coverage audit and the tool-usage record.
Everything else runs on your computer.
Can Niro run on a computer with no internet at all?
Not for more than about a day. The licence needs Niro's service. There is no offline licence.
Does Niro work behind a company proxy?
niro has no proxy setting of its own. When the background watcher is installed, it is given four proxy variables from your environment: HTTP_PROXY, HTTPS_PROXY, NO_PROXY and NODE_USE_ENV_PROXY. It is also given NODE_EXTRA_CA_CERTS, SSL_CERT_FILE and SSL_CERT_DIR, for a company's own certificates. This is so that a watcher behind a company proxy can upload. Set them before you run niro service install. Other proxy setups have not been tested.
What happens to the audit and tool-usage records while I am offline?
They wait on your computer, and the watcher tries every 5 minutes. A record the service refuses is kept in ~/.niro/journal-refused.
"Network error calling <method> <path>"
Niro's service could not be reached. Check your connection, and try again.
The first answer of a session takes about 20 seconds when I am offline.
The engine waits for its licence before answering. Known problem.