Ask / Submit
55

Twitter stopped working in sailfish-browser

Tracked by Jolla (In release)

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

richie gravatar image

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

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, 3.0.3.10 on Sony X, with sailfish-browser.

Sorry! We did something wrong.

Has anyone else seen this?

Rich

twitter error

edit retag flag offensive close delete

Comments

2

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

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

Same for me on 3.0.3.10, Xperia XA2 Plus Dualsim

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

Also with JollaC.

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

Surprise, it's also broken on Jolla 1.

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

same issue since yesterday (SailfishX / Hossa)

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

5 Answers

Sort by » oldest newest most voted
12

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

kimmoli gravatar image

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

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

sailfish-browser-custom-ua.desktop

[Desktop Entry]
Type=Application
Name=Custom UA
Icon=icon-launcher-browser
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 2.0.1.11, 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

Comments

Very disturbing if that is indeed the case.

vattuvarg ( 2019-06-20 23:25:54 +0200 )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 +0200 )edit
6

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

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
3

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

carmenfdezb gravatar image

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

image description

edit flag offensive delete publish link more
2

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

Slartibartfass gravatar image

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

edit flag offensive delete publish link more

Comments

1

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]

//j

jesperC ( 2019-07-29 10:55:17 +0200 )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 +0200 )edit

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

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

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

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

Follow
13 followers

Stats

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

Seen: 1,322 times

Last updated: Nov 10