electerious / ackee-tracker

Transfer data to Ackee.
MIT License
196 stars 22 forks source link

net::ERR_NETWORK_IO_SUSPENDED #6

Closed zhaowenyuan closed 5 years ago

zhaowenyuan commented 5 years ago

After a few minutes of opening the HTML file(http://localhost:52330/demos/create.html), the browser reports an error: ackee-tracker.min.js:1 PATCH http://localhost:3000/domains/2faa8c83-a45c-42a9-8bb3-188492b2ab97/records/f23f257f-845e-4f9b-bd2d-285ab829cbc0 net::ERR_NETWORK_IO_SUSPENDED It might be useful to add the following code: xhr.timeout = 6000;

electerious commented 5 years ago

Hey @zhaowenyuan, thanks for letting me know.

I don't think it's worth catching the error. Everything I would do is logging it and that happens anyway.