SelfControlApp / selfcontrol

:skull: Mac app to block your own access to distracting websites etc for a predetermined period of time. It can not be undone by the app or by a restart – you must wait for the timer to run out.
http://selfcontrolapp.com
GNU General Public License v3.0
4.05k stars 401 forks source link

Self control blocks my whole connection #196

Closed colasbd closed 10 years ago

colasbd commented 10 years ago

Hi, thanks for your great software.

Here is the situation. I connect to internet in a library (via ethernet). To access internet, I first need to login on this page : http://www.bulac.fr/services/postes-informatiques/conditions-dutilisation/

Sometimes (but not always), after lauching selfcontrol, I am not able to connect to any website (even the one above) anymore. I looked to etc/hosts and the file is regular, blocking only the websites I asked to block.

chrome gives me this error message when trying to connect ERROR_..._ACCESS_DENIED.

Do you know what is happening? If you need more info, I will give. I will copy the hosts file.

Thanks!

cstigler commented 10 years ago

@colasjojo Could you please try this Alpha version of SelfControl which may resolve your issue? http://downloads.selfcontrolapp.com/SelfControl_1.5.2alpha6.zip (for newer OS's only -- 10.7 or up)

Please re-open this issue if you're still having problems.

colasbd commented 10 years ago

Thanks !

colasbd commented 10 years ago

Hi,

I have downloaded the beta (Version 1.5.2a6 (1.5.2 alpha 6)) but the problem I was facing seems to still be there.

More precisely : I have to identify before being able to access internet (it is a connexion, at the library, through ethernet and with a required login/password). All was ok till I closed my laptop (without turning it off): when I came back from lunch, I was unable to connect anymore (the remaining blocking time is presently at 02h 34min).

When trying to access the login page (https://login.netinary.net/custom/lecteurs/portaildemo.php3?zone=-1) I have the error: ERR_CONNECTION_TIMED_OUT.

When trying to access directly google, I have the error: ERR_CONNECTION_TIMED_OUT.

Here is the etc/hosts file

##
# Host Database
#
# localhost is used to configure the loopback interface
# when the system is booting.  Do not change this entry.
##
127.0.0.1   localhost
255.255.255.255    broadcasthost
# 
# motifs à la main pour bloquer Adobe
127.0.0.1     activate.adobe.com
127.0.0.1     practivate.adobe.com
127.0.0.1     lm.licenses.adobe.com
127.0.0.1     lmlicenses.wip4.adobe.com
# BEGIN SELFCONTROL BLOCK
0.0.0.0 mail.google.com
::  mail.google.com
0.0.0.0 blogspot.com
::  blogspot.com
0.0.0.0 macbidouille.com
::  macbidouille.com
0.0.0.0 viedemerde.fr
::  viedemerde.fr
0.0.0.0 pixmania.fr
::  pixmania.fr
0.0.0.0 canalblog.com
::  canalblog.com
0.0.0.0 lemonde.fr
::  lemonde.fr
0.0.0.0 liberation.fr
::  liberation.fr
0.0.0.0 univ-rennes1.fr
::  univ-rennes1.fr
0.0.0.0 adopteunmec.com
::  adopteunmec.com
0.0.0.0 lefigaro.fr
::  lefigaro.fr
0.0.0.0 lepoint.fr
::  lepoint.fr
0.0.0.0 univ-rennes1.fr
::  univ-rennes1.fr
0.0.0.0 aikiryu.org
::  aikiryu.org
0.0.0.0 www.blogspot.com
::  www.blogspot.com
0.0.0.0 www.mail.google.com
::  www.mail.google.com
0.0.0.0 la-croix.com
::  la-croix.com
0.0.0.0 nouvelobs.com
::  nouvelobs.com
0.0.0.0 www.viedemerde.fr
::  www.viedemerde.fr
0.0.0.0 www.pixmania.fr
::  www.pixmania.fr
0.0.0.0 www.canalblog.com
::  www.canalblog.com
0.0.0.0 fnac.fr
::  fnac.fr
0.0.0.0 facebook.com
::  facebook.com
0.0.0.0 huffingtonpost.fr
::  huffingtonpost.fr
0.0.0.0 www.adopteunmec.com
::  www.adopteunmec.com
0.0.0.0 mathoverflow.net
::  mathoverflow.net
0.0.0.0 humanite.fr
::  humanite.fr
0.0.0.0 news.yahoo.com
::  news.yahoo.com
0.0.0.0 aikiryu.bretagne.free.fr
::  aikiryu.bretagne.free.fr
0.0.0.0 www.nouvelobs.com
::  www.nouvelobs.com
0.0.0.0 www.macbidouille.com
::  www.macbidouille.com
0.0.0.0 www.lefigaro.fr
::  www.lefigaro.fr
0.0.0.0 www.lepoint.fr
::  www.lepoint.fr
0.0.0.0 www.la-croix.com
::  www.la-croix.com
0.0.0.0 www.huffingtonpost.fr
::  www.huffingtonpost.fr
0.0.0.0 www.liberation.fr
::  www.liberation.fr
0.0.0.0 www.fnac.fr
::  www.fnac.fr
0.0.0.0 www.lemonde.fr
::  www.lemonde.fr
0.0.0.0 www.aikiryu.bretagne.free.fr
::  www.aikiryu.bretagne.free.fr
0.0.0.0 www.univ-rennes1.fr
::  www.univ-rennes1.fr
0.0.0.0 www.univ-rennes1.fr
::  www.univ-rennes1.fr
0.0.0.0 www.news.yahoo.com
::  www.news.yahoo.com
0.0.0.0 www.mathoverflow.net
::  www.mathoverflow.net
0.0.0.0 www.facebook.com
::  www.facebook.com
0.0.0.0 www.humanite.fr
::  www.humanite.fr
0.0.0.0 www.aikiryu.org
::  www.aikiryu.org
# END SELFCONTROL BLOCK
cstigler commented 10 years ago

@colasjojo Thanks for the info. Could you please try the following:

1) download/install our newest alpha version, a8: http://downloads.selfcontrolapp.com/SelfControl_1.5.2alpha8.zip

