Borrar filtros
Borrar filtros

issue with datastreamws (HTTPs)

4 visualizaciones (últimos 30 días)
zym el 6 de Jul. de 2020
Comentada: zym el 9 de Jul. de 2020
I am trying to retrieve data from datastream. Once I attempt use my credential for the access (c = datastreamws(username,password)), I receive an error message.
Error using datastreamws
HTTP is an insecure protocol, use HTTPs instead.
Does anyone know if the error has something to do with my computer security or the function itself? How can it be fixed? Thanks a lot!

Respuestas (1)

Jemima Pulipati
Jemima Pulipati el 9 de Jul. de 2020
Editada: Jemima Pulipati el 9 de Jul. de 2020
Currently, datastreamws does use HTTP in the endpoint. To work around the issue and use the HTTPS protocol through our interface, you can use the following code:
d = datastreamws("","","")
d.URL = ""
where ‘user’ and ‘pword’ are your username and password. After connecting with this syntax, you should be able to make historical requests.
  1 comentario
zym el 9 de Jul. de 2020
Thanks for this, I attempted to use it but now i get another error.
Error using datastreamws
User 'blabla' not entitled to ClientApi service..
I guess now the error has something to do with my university's access to datastream and not https

Iniciar sesión para comentar.


Más información sobre Startup and Shutdown en Help Center y File Exchange.




Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by