V8-archive: Error when on Local! telemetry

Created on 28 Sep 2018  ·  8Comments  ·  Source: directus/v8-archive

Describe the bug
The App stop responding when disconnect the Internet (Localhost Env)

To Reproduce
Steps to reproduce the behavior:

  1. disconnect the Internet
  2. visit admin and try to add collection
  3. check brwoser console

Screenshots
drcts

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser [Opera Latest, Chrome]

    • PHP v7.1

Most helpful comment

OK, thanks for clarifying ☺️

All 8 comments

Hey @Mu9tafa-Online! Thanks for the heads up. This request is not affecting the Directus app itself in any way, so it's harmless if it doesn't go through offline. Good catch though! 🕵️

So you just closed the issue without saying how to deal with it! weird enough

Sorry for the confusion, but there's nothing to deal with.. This particular error means that the app can't reach the outside world which makes sense seeing you're offline. I'm adding in a little check that only sends out the request if you have a connection

So is it impossible to use it for a local development?

I'm not sure I'm following..

The error you showed above is harmless in local development which is why I closed the ticket. (I also added a check that it doesn't send that request if you're offline just now). Running Directus locally or on a server shouldn't make a difference. I'm working on the app & api locally as we speak.

OK, thanks for clarifying ☺️

@rijkvanzanten – just checking to make sure this update made it into the App (since the issues closed, I don't want it to get lost).

I also added a check that it doesn't send that request if you're offline just now

Yes it's in

Was this page helpful?
0 / 5 - 0 ratings

Related issues

rijkvanzanten picture rijkvanzanten  ·  3Comments

cdwmhcc picture cdwmhcc  ·  3Comments

binary-koan picture binary-koan  ·  3Comments

magikstm picture magikstm  ·  3Comments

maettyhawk picture maettyhawk  ·  3Comments