2) start a block on that network, close your laptop, and confirm that it is now blocking sites that aren't on your list.

3) If the issue is still there, download and run the new version of the SelfControl Killer: http://downloads.selfcontrolapp.com/SCKiller_1.5.2alpha.app.zip. Then email me the log file it will create in your Documents folder. My email address is charlie@charliestigler.com

Thanks!

colasbd commented 10 years ago

OK, I will do that (don't know when, though maybe in one week). It seems that it happens only if I close the laptop for a long duration (to be confirmed). The workaround I've found is to edit the hosts file so that I can connect to the login page and thus access the network.

But, good news, when I don't have a connection at all, I work more efficiently ! ;-)

colasbd commented 10 years ago

@cstigler Hi the link http://downloads.selfcontrolapp.com/SelfControl_1.5.2alpha8.zip does not work.

colasbd commented 10 years ago

Neither http://downloads.selfcontrolapp.com/SCKiller_1.5.2alpha.app.zip.

The errors are

This XML file does not appear to have any style information associated with it. The document tree is shown below.
<Error>
<Code>AccessDenied</Code>
<Message>Access Denied</Message>
<RequestId>18F3D03EA8DDA029</RequestId>
<HostId>
X3s5yzfePmlpChAQiTZDzUVNsOt6H0IJldH9i3jyvHUjLuM5+SoCwJFm1DWyGnLS
</HostId>
</Error>

and

This XML file does not appear to have any style information associated with it. The document tree is shown below.
<Error>
<Code>AccessDenied</Code>
<Message>Access Denied</Message>
<RequestId>946759FC89E81C9A</RequestId>
<HostId>
5k96GkiAufh0KYfnblToutJwpS7DDIkBdPou8T0Qhv1Hqml5P/PhmMvQ0GFYtPznN6BbKTxWWAo=
</HostId>
</Error>
cstigler commented 10 years ago

@colasjojo that was a while ago, the new version was released. Download 2.0.2 at http://selfcontrolapp.com

colasbd commented 10 years ago

OK. I will confirm if the bug is still there.

colasbd commented 10 years ago

@cstigler The problem is still there. I found this way to be able to re-connect. I edit theetc/hosts file and remove the part written by selfcontrol. Then, I connect quickly to the login page and enter my login and password. It connects and then I am able to browse, except on the sites on the black list. This time, this workaround worked but I am not sure it always works.