Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- issue found after angular update:
- 1. * issue:
- -"sockjs.js:1679 WebSocket connection to 'ws://ae.citzy.com/sockjs-node/314/xptyayav/websocket' failed: Error during WebSocket handshake: Incorrect 'Sec-WebSocket-Accept' header value"
- * possible solution:
- - based on https://github.com/aspnet/SignalR/issues/1585 and https://github.com/SignalR/SignalR/issues/3691
- just need to install websocket in IIS
- 2. * issue:
- -"GET http://citzy.com/api/services/app/UserProfile/GetItems?IsActive=true 401 (Unauthorized)"
- "POST http://citzy.com/api/services/web/Item/UploadImage 500 (Internal Server Error)"
- Not getting the current user and tenant Id
- * solution:
- Need implement new http-interceptor, that is by default send the authorization token from every http request.
- This occurs again because the previous implementation supports Http from @angular/http (Http has been depreciated https://angular.io/api/http/Http)
- but since we upgraded to HttpClient from @angular/common/http we need to a new implementation by extending HttpInterceptor
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement