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.

transition.abort() causes 500 responses

See original GitHub issue

As @rwjblue pointed out in #195, aborting a transition in FastBoot causes a TransitionAborted error to be thrown by the server, resulting in the request failing and the response returning a 500 error.

Here is an example stack trace:

Error: TransitionAborted at handleReject (/code/ember-bugs/dist/fastboot/vendor.js:14132:17)
 at tryCatch (/code/ember-bugs/dist/fastboot/vendor.js:63911:14)
 at invokeCallback (/code/ember-bugs/dist/fastboot/vendor.js:63926:15)
 at publish (/code/ember-bugs/dist/fastboot/vendor.js:63894:9)
 at publishRejection (/code/ember-bugs/dist/fastboot/vendor.js:63829:5)
 at /code/ember-bugs/dist/fastboot/vendor.js:42159:7 at Queue.invokeWithOnError (/code/ember-bugs/dist/fastboot/vendor.js:10447:18)
 at Object.Queue.flush (/code/ember-bugs/dist/fastboot/vendor.js:10502:11)
 at Object.DeferredActionQueues.flush (/code/ember-bugs/dist/fastboot/vendor.js:10310:17)
 at Object.Backburner.end (/code/ember-bugs/dist/fastboot/vendor.js:10665:25)
 at [object Object]._onTimeout (/code/ember-bugs/dist/fastboot/vendor.js:11231:18)
 at Timer.listOnTimeout (timers.js:92:15)

I’ll try to look at this when I get some time. If anyone has any thoughts on what might be causing this, please chime in.

Issue Analytics

  • State:open
  • Created 7 years ago
  • Comments:11 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
rtabladacommented, Aug 8, 2022

@alexraputa still has the same issue.

1reaction
rwjbluecommented, Jun 25, 2016

Confirm. I do not think an aborted transition should be directly considered an error condition.

Read more comments on GitHub >

github_iconTop Results From Across the Web

[Bug] Unexpected aborted transitions following call to ... - GitHub
transitionTo() causes an aborted transition which triggers a full route refresh. Precondition: Parent/child routes with navigation between child ...
Read more >
Error handling in Step Functions - AWS Documentation
When Step Functions transitions to the state specified in a catch name, the object usually contains the field Cause . This field's value...
Read more >
System Error Codes (500-999) (WinError.h) - Win32 apps
Indicates that a thread attempted to terminate itself by default (called NtTerminateThread with NULL) and it was the last thread in the current ......
Read more >
RFC 4960: Stream Control Transmission Protocol
1. Slow-Start Beginning data transmission into a network with unknown conditions or after a sufficiently long idle period requires SCTP to probe the...
Read more >
abort ui-router transition asynchronously without generating a ...
I solved this issue by defining my own defaultErrorHandler() . Now i can prevent error messages to show up after aborting a transition....
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