Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I believe a 'reload' function is needed #66

Closed
retopara opened this issue Nov 16, 2014 · 9 comments
Closed

I believe a 'reload' function is needed #66

retopara opened this issue Nov 16, 2014 · 9 comments

Comments

@retopara
Copy link

Often my shadowsocks client just stops and make the internet connection stop, too. Now I can only restart the program to fix this. I think a 'reload' function or something similar will be handy.

@clowwindy
Copy link
Contributor

We should find why it stops instead of using a reload menu.

@retopara
Copy link
Author

Agreed, but I don't really know how to dig into the error log
"
在 Shadowsocks.Controller.Handler.PipeRemoteReceiveCallback(IAsyncResult ar)
System.Net.Sockets.SocketException: 您的主机中的软件中止了一个已建立的连接。
在 System.Net.Sockets.Socket.BeginSend(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags, AsyncCallback callback, Object state)
"

It might have been my windows firewall. I have tuned its setting and see what will happen~

@clowwindy
Copy link
Contributor

  1. When the problem happens, what's the error message in Chrome?
  2. When the problem happens, do only already opened websites stop loading, or connections to other websites also are broken? Try to open other websites.
  3. When the problem happens, does restarting your browser help?

ps. It will be a difficult problem as I can't reproduce it.

@retopara
Copy link
Author

I understand.

I will let you know once I have collected the data.

Para

On Sun, Nov 16, 2014 at 3:33 PM, clowwindy notifications@github.com wrote:

  1. When the problem happens, what's the error message in Chrome?
  2. When the problem happens, do only already opened websites stop
    loading, or connections to other websites also are broken? Try to open
    other websites.
  3. When the problem happens, does restarting your browser help?

ps. It will be a difficult problem as I can't reproduce it.


Reply to this email directly or view it on GitHub
https://github.com/clowwindy/shadowsocks-csharp/issues/66#issuecomment-63208549
.

@ran-su
Copy link

ran-su commented Dec 7, 2014

Hi there, thanks for your great work, the Shadowsocks helps me a lot.

I think I am facing this problem too. It only happens on my Win 8.1 tablet. This issue shows almost every time I wake up my tablet from sleep. Chrome can not connect to any website. A info means about "waiting for proxy config" appears on the left bottom of Chrome windows. A re-enable of client always fixes this problem. Restart browser is useless in my case.

Thanks in advance for try to solve this problem.

@clowwindy
Copy link
Contributor

@RyanSu
Can't reproduce this problem.

  1. Open Shadowsocks and Chrome on Windows 8.1 tablet.
  2. Configure server and click Enable. Search my ip in Google and verify it shows proxy server IP.
  3. Click Sleep in Power menu.
  4. Unlock the tablet.
  5. Search my IP again in Chrome. It still shows the proxy server IP.

Can you show me your minimal steps to reproduce the problem?

@ran-su
Copy link

ran-su commented Dec 7, 2014

@clowwindy
It is weird. The issue does not show when I try to reproduce it. I suspect that a long time sleep may trigger something clean up the temporary PAC file. At the same time, I will look into reproduce the problem. Once I get something I will let you know.

Still, thank you.

@ran-su
Copy link

ran-su commented Dec 11, 2014

This issue shown today after my tablet's 3-day-sleep. In Chrome it shows a blank page with a sentence in the following pic.
image

When it happens IE is only able to open website outside the PAC file and Chrome can open nothing. Reopen browsers do not change anything. Once the 'enable' of client is unchecked Chrome can connect to websites normally(only the ones do not need a proxy).

I'm sorry about I can not minimize the steps. Because of I do not know where the 127.0.0.1:8090/pac point to, I was not able to check if the file was there.

Anyway, in this case I think a auto-reload after system wake up is ideal.

@clowwindy
Copy link
Contributor

Fixed in 2.1.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants