GS 9: again problems with eBay token

By the way: maybe you can start GarageSale in English when you make screencasts/shots as this makes it much easier for me to understand…

So here is what I found out:

The label of the token date states “Token Download Date:”. This is only the case if an old token is saved in the keychain, that only (older) versions of GS8 are capable of writing (we think so far but we may be wrong).

If you have a newer token (that was downloaded/refreshed using GS9), the text should state “Token Expiration Date:” (“Data di scadenza chiave accesso:”).

So this tells me that either GarageSale or anything else is overwriting the Keychain entry with an old entry and/or token.

We build a special version of GarageSale that should crash whenever GarageSale itself tries to write or overwrite this entry. Can you please have a try:

https://downloads.iwascoding.com/downloads/GarageSale_9.0b18.dmg

Thanks!

Hi @paul ,
here I am, sorry for delay but I could not check before.
So… I have really bad news for you. Now also my second Mac is giving the same trouble ! Until I worked with GS 8, everything worked fine at least in my MacBook Pro, now both Macs are giving troubles with token. The third Mac is only working for creating listings, so I don’t know if token is valid or not there. I only know that until I updated my Macbook pro to Monterey and GS to 9, I have the same issue with token. It is just less usual to happen because I do not leave MacBook Pro always on. It just happen when I leave it on in my office, when I switch it off the token returns to be valid, it will then broke in some hours if I leave it running.

Apart this, concerning your questions:

The Mac mini is always on, it never shut down. GS is open and set in preferences to “update every 5 minutes”. I do not invoke listing updating manually.

How can I change the language?

Yes, I see.

I am going to download it right now. The Mac is always on, so it will probably crash later this night.

Let me know for anything else I can do. Thanks to you for your work.

Kind regards
Federico

@Paul until now GS seems to be still on and never crashed, but the token issue is always there. What’s wrong?

That’s odd. We specifically modified that B18 to crash when it attempts to write an invalid token to the key chain.

Here is one other you could try. Got to Keychain Access, select your “GarageSale eBay Account” entry, hit “Get Info” for the Entry, go to the “Access Control” tab and remove all items from that list, except “Keychain Access” itself.

When you use GarageSale 9 next time, it should ask you to grant Keychain Access once again.

If you see your token go bad once again, please check how many instances of GarageSale are now on the “Access Control” list for your token in Keychain Access.

I just did, but when I go to the “Access Control” tab, this is what I find:

It says “impossible to modify access for this item”. So I cannot delete it anyway. Is this normal?

It looks the same for me, after I deleted my existing account/token from the Keychain and GarageSale and created a new account from scratch.

We changed to access permissions, so when we ship major updates of GarageSale, users don’t have to go through these “Allow Keychain Access” panels. That’s why you cannot remove/delete individual apps anymore. I forgot about this. My apologies for making you go down that rabbit holes.

Still, we cannot figure out why parts of your token disappear from the keychain.

Hi Ilja,
is this something available in the next beta? Do I have to try again instructions above? I am still blocked here. Token of both Macs now get corrupted after some hours. I have to quit the app and reopen to let the token work again (for some hours). I am convinced it has to do with two separated Macs working in the same ebay account with two different databases (NOT synced). Let me know what else I can do please!!!

I am totally stuck with the work. I cannot use auto relist feature because the token expires and no solution seems to be possible. I really need a fix, or I will be forced to downgrade to GS 8, although this might be difficult. This is exactly what worried me before upgrading to 9 version…

That’s something that’s already built-in. You want see an improvement until we release GarageSale 10, and you don’t get the “Keychain permission” panels anymore.

We added even more logging in Beta 19. Hopefully that will give us more insights, what’s going on here.

Thanks will install right now on both Macs.

Let me know if I have to delete the keychain permission or if not necessary since new logging

@fedege96 can you tell me how many items do you have in the Keychain that are called “GarageSale eBay Account”?

Can you tell me if all these items have a prefix called ebay-credentials in the “Where” value of the entry?

Did you ever try to delete all accounts in GarageSale, delete all of these entries in Keychain and authorize all accounts in GarageSale anew?

Hi Paul,

  1. MacBook Pro: 1x
  2. Mac mini: 1x

I only have one account, and yes, I already deleted account. I will do it again: both delete account in preferences + GarageSale eBay Account in the keychain.

Let me know if I can do anything else.

Here is another special version for you test. We rewrote most of the code that saves your eBay access tokens into your Mac’s Keychain. Please let us know how it runs for you and at what point you see errors starting to appear:

https://downloads.iwascoding.com/downloads/GarageSale_9.0b20.dmg

@ilja can I install in only in the Mac mini? I need at least one Mac up and running, cannot afford “errors starting to appear”. Thank you

Since we don’t know what the cause of your problems is, we cannot guarantee you that version will immediately show alerts to you. We tested on our Macs, and no issues showed up.

If the version is less usable for you, please go back to Beta 19.

@ilja here we are: Mac mini just checked, there was this warning showing. It says “interaction with user is not allowed”… “good” news?

Schermata 2022-04-28 alle 21.04.47

Thanks for getting back. Did GarageSale continue to work after you dismissed that panel?