-
Notifications
You must be signed in to change notification settings - Fork 30
Description
[WDS] Live Reloading enabled.
video_feeds:1 Access to XMLHttpRequest at 'http://localhost:5000/video_feeds' from origin 'http://localhost:4200' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.Understand this error
:5000/video_feeds:1 Failed to load resource: net::ERR_FAILEDUnderstand this error
students:1 Access to XMLHttpRequest at 'http://localhost:5000/students' from origin 'http://localhost:4200' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.Understand this error
:5000/students:1 Failed to load resource: net::ERR_FAILEDUnderstand this error
attendance:1 Access to XMLHttpRequest at 'http://localhost:5000/attendance' from origin 'http://localhost:4200' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.Understand this error
:5000/attendance:1 Failed to load resource: net::ERR_FAILEDUnderstand this error
video_feeds:1 Access to XMLHttpRequest at 'http://localhost:5000/video_feeds' from origin 'http://localhost:4200' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.Understand this error
:5000/video_feeds:1 Failed to load resource: net::ERR_FAILEDUnderstand this error
video-feed-list.component.ts:60 Object
video_feeds:1 Access to XMLHttpRequest at 'http://localhost:5000/video_feeds/add' from origin 'http://localhost:4200' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.Understand this error
:5000/video_feeds/add:1 Failed to load resource: net::ERR_FAILEDUnderstand this error
core.js:4197 ERROR HttpErrorResponse
defaultErrorLogger @ core.js:4197Understand this error
students:1 Access to XMLHttpRequest at 'http://localhost:5000/students' from origin 'http://localhost:4200' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.Understand this error
student-list.component.ts:34 GET http://localhost:5000/students net::ERR_FAILED 500 (INTERNAL SERVER ERROR)
scheduleTask @ zone-evergreen.js:2845
scheduleTask @ zone-evergreen.js:385
onScheduleTask @ zone-evergreen.js:272
scheduleTask @ zone-evergreen.js:378
scheduleTask @ zone-evergreen.js:210
scheduleMacroTask @ zone-evergreen.js:233
scheduleMacroTaskWithCurrentZone @ zone-evergreen.js:1134
(anonymous) @ zone-evergreen.js:2878
proto. @ zone-evergreen.js:1449
(anonymous) @ http.js:1776
_trySubscribe @ Observable.js:42
subscribe @ Observable.js:28
subscribeToResult @ subscribeToResult.js:9
_innerSub @ mergeMap.js:59
_tryNext @ mergeMap.js:53
_next @ mergeMap.js:36
next @ Subscriber.js:49
(anonymous) @ subscribeToArray.js:3
_trySubscribe @ Observable.js:42
subscribe @ Observable.js:28
call @ mergeMap.js:21
subscribe @ Observable.js:23
call @ filter.js:13
subscribe @ Observable.js:23
call @ map.js:16
subscribe @ Observable.js:23
ngOnInit @ student-list.component.ts:34
callHook @ core.js:3038
callHooks @ core.js:3008
executeInitAndCheckHooks @ core.js:2960
refreshView @ core.js:7178
refreshEmbeddedViews @ core.js:8273
refreshView @ core.js:7187
refreshComponent @ core.js:8319
refreshChildComponents @ core.js:6956
refreshView @ core.js:7213
renderComponentOrTemplate @ core.js:7277
tickRootContext @ core.js:8491
detectChangesInRootView @ core.js:8516
detectChanges @ core.js:9893
tick @ core.js:28344
(anonymous) @ core.js:28233
invoke @ zone-evergreen.js:364
onInvoke @ core.js:27430
invoke @ zone-evergreen.js:363
run @ zone-evergreen.js:123
run @ core.js:27312
next @ core.js:28232
schedulerFn @ core.js:24795
__tryOrUnsub @ Subscriber.js:183
next @ Subscriber.js:122
_next @ Subscriber.js:72
next @ Subscriber.js:49
next @ Subject.js:39
emit @ core.js:24785
checkStable @ core.js:27366
onHasTask @ core.js:27444
hasTask @ zone-evergreen.js:419
_updateTaskCount @ zone-evergreen.js:440
_updateTaskCount @ zone-evergreen.js:263
runTask @ zone-evergreen.js:184
drainMicroTaskQueue @ zone-evergreen.js:569
invokeTask @ zone-evergreen.js:484
invokeTask @ zone-evergreen.js:1621
globalZoneAwareCallback @ zone-evergreen.js:1647Understand this error
student-list.component.ts:50 {name: 'akash'}
students:1 Access to XMLHttpRequest at 'http://localhost:5000/students/add' from origin 'http://localhost:4200' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.Understand this error
student-list.component.ts:51 POST http://localhost:5000/students/add net::ERR_FAILED 500 (INTERNAL SERVER ERROR)
scheduleTask @ zone-evergreen.js:2845
scheduleTask @ zone-evergreen.js:385
onScheduleTask @ zone-evergreen.js:272
scheduleTask @ zone-evergreen.js:378
scheduleTask @ zone-evergreen.js:210
scheduleMacroTask @ zone-evergreen.js:233
scheduleMacroTaskWithCurrentZone @ zone-evergreen.js:1134
(anonymous) @ zone-evergreen.js:2878
proto. @ zone-evergreen.js:1449
(anonymous) @ http.js:1776
_trySubscribe @ Observable.js:42
subscribe @ Observable.js:28
subscribeToResult @ subscribeToResult.js:9
_innerSub @ mergeMap.js:59
_tryNext @ mergeMap.js:53
_next @ mergeMap.js:36
next @ Subscriber.js:49
(anonymous) @ subscribeToArray.js:3
_trySubscribe @ Observable.js:42
subscribe @ Observable.js:28
call @ mergeMap.js:21
subscribe @ Observable.js:23
call @ filter.js:13
subscribe @ Observable.js:23
call @ map.js:16
subscribe @ Observable.js:23
addStudent @ student-list.component.ts:51
StudentListComponent_Template_form_ngSubmit_11_listener @ student-list.component.html:17
executeListenerWithErrorHandling @ core.js:14310
wrapListenerIn_markDirtyAndPreventDefault @ core.js:14345
schedulerFn @ core.js:24816
__tryOrUnsub @ Subscriber.js:183
next @ Subscriber.js:122
_next @ Subscriber.js:72
next @ Subscriber.js:49
next @ Subject.js:39
emit @ core.js:24785
onSubmit @ forms.js:5552
FormGroupDirective_submit_HostBindingHandler @ forms.js:5605
executeListenerWithErrorHandling @ core.js:14310
wrapListenerIn_markDirtyAndPreventDefault @ core.js:14345
(anonymous) @ platform-browser.js:582
invokeTask @ zone-evergreen.js:399
onInvokeTask @ core.js:27418
invokeTask @ zone-evergreen.js:398
runTask @ zone-evergreen.js:167
invokeTask @ zone-evergreen.js:480
invokeTask @ zone-evergreen.js:1621
globalZoneAwareCallback @ zone-evergreen.js:1647Understand this error
student-list.component.ts:51 ERROR HttpErrorResponse {headers: HttpHeaders, status: 0, statusText: 'Unknown Error', url: 'http://localhost:5000/student