motiko / sfdc-debug-logs

Browser extension for Salesforce logs management
http://motiko.github.io/sfdc-debug-logs/
MIT License
31 stars 12 forks source link

Error 401 - Unauthorised #8

Closed charles-thompson-salesforce-com closed 5 years ago

charles-thompson-salesforce-com commented 5 years ago

An error 401 appears at the bottom of the page when I try to load logs. It appears for a few millis then disappears.

motiko commented 5 years ago

I need more information to help with this. Are you signed into several salesforce instances ? Do you have custom domain enabled? Perhaps you can provide me with credentials to some dev org where i can reproduce this?

charles-thompson-salesforce-com commented 5 years ago

<oops, try again> Answers to your questions:

Are you signed into several salesforce instances? Yes, in different Chrome windows. Is that a problem?

Do you have custom domain enabled? Yes. Only for Customer Community, not the main org (where we use myDomain)

Perhaps you can provide me with credentials to some dev org where i can reproduce this? I’ll be happy to do that once I find one that I can share. You understand. Please hold.

motiko commented 5 years ago

Are you signed into several salesforce instances? Yes, in different Chrome windows. Is that a problem?

Not a problem, just trying to figure out what causes this error. Do you use incognito mode or profiles? Does the error appear for all the windows or for one specific org?

Do you have custom domain enabled? Yes. Only for Customer Community, not the main org (where we use myDomain)

From which org you open the debugger? (i.e. which tab is open when you press Shift+W)

I’ll be happy to do that once I find one that I can share. You understand. Please hold.

This would be the best option. I of course understand that this is not easy and sometimes impossible. I'm waiting 😄

motiko commented 5 years ago

@charles-thompson-salesforce-com I believe i found the solution. Please try with latest (0.7.11) version see if the problem persist.

charles-thompson-salesforce-com commented 5 years ago

Thanks! I'll try it out tomorrow.

On Sun, 21 Jul 2019, 20:14 Moti Ko, notifications@github.com wrote:

@charles-thompson-salesforce-com https://github.com/charles-thompson-salesforce-com I believe i found the solution. Please try with latest (0.7.11) version see if the problem persist.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/motiko/sfdc-debug-logs/issues/8?email_source=notifications&email_token=AH536EKXAOFBCCMVSNSB5GLQARHKDA5CNFSM4H24HYUKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2OCBPA#issuecomment-513548476, or mute the thread https://github.com/notifications/unsubscribe-auth/AH536EI466KOF7W37Y4PCN3QARHKDANCNFSM4H24HYUA .

motiko commented 5 years ago

Just to be clear the solution is not supporting multiple orgs yet ( i will add this next) Right now it's just a retry mechanism that should hopefully solve the problem i suspect you've encountered. In case the problem persist please send me detailed reproduction steps. Including: Which type of org you login into (custom domain, lightning e.t.c). On which page you activate the extension (VF page, lightning, account, setup or anything else a path part of the url will suffice)

charles-thompson-salesforce-com commented 5 years ago

Sure. I need to stick with the rules... one org at a time.

On Sun, 21 Jul 2019, 20:49 Moti Ko, notifications@github.com wrote:

Just to be clear the solution is not supporting multiple orgs yet ( i will add this next) Right now it's just a retry mechanism that should hopefully solve the problem i suspect you've encountered. In case the problem persist please send me detailed reproduction steps. Including: Which type of org you login into (custom domain, lightning e.t.c). On which page you activate the extension (VF page, lightning, account, setup or anything else a path part of the url will suffice)

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/motiko/sfdc-debug-logs/issues/8?email_source=notifications&email_token=AH536ENUJUJO2QBIHJDQNE3QARLOXA5CNFSM4H24HYUKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2OC2IY#issuecomment-513551651, or mute the thread https://github.com/notifications/unsubscribe-auth/AH536ELGLZIRMVFXC2SPJZDQARLOXANCNFSM4H24HYUA .

motiko commented 5 years ago

No worries the support for multiple orgs will be soon. Just want to make sure i don't break existing functionalities with it, thank you for your help with it 👍

motiko commented 5 years ago

@charles-thompson-salesforce-com Any news?

motiko commented 5 years ago

@charles-thompson-salesforce-com I'm closing this issue, feel free to reopen if you encounter the same problem.

charles-thompson-salesforce-com commented 5 years ago

Brilliant. Thanks!

On Tue, 30 Jul 2019, 16:27 Moti Ko, notifications@github.com wrote:

@charles-thompson-salesforce-com https://github.com/charles-thompson-salesforce-com I'm closing this issue, feel free to reopen if you encounter the same problem.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/motiko/sfdc-debug-logs/issues/8?email_source=notifications&email_token=AH536EILD646FRWNB53DRQLQB73OBA5CNFSM4H24HYUKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3DGTHQ#issuecomment-516319646, or mute the thread https://github.com/notifications/unsubscribe-auth/AH536EITRZDED5YFYAEBTMDQB73OBANCNFSM4H24HYUA .

charles-thompson-salesforce-com commented 5 years ago

I'm sorry I should have responded last week. Your latest improvements have resolved this issue. Thank you so much for making the effort!