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

Web GUI doesn't work in older browsers #5348

Closed
alguryanow opened this issue Dec 5, 2018 · 17 comments
Closed

Web GUI doesn't work in older browsers #5348

alguryanow opened this issue Dec 5, 2018 · 17 comments
Labels
bug A problem with current functionality, as opposed to missing functionality (enhancement) frozen-due-to-age Issues closed and untouched for a long time, together with being locked for discussion
Milestone

Comments

@alguryanow
Copy link

After automatic upgrade from 0.14.52 to 0.14.53 webGui doesn't work anymore in Firefox 29.
The main page is almost empty and it seems like javascript isn't working. For example on the top of the page I see {{thisDeviceName()}} instead of the actual name of device. I do not see any shared folders (just the header "Folders") and connected devices. I'm also unable to open any page with settings - when I click on any menu-item from menu Actions nothing happens.

And I unable to start previous version (syncthing.old) because of changed database format:

[235QK] 12:14:03 FATAL: Database schema: Syncthing v0.14.53 required

Version Information

Syncthing Version: v0.14.53
OS Version: some old clone of Debian
Browser Version: Firefox 29.0

I'm unable to upgrade browser on this system. I'm unable to use any other browser on this system as well.
GUI was working well just before automatic upgrade of syncthing (previous one was 0.14.52)

Because of non-working GUI right now I'm unable to reconfigure syncthing to allow access from other computers.

@calmh
Copy link
Member

calmh commented Dec 5, 2018

The one thing I can imagine is the new TLS 1.2 requirement; however TLS 1.2 should be supported in Firefox 27+ according to my Googling.

Have you manually disabled it? (about:config, security.tls.version.max, you want "3")

@mrkingmidas
Copy link

Hello! I have same problem with IE 11. Interface does to load, but program work:
image

@calmh
Copy link
Member

calmh commented Dec 5, 2018

I'll Google that too for you:

https://accountants-community.intuit.com/articles/1737631-how-to-enable-tls-1-2-in-internet-explorer-11

Try those steps.


Edit: Though... That's an HTTP link. Can you check the browser javascript console for any errors?

@calmh calmh changed the title WebGUI doesn't work in 0.14.53 in old Firefox and unable to launch old version WebGUI doesn't work in 0.14.53 in old browser and unable to launch old version Dec 5, 2018
@uok
Copy link
Contributor

uok commented Dec 5, 2018

In the screenshot there is a HTTP url, so it must be something else?

@calmh
Copy link
Member

calmh commented Dec 5, 2018

Yeah, just realized.

@mrkingmidas
Copy link

I am try, but already this settings set by admin. This is WinServer 2012 R2.

image

@calmh
Copy link
Member

calmh commented Dec 5, 2018

Can you check the browser javascript console for any errors?

@mrkingmidas
Copy link

This console ?
image

@uok
Copy link
Contributor

uok commented Dec 5, 2018

IE11 gives this JS error

Error: [ng:areq] Argument 'SyncthingController' is not a function, got undefined
http://errors.angularjs.org/1.3.20/ng/areq?p0=SyncthingController&p1=not%20a%20function%2C%20got%20undefined
at assertArg (https://myhost:1234/vendor/angular/angular.js:1609:5)
at assertArgFn (https://myhost:1234/vendor/angular/angular.js:1619:3)
at Anonymous function (https://myhost:1234/vendor/angular/angular.js:8512:9)
at Anonymous function (https://myhost:1234/vendor/angular/angular.js:7680:13)
at forEach (https://myhost:1234/vendor/angular/angular.js:353:11)
at nodeLinkFn (https://myhost:1234/vendor/angular/angular.js:7667:11)
at compositeLinkFn (https://myhost:1234/vendor/angular/angular.js:7159:13)
at publicLinkFn (https://myhost:1234/vendor/angular/angular.js:7038:30)
at Anonymous function (https://myhost:1234/vendor/angular/angular.js:1479:11)
at Scope.prototype.$eval (https://myhost:1234/vendor/angular/angular.js:14589:9)

which seems because of (partial) missing ES6 support
https://stackoverflow.com/questions/40473277/error-ngareq-argument-maincontroller-is-not-a-function-got-undefined-in-i
https://angular.io/guide/browser-support
could also be the reason for old FF

@calmh
Copy link
Member

calmh commented Dec 5, 2018

Yeah, screenshot error points to Object.entries which seems like something newfangled

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/entries

@calmh
Copy link
Member

calmh commented Dec 5, 2018

Oh and I see there is also ES6 syntax there, yes.

@calmh calmh added the bug A problem with current functionality, as opposed to missing functionality (enhancement) label Dec 5, 2018
@calmh calmh changed the title WebGUI doesn't work in 0.14.53 in old browser and unable to launch old version WebGUI doesn't work in older browsers Dec 5, 2018
@calmh calmh changed the title WebGUI doesn't work in older browsers Web GUI doesn't work in older browsers Dec 5, 2018
calmh added a commit to calmh/syncthing that referenced this issue Dec 5, 2018
@calmh
Copy link
Member

calmh commented Dec 5, 2018

Can you affected people try this build to see if it resolves the issue?

@calmh calmh added this to the v0.14.54 milestone Dec 5, 2018
@mrkingmidas
Copy link

  • Windows
    Yes, 64-bit version work!

@calmh calmh closed this as completed in da39dfa Dec 5, 2018
calmh added a commit that referenced this issue Dec 5, 2018
* release:
  gui: Don't use newfangled ES6 features (fixes #5348)
@calmh
Copy link
Member

calmh commented Dec 5, 2018

Dropping a 0.14.54 to fix this.

@uok
Copy link
Contributor

uok commented Dec 5, 2018

Great bug hunting everybody! 🎉

@alguryanow
Copy link
Author

On old Debian's clone in Firefox 29 patched version works too. And 0.14.54 as well.

Thanks a lot!

@bugith
Copy link

bugith commented Dec 5, 2018

I keep a copy of "SSL Version Control 0.4.1-signed.xpi" plugin to run with old FF. Maybe hard to find nowadays. Just ask

@st-review st-review added the frozen-due-to-age Issues closed and untouched for a long time, together with being locked for discussion label Dec 6, 2019
@syncthing syncthing locked and limited conversation to collaborators Dec 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug A problem with current functionality, as opposed to missing functionality (enhancement) frozen-due-to-age Issues closed and untouched for a long time, together with being locked for discussion
Projects
None yet
Development

No branches or pull requests

6 participants