We have moved to a new Sailfish OS Forum. Please start new discussions there.

Twitter stopped working in sailfish-browser

Tracked by Jolla (In release)

asked 2019-06-12 00:28:14 +0300

richie gravatar image

updated 2019-06-12 09:01:27 +0300

Dakon gravatar image

Hi, Twitter is no longer working for me with the stock browser. All Twitter links I have tried, give the message below, I'm using Hossa, on Sony X, with sailfish-browser.

Sorry! We did something wrong.

Has anyone else seen this?


twitter error

edit retag flag offensive close delete



I can confirm the twitter error on Xperia X with Sailfish OS Hossa and sailfish-browser.

vattuvarg ( 2019-06-12 00:39:25 +0300 )edit

Same for me on, Xperia XA2 Plus Dualsim

seiichiro0185 ( 2019-06-12 07:58:22 +0300 )edit

Also with JollaC.

peterleinchen ( 2019-06-12 08:36:51 +0300 )edit

Surprise, it's also broken on Jolla 1.

Dakon ( 2019-06-12 09:00:55 +0300 )edit

same issue since yesterday (SailfishX / Hossa)

Dam ( 2019-06-12 10:16:10 +0300 )edit

5 Answers

Sort by » oldest newest most voted

answered 2019-06-20 19:45:40 +0300

kimmoli gravatar image

updated 2019-06-20 19:51:13 +0300

For some other non-working sites, i have additional application laucher with customized user agent. Twitter seems to work with it.


[Desktop Entry]
Name=Custom UA
Exec=env CUSTOM_UA="Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.153 Safari/537.36" invoker -s --type=browser -G /usr/bin/sailfish-browser %U
Comment=Sailfish UI application

Magic happens with env CUSTOM_UA="Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.153 Safari/537.36" in Exec line

(This is old, works with, please feel free to complain if it does not work with 3.x.x.x)

So propably nothing wrong with the browser, just Twitter limited browsers they support - soon only with Chrome?

edit flag offensive delete publish link more


Very disturbing if that is indeed the case.

vattuvarg ( 2019-06-20 23:25:54 +0300 )edit

Have added a user-agent override to the browser just for twitter that's more similar to our real one but just drops the Firefox element. This lands you on the same old mobile site, and with a better initial warning banner too. Apparently these overrides get updated by the browser automatically every so often, so you should get that soon. There's still a problem here that needs solving - Twitter's new mobile site tries to do something with the browser that doesn't work - but it's going to take more time to debug.

(That old site is much faster though)

Andy Branson ( 2019-08-08 18:39:18 +0300 )edit

answered 2019-08-22 11:12:44 +0300

jovirkku gravatar image

The next Sailfish OS update will contain a fix to the user agent of Sailfish Browser. This should ensure that Twitter can be accessed.

edit flag offensive delete publish link more

answered 2019-08-22 03:06:11 +0300

carmenfdezb gravatar image

I noticed today by chance that it works fine again :)

image description

edit flag offensive delete publish link more

answered 2019-06-13 13:16:09 +0300

Slartibartfass gravatar image

I am not surprised. The browser engine is very old (March 2016)

edit flag offensive delete publish link more



Guess that it is also possible to tweak the useragent setting via the "general.useragent.override" entry available via about:config.

  • Enter about:config in the browser's address bar.
  • Search for general.useragent.override
  • Change the setting to the useragent string that you like and press [Accept]


jesperC ( 2019-07-29 10:55:17 +0300 )edit

an useragent that works (as date to this post): Mozilla/5.0 (Linux; Mobile; rv:68.0) Geeko/20100101 Firefox/68.0

engine is 45.0, but you must trick site to think it's at least 68, so some might not work correctly.

j.lev ( 2019-08-19 12:27:51 +0300 )edit

Geeko? That's the name of the SuSE gecko.

DaveRo ( 2019-08-22 08:49:02 +0300 )edit

answered 2019-11-10 12:06:35 +0300

kxq gravatar image

After the recent update, some pages started working again ( ampparit.com , for example) while others did not ( suomenkuvalehti.fi , for example).

edit flag offensive delete publish link more
Login/Signup to Answer

Question tools



Asked: 2019-06-12 00:28:14 +0300

Seen: 1,581 times

Last updated: Dec 02 '19