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 }}
This repository has been archived by the owner on Jun 3, 2021. It is now read-only.
I am trying to run the UI in a container hitting a different container for the API. I am getting connectivity between the two, but the UI doesn't seem to be loading fully, nor understanding the responses. It works just fine if I run ng serve locally. I get a number of these parse errors on first load, and the dashboard count indicator doesn't show up. In addition it wont allow login, and any attempt at creating a user causes "user already exists" error.
SyntaxError: Unexpected token < in JSON at position 0 at JSON.parse (<anonymo
SyntaxError: Unexpected token < in JSON at position 0↵ at JSON.parse (<
Http failure during parsing for http://localhost:5504/api/authenticationProv
The response from register user is the following body:
`<!doctype html>
I am trying to run the UI in a container hitting a different container for the API. I am getting connectivity between the two, but the UI doesn't seem to be loading fully, nor understanding the responses. It works just fine if I run
ng serve
locally. I get a number of these parse errors on first load, and the dashboard count indicator doesn't show up. In addition it wont allow login, and any attempt at creating a user causes "user already exists" error.SyntaxError: Unexpected token < in JSON at position 0 at JSON.parse (<anonymo
SyntaxError: Unexpected token < in JSON at position 0↵ at JSON.parse (<
Http failure during parsing for http://localhost:5504/api/authenticationProv
The response from register user is the following body:
<title>Hygieia</title> <style>@-webkit-keyframes spin{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@-moz-keyframes spin{0%{-moz-transform:rotate(0)}100%{-moz-transform:rotate(360deg)}}@Keyframes spin{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}.spinner{position:fixed;top:0;left:0;width:100%;height:100%;z-index:1003;background: #000000;overflow:hidden} .spinner div:first-child{display:block;position:relative;left:50%;top:50%;width:150px;height:150px;margin:-75px 0 0 -75px;border-radius:50%;box-shadow:0 3px 3px 0 rgba(255,56,106,1);transform:translate3d(0,0,0);animation:spin 2s linear infinite} .spinner div:first-child:after,.spinner div:first-child:before{content:'';position:absolute;border-radius:50%} .spinner div:first-child:before{top:5px;left:5px;right:5px;bottom:5px;box-shadow:0 3px 3px 0 rgb(255, 228, 32);-webkit-animation:spin 3s linear infinite;animation:spin 3s linear infinite} .spinner div:first-child:after{top:15px;left:15px;right:15px;bottom:15px;box-shadow:0 3px 3px 0 rgba(61, 175, 255,1);animation:spin 1.5s linear infinite}</style>`<!doctype html>
The text was updated successfully, but these errors were encountered: