Open Closed

Angular stuck in spinner after each deploy #4780


User avatar
0
scott@prizmtechgroup.com created

I have the project configured (frontend in angular, backend in net core with ef). When I log in, everything works fine. After each deploy in IIS for the front, when I try to go to the website, the site is stuck with the spinner in the middle of the screen. The browser console won't throw any error message. When I try going to the website using an incognito instance, I have no problems at all. And I just realized that, to solve the problem in my regular browser instance, I have to remove the website cookies and reload the page and then it works fine. I had some other people trying this from their machines and have the same problem.

  • ABP Framework version: v3.3.1
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

14 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    Does the back-end application have any error logs?

  • User Avatar
    0
    scott@prizmtechgroup.com created

    Does the back-end application have any error logs?

    Nope, the backend works just fine.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    ok, Can you share some screenshots? we are trying to understand the problem.

  • User Avatar
    0
    scott@prizmtechgroup.com created

    hi @maliming. Sure, here are some screenshots:

    The screen is stuck here forever (I made sure I waited several minutes, reloading, it's the same), the browser console won't show any error as you can see.

    The website works once I remove the website cookies and reload the page. (clearing cache and hard reload won't solve it)

    Sometimes it happens from one day to the next day, sometimes after a frontend deploy.

    I checked from different users (different computers) and it happens to all of them. There's definitely no backend error since it works perfectly fine if I browse from an incognito instance.

    Thank you very much,

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Can you share a url and user & password so I can check it online?

    liming.ma@volosoft.com

  • User Avatar
    0
    scott@prizmtechgroup.com created

    http://nwt.prizmtechgroup.com/ No need to log in: it's before that. The first day it's going to work, the next one won't. Pretty random.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    Thank you. I will test it in the next few days.

  • User Avatar
    0
    scott@prizmtechgroup.com created

    Thank you. It's still happening. I have other angular websites in the same iis server and I have no issue with them. Just checked today and still stuck.

  • User Avatar
    0
    scott@prizmtechgroup.com created

    Hi @maliming, do you have any news?

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    I have been unable to reproduce the problem.

  • User Avatar
    0
    scott@prizmtechgroup.com created

    Have you tried in separate days without clearing cache or cookies? I have like 5 people in the team (remote locations) and all of them have the same problem. Remember: one day it works.. the next one doesn't.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    You can reproduce it then I will remote check it,

  • User Avatar
    0
    scott@prizmtechgroup.com created

    Hi @maliming! Ok, I think I know why you can't reproduce it... I never gave you any credentials to log in. So, here are the steps to reproduce:

    1. Go to http://nwt.prizmtechgroup.com/
    2. Click on Login button
    3. Enter credentials: test / 123456 and make sure you're logged in correctly
    4. Close ALL Chrome instances
    5. Open a new Chrome instance
    6. Go to http://nwt.prizmtechgroup.com/ .... this time the screen is stuck with the spinner and without any errors in the console. The only workaround is to open an incognito window OR clear the website cookies and reload.
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    This request blocked it. I never get a response if we pass the bearer token.

    even postman.

Made with ❤️ on ABP v9.1.0-preview. Updated on December 13, 2024, 06:09