-
-
Notifications
You must be signed in to change notification settings - Fork 101
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
"Connection is not defined" error on Chrome OS #161
Comments
Unfortunately I do not have a chrome book, and there are no errors in the log so I can't see what's wrong. Can you try syncing in Chrome on your Windows 10 machine that you're running Firefox on and see if you get the same issue? |
Same problem here: update 1.5.1 broke syncing with chrome browser on chromebook. Reinstalling did not help. 2020-02-11 21:16:10.644 [trace] Installed v1.5.1 |
@LundGB @zampanoo I need more info to figure out what's going on here, can either/both of you do the following please:
Also, you need to do the same for the extension window itself (it has a different console context to the background page):
|
Will do tommorow. However, today I have done a fresh install of Chrome on my desktop computer with no extensions, so no possible conflicts. A clean test. Syncing from Firefox to Chrome browser on Windows 10 desktop worked fine. So it seems to be a platform specific issue, which is the result of either: (a) changes incorporated in version 1.5.1 of Xbrowsersync which inadvertently broke syncing on Chromebooks, or (b) changes made by Google in the Chrome OS on Chromebook which broke the ability to use Xbrowsersync on such devices. Unfortunately, Chromebooks are updated regularly whether such updates are desired by the device owner or not, so not easy or impossible to roll back. |
Thanks @LundGB. Yes that's what I'm thinking, however I'm hoping that it's not a coincidence and that there is a change in v1.5.1 that is causing the issue on the chromebook platform as at least then I can fix it! 🙏 |
Console logs: Xbrowsersync window console log: app.min.js:127 ReferenceError: Connection is not defined This based on setting up a new sync. Sync failed. Hope this helps. This is a great project and I hope that @nero120 you can fix this issue for Xbrowsersync users. I love the ethos of the project and I appreciate how hard you are working on it. I plan to make a donation to the project. Good luck! Let me know if there is anything else I can do on this end to assist. |
Thanks Nero, for looking into the issue. Would love to see the project continue. Logs below. I do not thinlk that my Chromebook updated before the new xbrowsersync version was installed. BTW, the syncing arrow spins round both on the large paenl after entering pw & un. And there is another little spinning arrow next to the api.xbrowsersync. Thanks again, Stefan First console log: empty Second console log: |
Thanks @LundGB @zampanoo, I can indeed fix this! Could one of you please run the following commands in the console and paste the output here, it would help me:
I'll try to release a fix within a week or two, in the meantime please downgrade to v1.5.0. |
First command output: Commands were run in Xbrowsersync popup. How do you downgrade to 1.5.0? |
Lovely thanks @LundGB. To downgrade:
Chrome will display warnings intermittently as the extension was not installed from the Chrome Web Store, but you can safely ignore these warnings. |
Hi Rick,
I get the same output as Lund.
Thanks for the downgrade info - was wondering about that, too.
Maybe add the option to use an earlier version inside the extension?
Bye, Stefan
1.
JSON.stringify(window.navigator.connection)
"{}"
2.
JSON.stringify(window.navigator.onLine)
"true"
…On Wed, 12 Feb 2020 at 09:07, Rich ***@***.***> wrote:
Thanks @LundGB <https://github.com/LundGB> @zampanoo
<https://github.com/zampanoo>, I can indeed fix this! Could one of you
please run the following commands in the console and paste the output here,
it would help me:
JSON.stringify(window.navigator.connection)
JSON.stringify(window.navigator.onLine)
I'll try to release a fix within a week or two, in the meantime please
downgrade to v1.5.0.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#161?email_source=notifications&email_token=AOFSJSLTFCZHAAH5Q3U74KTRCO35ZA5CNFSM4KS4IIJ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELP7V5Y#issuecomment-585104119>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOFSJSPYJYPU2WAZTNVU2GTRCO35ZANCNFSM4KS4IIJQ>
.
|
I am happy to test any new version prior to release, if that would be helpful. |
@LundGB thanks I'll take you up on that! |
I installed vs 1.5.0 as described. Syncing does work but the extension does not seem to stick: after rebooting it's gone. |
Same here as @zampanoo. I installed 1.5.0 which worked yesterday, but it had disappeared by itself this morning! What? |
I have tried the beta, both with an existing sync and with a new sync. It failed both times with an error message even though credentials were 100% correct: |
@LundGB sorry I should have said, with beta releases I hard code the service to the test service (https://api-test.xbrowsersync.org/). You can't use your existing sync so just create a new one. The test service is cleared down regularly. |
OK. Good news and bad news. The sync worked fine on the Chromebook - it completed very quickly. I then rebooted Chromebook due to the 'disappearing extension' problem. When I rebooted, extension had vanished. This is apparently a thing. |
@LundGB that's great news, the fixed worked! Don't worry about the disappearing extension as it won't be long before I release the fix and you can go back to using the version from the chrome store. Or yes, you should be able to disable syncing of extensions which should stop it being removed. Thanks for your help! Also just to say, make sure you aren't syncing bookmarks to your Google account (I'm guessing you're not) otherwise you'll get conflicts. |
OK. Thanks. Just one question, Rich. I thought Xbrowsersync synced every 15 minutes. However, when I am reorganising bookmarks, it seems to sync every few minutes, displaying a message that latest changes may not have synced. Is there anyway to have any control over frequency of syncing or to pause syncing? Perhaps simply disconnecting from the internet while I reorganise bookmarks is the way to go? |
@LundGB yes it does indeed sync every 15 minutes, however there is a known issue currently in xBrowserSync for Chrome and Firefox where if you move a bookmark into a sibling folder or certain other folders you can get an issue. There are other issues with moving bookmarks in Firefox as well. Can you attach a log file containing the error occurs? |
Log file attached. It is a long log from Firefox. I think I had an error on the 15th. There may also be errors logged from a few days ago as well. I tried to produce an error myself today, but couldn't. |
Rearranging of bookmarks was always buggy for me too. It was impossible to move an item into a folder above it in both hierarchy and sidebar position - the hack was to first move it up in hierarchy but into a folder below in sidebar position. And from there into the desired position, somewhere above... (Sorry, probably sounds silly and won't help anybody.) |
@zampanoo By sidebar position, do you mean subfolder position or nested subfolders? Perhaps you can give an example of what you mean? I have been trying to reproduce the error without success. It can't be random, so I must occasionally trigger it by certain bookmark moves. |
Any news on when a new version will be released which includes a fix for this issue? Let me know if I can help in any way. |
@LundGB just moved house so things are a bit chaotic at the moment, bear with me! |
Describe the issue you are experiencing
A clear and concise description of your issue:
Bookmarks synced from Firefox on desktop Windows 10 PC can no longer be synced to Chrome browser on Chromebook. Syncing has worked flawlessly for months but has just stopped working suddenly.
How can the issue be reproduced?
Steps to reproduce the behavior:
Screenshots
If applicable, add screenshots to help explain your problem:
Desktop browser
Please complete the following information for all affected desktop browsers:
Laptop browser with error
Please complete the following information for all affected laptop browsers:
Application log
Please include the logs from the affected clients:
Download the Application log from the Settings panel and paste the contents here.
2020-02-11 07:50:34.268 [trace] Installed v1.5.1
2020-02-11 07:50:34.288 [trace] Starting up
2020-02-11 07:50:34.352 [trace] {"displayHelp":true,"displayPermissions":true,"appVersion":"1.5.1","platform":{"name":"chrome","version":"79.0.3945","mobile":false,"os":"Chrome OS x86_64"}}
2020-02-11 07:50:45.676 [trace] Optional permissions granted
End of log
The text was updated successfully, but these errors were encountered: