Comments (3)
Hi! Thanks for the issue. Unfortunately, I've never run into this before. I reckon this is an issue with the underlying library... Let me know if you can figure it out.
from react-tradingview-widget.
I investigated more since I posted. I am in contact with tradingview support but no success so far. (They say it's a problem on my side)
For the context, this happens in an Electron app. I am not sure but it seems related to some content / security policy. Maybe related to cross origin. I am a bit limited in knowledge here :P
If the app runs in a hosted website, everything works.
But, to reproduce the error, you can simply type this url in any browser.
This is what the tradingview library requests under the hood.
https://symbol-search.tradingview.com/symbol_search/?text=BTC&exchange=&type=&hl=true&lang=en&domain=production
So, depending on the context it seems the API will respond with a 403. I suppose they don't allow the API to be called from everywhere.
The only thing I could see are differences in the headers.
from react-tradingview-widget.
As an experiment try faking the request headers to match with that from the website and check if you get any response.
from react-tradingview-widget.
Related Issues (20)
- Next.js, silently fails on page refresh. HOT 3
- Drawing tools sidebar won't render HOT 1
- Grid lines and Volume HOT 2
- Issues when loading component
- Custom data feed HOT 2
- ...Closed
- Module not found
- Customize background color HOT 3
- 'const' usin in Typescript files
- Search Symbol
- Autoresize to parent window size is not working
- Widget Types HOT 1
- Widget settings parse error: SyntaxError: Unexpected end of JSON input
- i want to change the position of trading view logo where attribution link is behind it but i don't get any property HOT 2
- react v17?
- paneProperties.background not working
- bug in ETH-DAI chart
- Change background color of chart
- @rafaelklaessen It Works! Thanks!! HOT 1
- Chart not loading HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-tradingview-widget.