@leipert/node-red-contrib-stock-ticker does not work anymore

NR3 with stock-ticker 2.0: I got the data from Yahoo since the last few month. Since yesterday no more data appear.
Does anybody know if there ist a limit with Yahoo finance and if how I can increase?


Looks like a known problem:

You might want to add onto that report

I'm getting stock ticker quotes from v2.0.0 on NR3 and not having any issues... getting quotes for 6-8 stocks every minute between 8-5 without any errors.

Well not sure why but woke up today to the "invalid cookie" error... seems strange it was working until today.

I use this node also and mine is still working, however I only send request 15 times a day and only Monday thru Friday.

I was told that there is a limit to request (but is seems nobody know what that limit is).

Any solution yet?

you need to update the underlying yahoo-finance2 module to version 2.4.3

Please explain, I don't understand exactly what needs to be done.

The author of the module node-red-contrib-stock-ticker has not updated the internal module yahoo-finance2 to the latest version. Either wait for an update or access your node red installation from the command line (terminal):

cd <your node-red directory>
npm install  --save  --production yahoo-finance2

I am not an expert on npm thus I dont know whether all these additional arguments are really needed.

1 Like

Thank you.

The Author ( @leipert ) of this Node has updated it to the new version, it is once again working.

1 Like

Thank you @leipert for updating your node!!!


Thank you so much. It is working again very pretty.

I updated node-red an it does not start anymore. This is the error message:

fetch https://guce.yahoo.com/consent?brandType=nonEu&gcrumb=JVBa2A4&done=https%3A%2F%2Ffinance.yahoo.com%2Fquote%2FAAPL
fetch https://consent.yahoo.com/v2/collectConsent?sessionId=3_cc-session_0e43023c-75b4-4818-8f16-193a40623170
fetch https://consent.yahoo.com/v2/collectConsent?sessionId=3_cc-session_0e43023c-75b4-4818-8f16-193a40623170
fetch https://guce.yahoo.com/copyConsent?sessionId=3_cc-session_0e43023c-75b4-4818-8f16-193a40623170&lang=de-DE
Fetching crumb and cookies from https://finance.yahoo.com/quote/AAPL?guccounter=1...
Success.  Cookie expires on Infinity
16 Aug 10:51:24 - [red] Uncaught Exception:
16 Aug 10:51:24 - [error] Error: WebSocket is not open: readyState 0 (CONNECTING)
    at WebSocket.send (/home/burkhard/.node-red/node_modules/@leipert/node-red-contrib-stock-ticker/node_modules/ws/lib/websocket.js:442:13)
    at WebSocket.ws.onopen (/home/burkhard/.node-red/node_modules/@leipert/node-red-contrib-stock-ticker/lib/stocksocket.js:52:15)
    at callListener (/home/burkhard/.node-red/node_modules/@leipert/node-red-contrib-stock-ticker/node_modules/ws/lib/event-target.js:290:14)
    at WebSocket.onOpen (/home/burkhard/.node-red/node_modules/@leipert/node-red-contrib-stock-ticker/node_modules/ws/lib/event-target.js:237:9)
    at WebSocket.emit (node:events:513:28)
    at WebSocket.setSocket (/home/burkhard/.node-red/node_modules/@leipert/node-red-contrib-stock-ticker/node_modules/ws/lib/websocket.js:237:10)
    at ClientRequest.<anonymous> (/home/burkhard/.node-red/node_modules/@leipert/node-red-contrib-stock-ticker/node_modules/ws/lib/websocket.js:985:15)
    at ClientRequest.emit (node:events:513:28)
    at TLSSocket.socketOnData (node:_http_client:574:11)
    at TLSSocket.emit (node:events:513:28)
    at addChunk (node:internal/streams/readable:315:12)
    at readableAddChunk (node:internal/streams/readable:289:9)
    at TLSSocket.Readable.push (node:internal/streams/readable:228:10)
    at TLSWrap.onStreamRead (node:internal/stream_base_commons:190:23)
nodered.service: Main process exited, code=exited, status=1/FAILURE
nodered.service: Failed with result 'exit-code'.
nodered.service: Consumed 5.308s CPU time.

Where can I search for the mistake. I am not a programer.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.