brackets-synapse icon indicating copy to clipboard operation
brackets-synapse copied to clipboard

Can't connect after encrypting server file

Open lbstephane opened this issue 10 years ago • 4 comments

Hi,

Sysnapse ask me to encrypt server file to increase security, so I did it, but now, got an error, failed to authenticate. Credentials are ok, so, what can I do ?

Thanks

lbstephane avatar Oct 27 '15 08:10 lbstephane

the error, Is that via the authenticated?

kooohei avatar Oct 27 '15 16:10 kooohei

Hi. The credentials, Is that realy OK? by the way, please retry authenticate via the synapse after following steps.

[Debug] -> [Open Preferences Files] -> open the 2 files on the brackets split view.(defaultPreferences.json, brackets.json) then find the rows, they has prefix "brackets-synapse.xxxx". (xxxx: version, server-settings, use-crypt) copy thats to suitable location. then save file after remove the found 3rows from brackets.json. now, synapse has been initialized.

kooohei avatar Oct 27 '15 22:10 kooohei

Hi

impossible to edit defaultPreferences.json, but, removing encryption and encryption key and reload brackets generate an error, so, i reactivate encyption, paste the encryption key saved the file and ... it works ... Brackets is a bit strange sometimes.

Thanks for your help.

lbstephane avatar Oct 28 '15 09:10 lbstephane

ic, however I feel little wierd. cuz plz see the comment on top of defaultPreferences.json source.

  • This is a read-only file with the preferences supported
    • by Brackets.
    • Use this file as a reference to modify your preferences
    • file "brackets.json" opened in the other pane.
    • For more information on how to use preferences inside
    • Brackets, refer to the web page at https://github.com/adobe/brackets/wiki/How-to-Use-Brackets#preferences

that is read only file for the brackets. but,,, I dont have any idea..

kooohei avatar Oct 28 '15 17:10 kooohei