CORS error
Hi folks,
When I started the service and request the http://localhost:1420 page, I found many cors error in the Chrome developer console like the attached picture shown, and the macos terminal shows the errors as below:
-
console error messages: Error: No route matches URL "/.well-known/appspecific/com.chrome.devtools.json" at getInternalRouterError (file:///Users/harrison/develop/workspace/cyberease/harrison/valuecell/frontend/node_modules/react-router/dist/development/chunk-B7RQU5TL.mjs:4633:5) at Object.query (file:///Users/harrison/develop/workspace/cyberease/harrison/valuecell/frontend/node_modules/react-router/dist/development/chunk-B7RQU5TL.mjs:2789:19) at handleDocumentRequest (file:///Users/harrison/develop/workspace/cyberease/harrison/valuecell/frontend/node_modules/react-router/dist/development/chunk-SKNKB5VI.mjs:1291:38) at requestHandler (file:///Users/harrison/develop/workspace/cyberease/harrison/valuecell/frontend/node_modules/react-router/dist/development/chunk-SKNKB5VI.mjs:1206:24) at processTicksAndRejections (node:internal/process/task_queues:105:5) at nodeHandler (/Users/harrison/develop/workspace/cyberease/harrison/valuecell/frontend/node_modules/@react-router/dev/dist/vite.js:3437:30) at /Users/harrison/develop/workspace/cyberease/harrison/valuecell/frontend/node_modules/@react-router/dev/dist/vite.js:3443:17 No routes matched location "/.well-known/appspecific/com.chrome.devtools.json" ErrorResponseImpl { status: 404, statusText: 'Not Found', internal: true, data: 'Error: No route matches URL "/.well-known/appspecific/com.chrome.devtools.json"', error: Error: No route matches URL "/.well-known/appspecific/com.chrome.devtools.json" at getInternalRouterError (file:///Users/harrison/develop/workspace/cyberease/harrison/valuecell/frontend/node_modules/react-router/dist/development/chunk-B7RQU5TL.mjs:4633:5) at Object.query (file:///Users/harrison/develop/workspace/cyberease/harrison/valuecell/frontend/node_modules/react-router/dist/development/chunk-B7RQU5TL.mjs:2789:19) at handleDocumentRequest (file:///Users/harrison/develop/workspace/cyberease/harrison/valuecell/frontend/node_modules/react-router/dist/development/chunk-SKNKB5VI.mjs:1291:38) at requestHandler (file:///Users/harrison/develop/workspace/cyberease/harrison/valuecell/frontend/node_modules/react-router/dist/development/chunk-SKNKB5VI.mjs:1206:24) at processTicksAndRejections (node:internal/process/task_queues:105:5) at nodeHandler (/Users/harrison/develop/workspace/cyberease/harrison/valuecell/frontend/node_modules/@react-router/dev/dist/vite.js:3437:30) at /Users/harrison/develop/workspace/cyberease/harrison/valuecell/frontend/node_modules/@react-router/dev/dist/vite.js:3443:17 }
-
Chrome developer console error messages:
It's not a problem:
Error: No route matches URL "/.well-known/appspecific/com.chrome.devtools.json"
I guess is your VPN's problem
the same to you
@Lingfeng713 your problem is not similar to last one. Note that pricing api requires a VPN connection. If pricing data is not essential for your need, just continue to use the core features of the application and safely disregard this.
It's not a problem:
Error: No route matches URL "/.well-known/appspecific/com.chrome.devtools.json"I guess is your VPN's problem
Disconnected the vpn connection and encountered the same error not only in the MacOS terminal to start the service but also in the Pycharm IDE to start the service. And the most important is the 403 CORS error, I think this is the key issue.
@Lingfeng713 your problem is not similar to last one. Note that pricing api requires a VPN connection. If pricing data is not essential for your need, just continue to use the core features of teh application and safely disregard this.
Oh, you're right. The issue I'm facing is still the inability to fetch the stocks data, even though I've configured the XUEQIU token.