Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Synchronization error (auth error) on Brackets sprint 44 #23

Closed
teorosu opened this issue Oct 7, 2014 · 11 comments
Closed

Synchronization error (auth error) on Brackets sprint 44 #23

teorosu opened this issue Oct 7, 2014 · 11 comments
Milestone

Comments

@teorosu
Copy link

teorosu commented Oct 7, 2014

Brackets version: 0.44
AEM Sightly Brackets Extension: 0.6

Issue:
After the upgrade to the latest brackets + AEM extension every synchronization request returns auth error.

@tigerclaw-az
Copy link

+1 Having same issue after upgrade

@raducotescu
Copy link
Member

A current workaround would be to remove and reinstall the AEM Sightly Brackets Extension (0.0.6) until I manage to investigate the weird behaviour.

@raducotescu raducotescu added this to the 0.0.7 milestone Oct 7, 2014
@tigerclaw-az
Copy link

@raducotescu Any estimate on when this will be fixed? I would like to upgrade to the latest version of Brackets due to some significant improvements.

@raducotescu
Copy link
Member

@ejwaibel, I hope that in the next two weeks or so. Until then you can apply the workaround from my previous comment.

@vietankur009
Copy link

same issue I am facing when I try to syncup my aem code with brackets it display a synchronization error.

@raducotescu raducotescu changed the title Synchronization error (auth error) Synchronization error (auth error) on Brackets sprint 44 Oct 14, 2014
@ghost
Copy link

ghost commented Oct 14, 2014

Here is the log from the debug console

Download the React DevTools for a better development experience: http://fb.me/react-devtools /thirdparty/react.js:4356
GET file:///C:/Program%20Files%20(x86)/Brackets/www/file/FilePathProcessor.js  require.js:1872
Cannot load module file/FilePathProcessor CRXDEFilePathProcessor.js:52
Exception when calling a 'brackets done loading' handler: /utils/AppInit.js:95
TypeError: Cannot read property 'serverUrl' of undefined
    at get (file:///C:/Users/jbodkin/AppData/Roaming/Brackets/extensions/user/aem-sightly-brackets-extension/sly/preferences/Preferences.js:74:59)
    at getRemote (file:///C:/Users/jbodkin/AppData/Roaming/Brackets/extensions/user/aem-sightly-brackets-extension/sly/preferences/Preferences.js:82:16)
    at Object.<anonymous> (file:///C:/Users/jbodkin/AppData/Roaming/Brackets/extensions/user/aem-sightly-brackets-extension/sly/preferences/Preferences.js:163:41)
    at Object.o.event.dispatch (file:///C:/Program%20Files%20(x86)/Brackets/www/thirdparty/thirdparty.min.js:560:6055)
    at Object.r.handle (file:///C:/Program%20Files%20(x86)/Brackets/www/thirdparty/thirdparty.min.js:560:2830)
    at Object.o.event.trigger (file:///C:/Program%20Files%20(x86)/Brackets/www/thirdparty/thirdparty.min.js:560:5163)
    at Object.<anonymous> (file:///C:/Program%20Files%20(x86)/Brackets/www/thirdparty/thirdparty.min.js:560:11000)
    at Function.o.extend.each (file:///C:/Program%20Files%20(x86)/Brackets/www/thirdparty/thirdparty.min.js:559:2877)
    at o.fn.o.each (file:///C:/Program%20Files%20(x86)/Brackets/www/thirdparty/thirdparty.min.js:559:818)
    at o.fn.extend.trigger (file:///C:/Program%20Files%20(x86)/Brackets/www/thirdparty/thirdparty.min.js:560:10976) /utils/AppInit.js:96
Cannot load module file/FilePathProcessor main.js:56
updating sling remote with [File C:/Users/jbodkin/AppData/Roaming/Brackets/extensions/user/aem-sightly-brackets-extension/sling/aem-sightly-ide-api-0.1.0-SNAPSHOT.jar] RemoteSyncManager.js:35
auth() received invalid user or password RemoteSyncManager.js:40

@ghost
Copy link

ghost commented Oct 14, 2014

I've raised #26 which seems to resolve the issue on my copy of brackets.
A snapshot is available here: https://github.com/JBodkin/aem-sightly-brackets-extension/releases/tag/0.0.6.1

@raducotescu
Copy link
Member

Thanks for the PR, @JBodkin. I'll have a look at it and if it indeed fixes the problem I'll release 0.0.7 with only this fix, moving the other open issues to 0.0.8.

@roysarango
Copy link

Hey guys.
I'm getting the same error message with the current version (0.0.12).
I already tried removing and installing the extension again but it didn't work.
I tried yesterday on my Mac and it worked just fine but on a Windows 8 laptop it throws the auth error.
Is there any other workaround valid for 0.0.12?

@roysarango
Copy link

I removed the last slash from the "Server URL" field and it worked.
http://localhost:4502/ -> http://localhost:4502
I'm adding this comment just in case anyone else is wasting time with this.

@deisbel
Copy link

deisbel commented May 23, 2016

@roysarango the curious thing in my case is that I had the path without slash, I put the slash and the sync began working again. So, it's looks like what we need to do for un-lock Bracket is just "change" the path.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants