Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

267
Vistas
Refused to connect to 'https://...URL' because it violates the following Content Security Policy directive: "connect-src 'self'

Basically I am trying to send myself some information from https://www.binance.com/.

I am trying to make a fetch request to my express server from the devtools console and I get the following error:

Refused to connect to 'http://example.com/movies.json' because it \nviolates the following Content Security Policy directive: "connect-src 'self' https://bin.bnbstatic.com https://public.bnbstatic.com wss://stream.binance.com wss://nbstream.binance.com wss://haodesk.binance.im https://upload-bnbstatic-com.s3.ap-northeast-1.amazonaws.com https://*.s3-accelerate.amazonaws.com wss://*.binance.com https://*.binance.com https://frontend-m.binance.cloud https://sensors.binance.cloud https://report.binance.gg https://*.sentry.io https://stats.g.doubleclick.net https://bin.bnbstatic.com https://resource.bnbstatic.com https://ex.bnbstatic.com wss://stream.binance.com wss://margin-stream.binance.com:9443 undefined undefined wss://bstream.binance.com:9443 https://www.google-analytics.com https://www.googletagmanager.com https://*.litix.io https://*.wistia.com https://embedwistia-a.akamaihd.net".

And then:

Refused to connect to 'https://...URL...' because it violates the document's Content Security Policy.

And the promise gets rejected.

So I thought it may be some configuration with my server (thought it was cors) so I tried to fetch this dummy url from the devtools console with:

fetch('https://jsonplaceholder.typicode.com/todos/1')
  .then(response => response.json())
  .then(json => console.log(json))

And I keep getting the same error.

I tried the same in different websites (stackoverflow let's say) and it works.

Is there any workaround to make a fetch request from the devtools console and bypass this?

Thanks.

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda