~mil/sxmo-tickets#208: 
Surf: Cannot visit any pages other than Google and Duckduckgo

I have sxmo-surf on postmarketos on a pinephone. Whenever I open surf, it opens to duckduckgo and it is fine. If, from there, I do ctrl+g and go to google.com, it is fine. But I cannot go to any other pages.

Any time I try to navigate away from these pages in any way, it will start to load, then suddenly drop to 0% and the page will blank out.

My internet is fine as everything works with Firefox. I do not have a SIM card, so tried turning off the modem to see if that was somehow interfering, but it also did no good.

Help?

Status
RESOLVED NOT_OUR_BUG
Submitter
~gidgers
Assigned to
No-one
Submitted
4 months ago
Updated
4 months ago
Labels
No labels applied.

Stacy Harper 4 months ago · edit

I can relate as I got the exact same issue

~dinkocar 4 months ago

I also can confirm this.

~tetrakist 4 months ago

This is not entirely correct. I can get to my own page: https://tetrakist.srht.site but it is very bare bones. Testing with another simple site: https://news.ycombinator.com does not succeed.

After debugging a bit in the source code, it appears to be an issue within the WebKit Network Process. I was not able to debug this subprocess, and it looks like it may require a build of the webkit2gtk package with -DDEVELOPER_MODE=on, as I was not able to use NETWORK_PROCESS_CMD_PREFIX for debugging with the current webkit2gtk package. (see: https://trac.webkit.org/wiki/WebKitGTK/Debugging). Calling webkit_settings_set_enable_write_console_messages_to_stdout(s, TRUE); did not produce any additional output when running surf from the command line. The "load-committed" signal is being received, so it appears there is not a problem prior to beginning the download, though I'm not certain given my lack of familiarity with either webkit or webkit2gtk.

~arjunaithal 4 months ago

Downgrading the webkit2gtk and webkit2gtk-dev to 2.30.3 version will fix the issue observed in Surf.

~gidgers 4 months ago

Hi everyone, I apologize for the delay in my response, but thank you so much for looking into this. If there is any more info you would like from me, other than the below, I would be glad to help.

~tetrakist, you are absolutely correct, I only tried a handful of sites. To be more precise, I could not actually do a search from either search engine, though the sites themselves worked, and I also tried Wikipedia and Reuters I think. So not a great cross section, but the essentials, for me anyways :)

~arjunaithal, thank you so much for the workaround. I will try it later tonight when I am off work and will let you know if it worked.

~gidgers 4 months ago

~arjunaithal, worked like a charm. Thanks again!

~emulti 4 months ago

Pardon my ignorance but I can't find out how to downgrade a package in PMOS. webkit2gtk appears not listed in https://pkgs.postmarketos.org (or the package filter is broken?) but 2.30.5-r0 is in the repos.

Where are older versions hosted, or do I need to build from source?

~arjunaithal 4 months ago*

pmos is based on alpine linux. Packages can be downloaded from - https://pkgs.org/download/alpine. Just download the package and run sudo apk add <downloaded pkg>.apk, the package will be downgraded if it is of lower version.

~anjan 4 months ago

I have issues like this and megapixels randomly not working cause of alpinelinux edge's upgrades. ~proycon, it might be wise to recommend pmos stable with our images when pmos releases v20.03 by the end of this month. According to alpine's wiki, you should not use alpine edge as a daily driver.

~anjan REPORTED NOT_OUR_BUG 4 months ago

~anjan referenced this from #215 4 months ago

~dinkocar 4 months ago

Just to report after update to webkit2gtk 2.30.6 surf works again.

Register here or Log in to comment, or comment via email.