maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   MeeGo / Harmattan (https://talk.maemo.org/forumdisplay.php?f=45)
-   -   Browser and other HTTP stop working (https://talk.maemo.org/showthread.php?t=91485)

jorge 2013-09-29 08:22

Browser and other HTTP stop working
 
Hi all,

From time to time the built-in browser and some other http apps stop connecting. Browser progress bar appears but stops in the very beginning (killing browser and relaunching it doesn't help), FB doesn't show 'updating' in the feed, yandex.maps just doesn't dowload data.

What's weird is that at the same time ping works (both IP is resloved and packets are received), pop3 mail checks work, wifi hotspot does transfer data to the internet and even Firefox works (they must be using http in a different way?).

Happens both on 3G and Wi-Fi.

Most cases seem to be somehow related to power saving mode (that is, it almost never happens without PSM and if PSM is enabled when a browser connection is open the chances to get the issue are higher). I don't have precise steps to reproduce the issue though. PSM gets activated by time conditions with ProfileMatic.

There were rare cases where I could bring connectivity back for a short time by toggling PSM on and back off or by changing 2g/3d/dual setting. But they are too rare and the connectivity was down again soon (again, ping and others continued to work).

I don't have open mode or inception installed. I did try inception for a short period of time hoping it would allow to reset the network adapter somehow without rebooting the phone but as I'm not deep into linux I didn't succeed. I don't have many 'system' programs installed apart from ProfileMatic and UI extensions (though I'm thinking of trying Faster N9).

I'd appreciate any idea why this can happen, what to check or try. I'd of course like to avoid situations like that but if there's a way to reset the adapter wihtout rebooting the device it will also be very good.

Thanks.

peterleinchen 2013-09-29 08:52

Re: Browser and other HTTP stop working
 
Next time it happens, try following:
devel-su
- enter 'rootme' as password
/sbin/initctl stop xsession/icd2
/sbin/initctl start xsession/icd2

(of course you need to have developer mode installed)

all credits for this to xxx (cannot remember right now ;)

Mikkosssss 2013-09-29 09:22

Re: Browser and other HTTP stop working
 
I have desktop icon for restarting networking. (same code as above)
Happens to me mostly with video playing.
Before I made desktop icon I used fly mode on/off and it helps.

saleki 2013-09-29 09:32

Happens to me also. Even if I don't have psm on... I'm on open mod and have power pack installed from n9qtweak.

jorge 2013-09-29 10:16

Re: Browser and other HTTP stop working
 
Quote:

Originally Posted by peterleinchen (Post 1377517)
Next time it happens, try following:
devel-su
- enter 'rootme' as password
/sbin/initctl stop xsession/icd2
/sbin/initctl start xsession/icd2

(of course you need to have developer mode installed)

all credits for this to xxx (cannot remember right now ;)

Huge thanks! I tried searching for an answer a while ago but didn't find anything. You and the unknown xxx have made my day:)

Nad 2013-10-16 21:10

Re: Browser and other HTTP stop working
 
Quote:

Originally Posted by Mikkosssss (Post 1377522)
I have desktop icon for restarting networking. (same code as above)
Happens to me mostly with video playing.
Before I made desktop icon I used fly mode on/off and it helps.

Mind sharing the .desktop file code please?

Schturman 2013-10-17 00:10

Re: Browser and other HTTP stop working
 
Xxx, you mean me ? :D
I found and added this possibility to N9QT refresh button, called "network refresh", many many time ago ;)
All N9QT users can use it by 3 clicks: 1 on the icon -> choose N, then press enter.
Happy surfing again :p

Mikkosssss 2013-10-17 04:10

Re: Browser and other HTTP stop working
 
Quote:

Originally Posted by Nad (Post 1380996)
Mind sharing the .desktop file code please?

Same code as above in script and desktop icon exec that script.

Desktop icon exec:

Code:

Exec=/home/user/Asd/execroot.sh /home/user/Asd/refreshnetwork.sh
execroot.sh:

Code:

#!/bin/sh

if [ $# -ne 1 ]
then
        echo "Usage: $0 command"
        exit 1
fi

echo rootme | devel-su -c "$1"

refreshnetwork.sh:

Code:

#!/bin/sh

/sbin/initctl restart xsession/icd2


3 clicks is too much for me so I use 1.
And yes I got code from N9Qrefresh

peterleinchen 2013-10-17 07:18

Re: Browser and other HTTP stop working
 
Quote:

Originally Posted by Schturman (Post 1381009)
Xxx, you mean me ? :D
I found and added this possibility to N9QT refresh button, called "network refresh", many many time ago ;)

Possibly?! :D
I know for sure you have it in N9QTweak, but I did not knew you were also 'author'.
Thanks, helped me too!

emro 2013-10-30 11:07

Re: Browser and other HTTP stop working
 
I have a question...Do you have the little 3,5 icon on your statusbar when you have this problem?
I having trouble getting an internet connection.Sometimes ,while i have full coverage i get a "no internet connection" message (so no icon.) when trying to connect...wifi usually works.Is this a problem with the N9 or the provider?after i refresh Network it usually still doesn't work.After a reboot sometimes it does,sometimes it doesn't.i just don't get it.It's really random.Does anybody know how can i check it?
thanks a lot.


All times are GMT. The time now is 22:50.

vBulletin® Version 3.8.8