You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
The possibility of setting Timeouts with HttpClient #34421
area: common/httpIssues related to HTTP and HTTP ClientfeatureLabel used to distinguish feature request from other issuesfeature: in backlogFeature request for which voting has completed and is now in the backlog
Angular's [HttpClient](https://angular.io/guide/http) has no timeout feature. Using alternative solutions like HTTPInterceptors or RxJS for this purpose a connection timeout functionality cannot be achieved. See: https://stackoverflow.com/questions/59348500/is-there-an-http-connection-timeout-in-client-side-js-angular
Describe the solution you'd like
Angular's HttpClient could use and expose [XMLHttpRequest.timeout](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/timeout) that would make this possible.
Reacted by John, Dimitri Bret, Odd Christer Brovig, Ajit Singh, Samuel Birocchi, Patrick Zhong, oberbeck, José BUJALANCE, David Tayar, Sergio and 47 more
Thank you for submitting your feature request! Looks like during the polling process it didn't collect a sufficient number of votes to move to the next stage.
We want to keep Angular rich and ergonomic and at the same time be mindful about its scope and learning journey. If you think your request could live outside Angular's scope, we'd encourage you to collaborate with the community on publishing it as an open source package.
You can find more details about the feature request process in our documentation.
Thank you for submitting your feature request! Looks like during the polling process it didn't collect a sufficient number of votes to move to the next stage. --> crazy !!! it is so obvious that it shall be implemented, ofc no body vote ....
area: common/httpIssues related to HTTP and HTTP ClientfeatureLabel used to distinguish feature request from other issuesfeature: in backlogFeature request for which voting has completed and is now in the backlog
Activity
alxhub commentedon Jan 31, 2020
Agreed. If anyone wants to send a PR, that would be awesome 😄
daftfox commentedon Apr 3, 2020
I can pick this up. Seems like a good issue to start with since I'd like to become a regular contributor.
daftfox commentedon Apr 17, 2020
Forget about the first PR, I fudged that up with some git shenanigans. Inexperience dealing witht he angular repo and forks I reckon.
angular-robot commentedon Jun 4, 2021
Just a heads up that we kicked off a community voting process for your feature request. There are 20 days until the voting process ends.
Find more details about Angular's feature request process in our documentation.
angular-robot commentedon Jun 26, 2021
Thank you for submitting your feature request! Looks like during the polling process it didn't collect a sufficient number of votes to move to the next stage.
We want to keep Angular rich and ergonomic and at the same time be mindful about its scope and learning journey. If you think your request could live outside Angular's scope, we'd encourage you to collaborate with the community on publishing it as an open source package.
You can find more details about the feature request process in our documentation.
feat(http): http requests to implement xhr timeout
harikvpy commentedon Jan 28, 2023
+1
Rzassar commentedon Mar 12, 2023
+1
space11 commentedon Apr 20, 2023
+1 Is there still a chance for this to be implemented?
anymos commentedon Jun 12, 2023
Thank you for submitting your feature request! Looks like during the polling process it didn't collect a sufficient number of votes to move to the next stage. --> crazy !!! it is so obvious that it shall be implemented, ofc no body vote ....
wartab commentedon Jul 10, 2025
I think this can be closed now 🥳
angular-automatic-lock-bot commentedon Aug 12, 2025
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.