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

The proxy server is refusing connections

asked 2015-09-19 14:14:44 +0300

ninepine gravatar image

About the same time as I upgraded to 1.1.9 it became impossible to use the Jolla Browser. Other internet software such as email works fine but when attempting to access any site using the browser I get an error message "The proxy server is refusing connections." This applies both on WiFi and phone data connections. I don't have any proxy set in the Browser and have tried using the Utilities "Restart Network Connections" but the error message remains.

Any thoughts please on how to fix this please other than a full factory reset?

Many thanks

edit retag flag offensive close delete

1 Answer

Sort by » oldest newest most voted
3

answered 2015-09-19 21:29:30 +0300

penpen gravatar image

updated 2015-09-19 22:00:37 +0300

Can you check these:

  1. In Terminal app: "env | grep -i proxy"
  2. In Terminal or File Browser app check proxy strings in file /home/nemo/.mozilla/mozembed/prefs.js
  3. In Terminal or File Browser app check file /etc/proxy.conf
  4. In Terminal or File Browser app check file /home/nemo/.proxy.conf
  5. In Terminal app run "/usr/lib/connman/tools/connmanctl services" and then for all the lines run command "/usr/lib/connman/tools/connmanctl services STRING" where STRING is the last string in the line like wifi_123456_789abc_managed_psk or cellular_1234567890_context1. Search for Proxy lines.
edit flag offensive delete publish link more

Comments

Brilliant - many thanks for the pointer @penpen The problem was that my prefs.js file was empty (there were also no proxy.conf files but then I didn't have a proxy set). I'm not sure how the contents of prefs.js came to be removed (May have been as a result of using an Android programme to manage content filtering via OpenDNS). Fortunately I was able to find what the file should contain:

Mozilla User Preferences

/* Do not edit this file.


  • If you make changes to this file while the application is running,
  • the changes will be overwritten when the application exits.

  • To make a manual change to preferences, you can visit the URL about:config */

Having updated prefs.js with this content the browser works fine and the problem is fixed.

Thanks again, very much appreciated.

ninepine ( 2015-09-20 11:23:15 +0300 )edit
1

That should read

# Mozilla User Preferences /* Do not edit this file. * * If you make changes to this file while the application is running, * the changes will be overwritten when the application exits. * * To make a manual change to preferences, you can visit the URL about:config */ ,
ninepine ( 2015-09-20 11:31:04 +0300 )edit
Login/Signup to Answer

Question tools

Follow
1 follower

Stats

Asked: 2015-09-19 14:14:44 +0300

Seen: 481 times

Last updated: Sep 19 '15