Http failure response for (unknown url)Angular 5 form component causing Error: 'RangeError: Maximum call stack size exceeded 'ERROR Error: StaticInjectorError Angular 6Angular 6 - http.get not launchedUncaught ReferenceError: sample_data is not defined in angular 7StaticInjectorError(AppModule)[NbIsGrantedDirective -> NbAccessChecker]Error: Cannot match any routes. URL Segment: '?'how to fix 'Error: Cannot match any routes. URL Segment: 'anythongs''open angular material sidenavBar from another component issue in working with serviceD3 Angular TreeExternal script file could not be found by angular cli

Why would short-haul flights be pressurised at a higher cabin pressure?

Persuading players to be less attached to a pre-session 0 character concept

Why is the year in this ISO timestamp not 2019?

How does doing something together work?

What's the benefit of prohibiting the use of techniques/language constructs that have not been taught?

Where is it? - The Google Earth Challenge Ep. 4

Why is it called a stateful and a stateless firewall?

'Overwrote' files, space still occupied, are they lost?

Who are the people reviewing far more papers than they're submitting for review?

Tikz: How to use multiple parameters in pic?

LaTeX matrix formatting

Is it possible that the shadow of the moon is a single dot during solar eclipse?

Madrid to London w/ Expired 90/180 days stay as US citizen

How would you translate Evangelii Nuntiandi?

Why cannot a convert make certain statements? I feel they are being pushed away at the same time respect is being given to them

Is Zack Morris's "time stop" ability in **Saved By the Bell** a supernatural ability?

Did Sauron ever betray Morgoth?

Writing a system of Linear Equations

Should I inform my future product owner that there are big chances that a team member will leave the company soon?

What is the word for a person who destroys monuments?

How do we know that black holes are spinning?

What if I don't know whether my program will be linked to a GPL library or not?

Rare Earth Elements in the outer solar system

Which version of the Pigeonhole principle is correct? One is far stronger than the other



Http failure response for (unknown url)


Angular 5 form component causing Error: 'RangeError: Maximum call stack size exceeded 'ERROR Error: StaticInjectorError Angular 6Angular 6 - http.get not launchedUncaught ReferenceError: sample_data is not defined in angular 7StaticInjectorError(AppModule)[NbIsGrantedDirective -> NbAccessChecker]Error: Cannot match any routes. URL Segment: '?'how to fix 'Error: Cannot match any routes. URL Segment: 'anythongs''open angular material sidenavBar from another component issue in working with serviceD3 Angular TreeExternal script file could not be found by angular cli






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








1















I want to run Angular application on Apache server in sub directory. I tried this configuration into .htaccess file:



<IfModule mod_rewrite.c>
Options Indexes FollowSymLinks
RewriteEngine On
RewriteBase /admin/
RewriteRule ^index.html$ - [L]
RewriteCond %REQUEST_FILENAME !-f
RewriteCond %REQUEST_FILENAME !-d
RewriteRule . index.html [L]
</IfModule>


I changed into index.html this line <base href="/admin/"> But I get this error into one of the pages:



errors-handler.ts:15 Error: Uncaught (in promise): HttpErrorResponse: "headers":"normalizedNames":,"lazyUpdate":null,"headers":,"status":0,"statusText":"Unknown Error","url":null,"ok":false,"name":"HttpErrorResponse","message":"Http failure response for (unknown url): 0 Unknown Error","error":"isTrusted":true
at resolvePromise (zone.js:814)
at resolvePromise (zone.js:771)
at zone.js:873
at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invokeTask (zone.js:421)
at Object.onInvokeTask (core.js:3811)
at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invokeTask (zone.js:420)
at Zone.push../node_modules/zone.js/dist/zone.js.Zone.runTask (zone.js:188)
at drainMicroTaskQueue (zone.js:595)
at ZoneTask.push../node_modules/zone.js/dist/zone.js.ZoneTask.invokeTask [as invoke] (zone.js:500)
at invokeTask (zone.js:1540)


The other pages are working fine. Can you give me some advice how to fix this?










