Skip to content

Crash when failing to resolve the server domain #11

Closed

Description

@Hexcles

When I am connecting to a WIFI which has problems connecting 8.8.8.8, the shadowsocks will simply crash after clicking "connect". I've tried to reset, clean the data, reinstall and it's all the same. The ADB logcat shows the following:

D/Shadowsocks(17196): Connecting start
E/AndroidRuntime(17196):    at com.github.shadowsocks.ShadowsocksService.resolve(ShadowsocksService.scala:150)
E/AndroidRuntime(17196):    at com.github.shadowsocks.ShadowsocksService$$anon$5.run(ShadowsocksService.scala:208)
W/ActivityManager(  600):   Force finishing activity com.github.shadowsocks/.Shadowsocks
I/ActivityManager(  600): Process com.github.shadowsocks (pid 17196) has died.
W/ActivityManager(  600): Scheduling restart of crashed service com.github.shadowsocks/.ShadowsocksService in 5000ms

When I change the server domain to IP(or connect to another network that has access to 8.8.8.8), everything is OK again.

Activity

  1. madeye commented on May 11, 2013

    @madeye
    Contributor

    Update to 1.4.2 through Google Play to see whether this issue still exists.

  2. Hexcles commented on May 11, 2013

    @Hexcles
    Author

    I updated just now and I've made sure it's 1.4.2. The problem still exists.

  3. added a commit that references this issue on May 11, 2013
  4. madeye commented on May 11, 2013

    @madeye
    Contributor

    Update to 1.4.3 through the nightly build site: http://buildbot.sinaapp.com, and try again.

  5. Hexcles commented on May 12, 2013

    @Hexcles
    Author

    Confirm fixed. Thanks for your quick response!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions