question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Response hangs on some routes when page reload

See original GitHub issue

Note: for support questions, please use one of these channels: https://github.com/angular/universal/blob/master/CONTRIBUTING.md#question. This repository’s issues are reserved for feature requests and bug reports. Also, Preboot has moved to https://github.com/angular/preboot - please make preboot-related issues there.

  • I’m submitting a …
- [ x] bug report
- [ ] feature request
- [ ] support request => Please do not submit support request here, see note at the top of this template.
  • What modules are related to this Issue?
- [ ] aspnetcore-engine
- [x ] express-engine
- [ ] hapi-engine
  • Do you want to request a feature or report a bug?

  • What is the current behavior?

I have an angular application with lazy loaded routes. When I reload page some routes are working fine, but others hang and are pending until timeout, no error is thrown. Is there a way to debug this behaviour? I used this tutorial https://angular.io/guide/universal

  • Please tell us about your environment:
  • Angular version: 5.1
  • Browser: [all]
  • Language: [TypeScript 2.5.2]
  • OS: [Windows]
  • Platform: [NodeJs]

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

3reactions
Quovadisqccommented, Dec 14, 2017

@daright I had this problem when using an infinite Observable.interval to do a rotating slider. To fix this, I started only subscribing to the Observable on client side ( using isPlatformBrowser).

You should look out for Observers that get created on init and are never completed.

0reactions
angular-automatic-lock-bot[bot]commented, Sep 4, 2019

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

Read more comments on GitHub >

github_iconTop Results From Across the Web

React Router Gets Stuck on Certain Route When Redirecting ...
I was able to figure their routing configuration and successfully implemented more routes on several different pages. My Issue.
Read more >
Fixing the 'cannot GET /URL' error on refresh with React ...
The first, set up both client and server side routing. The second, redirect all server requests to /index.html which will download all the...
Read more >
How to fix Maps when it crashes - Android - Google Maps Help
If the Google Maps app on your phone or tablet crashes or has other issues that affect your experience on Maps, try the...
Read more >
7.1 Fix Cannot Get/URL on Refresh | React Reach Router
Handing 404 Pages | Fix Cannot Get/URL on Page Refresh | Error | React Router | Reach Router | Handing 404 Pages |...
Read more >
Router tutorial: tour of heroes - Angular
This guide describes development of a multi-page routed sample application. ... Some developers skip the routing module when the configuration is minimal ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found