share|improve this question
































    1















    I want to run Angular application on Apache server in sub directory. I tried this configuration into .htaccess file:



    <IfModule mod_rewrite.c>
    Options Indexes FollowSymLinks
    RewriteEngine On
    RewriteBase /admin/
    RewriteRule ^index.html$ - [L]
    RewriteCond %REQUEST_FILENAME !-f
    RewriteCond %REQUEST_FILENAME !-d
    RewriteRule . index.html [L]
    </IfModule>


    I changed into index.html this line <base href="/admin/"> But I get this error into one of the pages:



    errors-handler.ts:15 Error: Uncaught (in promise): HttpErrorResponse: "headers":"normalizedNames":,"lazyUpdate":null,"headers":,"status":0,"statusText":"Unknown Error","url":null,"ok":false,"name":"HttpErrorResponse","message":"Http failure response for (unknown url): 0 Unknown Error","error":"isTrusted":true
    at resolvePromise (zone.js:814)
    at resolvePromise (zone.js:771)
    at zone.js:873
    at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invokeTask (zone.js:421)
    at Object.onInvokeTask (core.js:3811)
    at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invokeTask (zone.js:420)
    at Zone.push../node_modules/zone.js/dist/zone.js.Zone.runTask (zone.js:188)
    at drainMicroTaskQueue (zone.js:595)
    at ZoneTask.push../node_modules/zone.js/dist/zone.js.ZoneTask.invokeTask [as invoke] (zone.js:500)
    at invokeTask (zone.js:1540)


    The other pages are working fine. Can you give me some advice how to fix this?










    share|improve this question




























      1












      1








      1








      I want to run Angular application on Apache server in sub directory. I tried this configuration into .htaccess file:



      <IfModule mod_rewrite.c>
      Options Indexes FollowSymLinks
      RewriteEngine On
      RewriteBase /admin/
      RewriteRule ^index.html$ - [L]
      RewriteCond %REQUEST_FILENAME !-f
      RewriteCond %REQUEST_FILENAME !-d
      RewriteRule . index.html [L]
      </IfModule>


      I changed into index.html this line <base href="/admin/"> But I get this error into one of the pages:



      errors-handler.ts:15 Error: Uncaught (in promise): HttpErrorResponse: "headers":"normalizedNames":,"lazyUpdate":null,"headers":,"status":0,"statusText":"Unknown Error","url":null,"ok":false,"name":"HttpErrorResponse","message":"Http failure response for (unknown url): 0 Unknown Error","error":"isTrusted":true
      at resolvePromise (zone.js:814)
      at resolvePromise (zone.js:771)
      at zone.js:873
      at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invokeTask (zone.js:421)
      at Object.onInvokeTask (core.js:3811)
      at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invokeTask (zone.js:420)
      at Zone.push../node_modules/zone.js/dist/zone.js.Zone.runTask (zone.js:188)
      at drainMicroTaskQueue (zone.js:595)
      at ZoneTask.push../node_modules/zone.js/dist/zone.js.ZoneTask.invokeTask [as invoke] (zone.js:500)
      at invokeTask (zone.js:1540)


      The other pages are working fine. Can you give me some advice how to fix this?










      share|improve this question
















      I want to run Angular application on Apache server in sub directory. I tried this configuration into .htaccess file:



      <IfModule mod_rewrite.c>
      Options Indexes FollowSymLinks
      RewriteEngine On
      RewriteBase /admin/
      RewriteRule ^index.html$ - [L]
      RewriteCond %REQUEST_FILENAME !-f
      RewriteCond %REQUEST_FILENAME !-d
      RewriteRule . index.html [L]
      </IfModule>


      I changed into index.html this line <base href="/admin/"> But I get this error into one of the pages:



      errors-handler.ts:15 Error: Uncaught (in promise): HttpErrorResponse: "headers":"normalizedNames":,"lazyUpdate":null,"headers":,"status":0,"statusText":"Unknown Error","url":null,"ok":false,"name":"HttpErrorResponse","message":"Http failure response for (unknown url): 0 Unknown Error","error":"isTrusted":true
      at resolvePromise (zone.js:814)
      at resolvePromise (zone.js:771)
      at zone.js:873
      at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invokeTask (zone.js:421)
      at Object.onInvokeTask (core.js:3811)
      at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invokeTask (zone.js:420)
      at Zone.push../node_modules/zone.js/dist/zone.js.Zone.runTask (zone.js:188)
      at drainMicroTaskQueue (zone.js:595)
      at ZoneTask.push../node_modules/zone.js/dist/zone.js.ZoneTask.invokeTask [as invoke] (zone.js:500)
      at invokeTask (zone.js:1540)


      The other pages are working fine. Can you give me some advice how to fix this?







      angular apache typescript angular6






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Mar 28 at 14:03









      IsraGab

      2,1442 gold badges16 silver badges34 bronze badges




      2,1442 gold badges16 silver badges34 bronze badges










      asked Mar 28 at 12:47









      Peter PenzovPeter Penzov

      10763 gold badges208 silver badges428 bronze badges




      10763 gold badges208 silver badges428 bronze badges

























          0






          active

          oldest

          votes










          Your Answer






          StackExchange.ifUsing("editor", function ()
          StackExchange.using("externalEditor", function ()
          StackExchange.using("snippets", function ()
          StackExchange.snippets.init();
          );
          );
          , "code-snippets");

          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "1"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );














          draft saved

          draft discarded
















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55398037%2fhttp-failure-response-for-unknown-url%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes




          Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.







          Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.




















          draft saved

          draft discarded















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55398037%2fhttp-failure-response-for-unknown-url%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

          Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

          Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript