CodeByZach / pace

Automatically add a progress bar to your site.
https://codebyzach.github.io/pace/
MIT License
15.68k stars 1.9k forks source link

progres bar stops in 99% #324

Open fl45h opened 8 years ago

fl45h commented 8 years ago

Loader goes to 99% very quick (in a few seconds) and than stops in 99% for a next 2 minutes till the webpage is fully loaded. Anybody have the same issue ? link for example : http://kosa.sry.pl/www/kosadesign2016/index.html

CheemaSingh commented 8 years ago

Did you get any solution for this issue?

staminna commented 8 years ago

I also get this, probably because of using a websocket. I am using socket.io

JPomichael commented 7 years ago

maybe u need using on server

htchaan commented 7 years ago

you may want to disable websocket tracking:

<script data-pace-options='{"ajax":{"trackWebSockets": false}}' src="pace.js"></script>

not sure if its because of the websocket "upgrade" requests, it always stay in a 101 pending status, you can find them in chrom dev tool.

qerim commented 6 years ago

For me it was due to updating another script (bugsnag) to a newer version which was causing pace progress to get stuck at 99%.

So check for changes you have made to your existing scripts, they may be causing this issue.

I'm not really sure why BugSnag is causing this to get stuck.