0

I've got next error

NetworkError
    at XMLHttpRequest.send (PATH_TO_PROJECT\dist\frontend\server\main.js:341661:19)
    at Observable._subscribe (PATH_TO_PROJECT\dist\frontend\server\main.js:20714:17)
    at Observable._trySubscribe (PATH_TO_PROJECT\dist\frontend\server\main.js:303054:25)
    at Observable.subscribe (PATH_TO_PROJECT\dist\frontend\server\main.js:303040:22)
    at scheduleTask (PATH_TO_PROJECT\dist\frontend\server\main.js:107437:32)
    at Observable._subscribe (PATH_TO_PROJECT\dist\frontend\server\main.js:107499:13)
    at Observable._trySubscribe (PATH_TO_PROJECT\dist\frontend\server\main.js:303054:25)
    at Observable.subscribe (PATH_TO_PROJECT\dist\frontend\server\main.js:303040:22)
    at subscribeToResult (PATH_TO_PROJECT\dist\frontend\server\main.js:313135:23)
    at MergeMapSubscriber._innerSub (PATH_TO_PROJECT\dist\frontend\server\main.js:308325:116)

I have no idea how to fix that....

Igor Zinchenko
  • 305
  • 3
  • 13
  • Are you using absolute urls when making API requests? – David Jul 03 '20 at 12:46
  • Yep! Also app working correctly, but i have many errors in console (not in the browser), each request starts with http://127.0.0.1:8080/api/... – Igor Zinchenko Jul 03 '20 at 12:54
  • SSR is probably not working correctly. I guess network requests fail server side and the data is not prerendered, but you still still correct data in the front because of client side rendering. Make sure `http://127.0.0.1:8080/api` is accessible from your server, e.g. doing a curl call from the machine running the ssr server – David Jul 03 '20 at 13:03
  • Did you fix this issue? – Ioan Moldovan Dec 07 '21 at 13:57
  • @SvetoslavAtanasov yes but i don't remember how – Igor Zinchenko Dec 09 '21 at 19:35

0 Answers0