Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

loading stuck on 99% #531

Open
shakazulu89 opened this issue Nov 18, 2021 · 14 comments
Open

loading stuck on 99% #531

shakazulu89 opened this issue Nov 18, 2021 · 14 comments

Comments

@shakazulu89
Copy link

shakazulu89 commented Nov 18, 2021

Hey all

So i have this issue i think some others also have where the loading animation keeps playing because it is stuck on 99%.

The thing is, im having this issue even on Pace.js home page (where all the samples are. I tried firefox and edge same issue.

<div class="pace-progress" style="transform: translate3d(100%, 0px, 0px);" data-progress-text="100%" data-progress="99">
  <div class="pace-progress-inner"></div>
</div>

Any ideas? Any more info i can give to help diagnose this?

Thanks!
Roy

@shakazulu89
Copy link
Author

anyone? any help is greatly appreciated.

@wsteven24
Copy link

wsteven24 commented Nov 29, 2021

anyone? any help is greatly appreciated.

I had this issue. It was the ducking antivirus (Kaspersky), a thing related to "script injection" that was being executed in the client's browser, apparently paceJS considers this as an ajax being executed. I solved this by deactivating the script injection on Kaspersky on the clients' machines. Later I realized that paceJS can be configured to not track specific ajax execution like SignalR. I think the "trackWebSockets" must be set to false. I show you the configs I set to pace.js file:

defaultOptions = { ... ajax: { trackMethods: ['GET', 'POST'], trackWebSockets: false, ignoreURLs: ['signalr', '__browserLink', 'browserLinkSignalR'] } };

@shakazulu89
Copy link
Author

oh wow ill check that right now!

@shakazulu89
Copy link
Author

damn doesnt seem to have fixed it. i disabled script injection in kaspersky but maybe i need to restart PC before it takes effect? I cant restart right now but i will try later

@wsteven24
Copy link

damn doesnt seem to have fixed it. i disabled script injection in kaspersky but maybe i need to restart PC before it takes effect? I cant restart right now but i will try later

yes, I think so. Also check the developer console, there you can see what the heck is running in background

@shakazulu89
Copy link
Author

so i dont think its kaspersky. i just tried going to pace homepage on a dev server i have. no kaspersky installed and its still doesnt load 100%

image

@shakazulu89
Copy link
Author

any other ideas? :(

@wsteven24
Copy link

wsteven24 commented Nov 30, 2021

Also check the developer console, there you can see what the heck is running in background. It for sure should be something you have installed in your machine.

@shakazulu89
Copy link
Author

shakazulu89 commented Nov 30, 2021 via email

@shakazulu89
Copy link
Author

still cant solve this.. big bummer since this plug in is integrated in a project already.. just dont know why its getting stuck on 99% :/

@wsteven24
Copy link

wsteven24 commented Dec 10, 2021

According to your statement, you're still having the issue on the Pace.js homepage (https://codebyzach.github.io/pace/), meaning that definitely you have an extension or any kind of software that injects scripts to opened web pages.
To detect what is that "thing" running in background, open the developer console, go to the "Network tab", then execute in the console "Pace.restart();", see if the bar ends the loading, wait till loader appears again while seeing the network tab. This is what I did to find out that Kaspersky was injecting a javascript (this name: ff.kis.v2.scr.kaspersky-labs.com) to all web pages.

Also try clearing your browser cache and cookies.

Also check this if you are using firefox: #510 (comment)

@shakazulu89
Copy link
Author

@wsteven24 thanks again for your time.
I do see on my local computer there is a KIS websocket call that gets stuck on pending status.
But, when i remote desktop into a different server i have the same issue of getting stuck at 99% and when i examine network there is no KIS request or any other request that hasnt completed...

@solhuang2201
Copy link

solhuang2201 commented Mar 10, 2022

I had the same problem before, solved the problem is here:
https://stackoverflow.com/questions/43887415/pace-js-never-reaches-100

Also check this #470

@marcomarsala
Copy link

In my case I have the same issue on Pace homepage and the only browser plug-in is 1password. It’s a clean OS install with no antivirus or other sw injecting things

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants