Phando / Streamdeck-Stonks

Streamdeck plugin stock ticker to watch your assets (market and crypto)
MIT License
25 stars 4 forks source link

"Error - ReceiveSymboleE" #42

Open ZyberSE opened 1 year ago

ZyberSE commented 1 year ago

Not sure what the full error message is as it seams cut in both ends, but since two weeks all my trackers only says "Error ReceiveSymboleE".

If I click on it, sometime it shows the graph for a micro second.

This it what it looks like: https://imgur.com/07qR5sg

jandolina commented 1 year ago

@ZyberSE Thank you for your response. I am going to look at the code today and wanted to see if you are still seeing this error?

ZyberSE commented 1 year ago

@jandolina I fiddled around with some settings and managed to get a view that does not have it. Though I've noticed some other issues which may or may not be related.

  1. Graphs are really wired sometimes, they can be flat or like sawtooth, but not the actual data. When this happens is usually for one or two of the graphs.
  2. Daily graphs are off and it's seams to be timezone related. The tickers I'm looking at are Swedish and our market is open between 9am to 5:30pm, but that's not the data I see graphed.

Use ^OMXS30 and compare what you get out to this https://www.avanza.se/index/om-indexet.html/19002/omx-stockholm-30

And now all graphs just turned to "ReceiveSymbolE" again, so I guess it didn't fix itself as I though for a moment 😅

Laumania commented 1 year ago

I'm still seeing this too and have for many weeks really. image

Clicking the "Yahoo" link gives an "File not found" image

I'm from Denmark if that is relevant.

ZyberSE commented 1 year ago

Any updates on this? I'm still having this issue.

Phando commented 1 year ago

I have been unable to recreate this bug in the US and in the UK. I am looking for a solution but it is hard to fix without being able to recreate it. Apologies for the downtime.

ZyberSE commented 1 year ago

If it's location related and you have access to a vpn service, try going out through Sweden and see if that gives the error.

Laumania commented 1 year ago

Or via VPN from Denmark here we seem to have the same issue and it's really sad as I really enjoy your plugin :D

Laumania commented 1 year ago

Just tried starting FIddler and have a look...and it's actually odd, it looks like only ONE of the requests actually fail, but I see errors on all of the buttons. image

image

Laumania commented 1 year ago

That's it! Now I removed the USDDDK that failed, closed StreamDeck and started it again and now it works! So apparently this happens, if just one of the button setups fails.

image

Phando commented 1 year ago

This is good news! Thank you for the debugging. I will see where USDDDK goes wrong and see if I can't debug it.

On Wed, Jun 28, 2023 at 8:54 AM Mads Laumann @.***> wrote:

That's it! Now I removed the USDDDK that failed, closed StreamDeck and started it again and now it works! So apparently this happens, if just one of the button setups fails.

[image: image] https://user-images.githubusercontent.com/1378458/249394304-09ff8f9e-a4dc-4b96-9547-d10c1df339dc.png

— Reply to this email directly, view it on GitHub https://github.com/Phando/Streamdeck-Stonks/issues/42#issuecomment-1610941977, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABUXMD3GADANDFUZ5I3WDTXNPPMZANCNFSM6AAAAAAY5PMA74 . You are receiving this because you commented.Message ID: @.***>

Phando commented 1 year ago

You don't have to live without that symbol, you can use USDDKK=X. Since the queries are batched. I figure a bad ticker will make the whole batch to error out.

On Wed, Jun 28, 2023 at 8:59 AM Joe Andolina @.***> wrote:

This is good news! Thank you for the debugging. I will see where USDDDK goes wrong and see if I can't debug it.

On Wed, Jun 28, 2023 at 8:54 AM Mads Laumann @.***> wrote:

That's it! Now I removed the USDDDK that failed, closed StreamDeck and started it again and now it works! So apparently this happens, if just one of the button setups fails.

[image: image] https://user-images.githubusercontent.com/1378458/249394304-09ff8f9e-a4dc-4b96-9547-d10c1df339dc.png

— Reply to this email directly, view it on GitHub https://github.com/Phando/Streamdeck-Stonks/issues/42#issuecomment-1610941977, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABUXMD3GADANDFUZ5I3WDTXNPPMZANCNFSM6AAAAAAY5PMA74 . You are receiving this because you commented.Message ID: @.***>

Laumania commented 1 year ago

Yeah the "problem" as I see it isn't really that this one fails - its that one can take down them all thats the problem :)

Phando commented 1 year ago

@Laumania Thanks again for your direction. I put out a new release with this fix and one for the day change scaling. https://github.com/Phando/Streamdeck-Stonks/releases/tag/v1.1.16

Laumania commented 1 year ago

@Laumania Thanks again for your direction. I put out a new release with this fix and one for the day change scaling. https://github.com/Phando/Streamdeck-Stonks/releases/tag/v1.1.16

Cool - how is it with StreamDeck, it updates automatically right?

Phando commented 1 year ago

I think the plugin will update once it is approved. In the meantime, you can manually update it by taking the release .sdPlugin and move it to the Plugins folder. On macOS - path ~/Library/Application Support/com.elgato.StreamDeck/Plugins On Windows - path %appdata%\Elgato\StreamDeck\Plugins\

On Wed, Jun 28, 2023 at 2:44 PM Mads Laumann @.***> wrote:

@Laumania https://github.com/Laumania Thanks again for your direction. I put out a new release with this fix and one for the day change scaling. https://github.com/Phando/Streamdeck-Stonks/releases/tag/v1.1.16

Cool - how is it with StreamDeck, it updates automatically right?

— Reply to this email directly, view it on GitHub https://github.com/Phando/Streamdeck-Stonks/issues/42#issuecomment-1611441528, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABUXMGUUZLC3RV6VJRDJULXNQYKXANCNFSM6AAAAAAY5PMA74 . You are receiving this because you commented.Message ID: @.***>

nerakhon commented 1 year ago

I've tried to use the released .sdPlugin (on windows) unfortunately that only shows the eagle logo and doesn't work either.

image Previously I suffered the same issue (I am located in Czech Republic)

nerakhon commented 1 year ago

The yahoo actually returns 401: invalid cookie error:

{"finance":{"result":null,"error":{"code":"Unauthorized","description":"Invalid Cookie"}}}

Phando commented 1 year ago

@nerakhon Thank you for the note. I am afraid the cookie error has to do with location (Czech Republic). I will look into this, but without being able to recreate the error myself it has been hard to fix.

kaz911 commented 1 year ago

@jandolina the error "Error - ReceiveSymboleE" is back for me as well.

VaLeTecK commented 1 year ago

Well i'm having same issues from some days.. with the Stream deck plugin store i've got the "Error ReceiveSymboleE" and with the latest release v1.1.16 i've got every icon with the Green Eagle and nothing else.. if i click on the Yahoo Finance it gives me the blank page with the ERR_FILE_NOT_FOUND.. StreamDeck_x1doUxKa9l I'm using it from italy.. any fix??

nerakhon commented 1 year ago

@Phando I'd be more than happy to assist, we can do screen sharing or some other method or I can gather some data. Let me know what and I'll be happy to help.

nerakhon commented 1 year ago

Maybe one thing I played a bit with the URL in a browser, and at least there, the 401 can be averted by grabbing the crumb from https://query1.finance.yahoo.com/v1/test/getcrumb and adding crumb as a query argument.

vcdx71 commented 1 year ago

I have been unable to recreate this bug in the US and in the UK. I am looking for a solution but it is hard to fix without being able to recreate it. Apologies for the downtime.

I started seeing this in the US on Thursday or Friday. Still seeing it today.

andyt-f commented 1 year ago

Hi

I got the same as @nerakhon when I use a crumb. If I enter this in a browser

https://query2.finance.yahoo.com/v10/finance/quoteSummary/IBM?modules=price&formatted=false

I get the response

{"finance":{"result":null,"error":{"code":"Unauthorized","description":"Invalid Crumb"}}}

but if I add the crumb

https://query2.finance.yahoo.com/v10/finance/quoteSummary/IBM?modules=price&formatted=false&crumb=xxxxxxxxxx

I get this response

{"quoteSummary":{"result":[{"price":{"maxAge":1,"preMarketSource":"FREE_REALTIME","postMarketChangePercent":0.0,"postMarketChange":0.0,"postMarketTime":1689638380,"postMarketPrice":134.24,"postMarketSource":"DELAYED","regularMarketChangePercent":0.0062969388,"regularMarketChange":0.8400116,"regularMarketTime":1689624002,"priceHint":2,"regularMarketPrice":134.24,"regularMarketDayHigh":134.61,"regularMarketDayLow":133.1,"regularMarketVolume":3152055,"regularMarketPreviousClose":133.4,"regularMarketSource":"DELAYED","regularMarketOpen":133.26,"exchange":"NYQ","exchangeName":"NYSE","exchangeDataDelayedBy":0,"marketState":"PREPRE","quoteType":"EQUITY","symbol":"IBM","underlyingSymbol":null,"shortName":"International Business Machines","longName":"International Business Machines Corporation","currency":"USD","quoteSourceName":"Delayed Quote","currencySymbol":"$","fromCurrency":null,"toCurrency":null,"lastMarket":null,"marketCap":121895968768}}],"error":null}}

I am in the UK but get the same results using a European or US VPN.

jeffhlewis commented 1 year ago

image

Is this old news? Found this on the Yahoo Finance API Feedback form (reference => https://docs.google.com/forms/d/e/1FAIpQLSeyb7xMtZFjoNYI7XG1rjlhUopKAxdLAfSRcaPxg9p-9ii-_g/viewform?fbzx=-7189957683680596558%22}}})