# Network is unreachable or no route issue

**URL:** https://forum.heroiclabs.com/t/network-is-unreachable-or-no-route-issue/660
**Category:** Game Design
**Tags:** authentication
**Created:** [April 18, 2020, 2:49pm UTC](https://forum.heroiclabs.com/t/network-is-unreachable-or-no-route-issue/660 "2020-04-18T14:49:41Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![volvox](https://avatars.discourse-cdn.com/v4/letter/v/977dab/32.png) [@volvox](https://forum.heroiclabs.com/u/volvox)
#### Post date: [April 18, 2020, 2:49pm UTC](https://forum.heroiclabs.com/t/network-is-unreachable-or-no-route-issue/660/1 "2020-04-18T14:49:41Z")

</div>

Hello everyone,

I made a turn based card game and I have a problem with connection.  
I run my server in digitalocean servers (ubuntu) and I am getting connection issue when user tried AuthenticateDeviceAsync and client throw exception like this :

Non-fatal Exception:  
java.lang.Exception SocketException : Network is unreachable or SocketException : No route to host

It is not reproducible, what’s wrong at my implementation?

My connection flow is;  
Firstly:  
client = new Client(“http”, ipNumber, 7350, hashCode);

Secondly:  
session = await client.AuthenticateDeviceAsync(SystemInfo.deviceUniqueIdentifier);

After then I continue other stuff.  
This issue not happened every user, sometimes and someone getting this issue.  
Btw I experienced this issue at my local network. Not only digitalocean servers.

Thanks.

---

<div class="post-metadata">

### Author: ![novabyte](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/novabyte/32/1324_2.png) [@novabyte](https://forum.heroiclabs.com/u/novabyte)
#### Post date: [June 6, 2020, 6:05pm UTC](https://forum.heroiclabs.com/t/network-is-unreachable-or-no-route-issue/660/2 "2020-06-06T18:05:59Z")

</div>

@volvox I’ve never seen any other reports of this issue. If its local development; are you on Windows? Is it possible you have an antivirus or firewall setup which causes problems with the server traffic in some way?

Were you able to solve the problems on your machine?

---

<div class="post-metadata">

### Author: ![volvox](https://avatars.discourse-cdn.com/v4/letter/v/977dab/32.png) [@volvox](https://forum.heroiclabs.com/u/volvox)
#### Post date: [June 6, 2020, 6:23pm UTC](https://forum.heroiclabs.com/t/network-is-unreachable-or-no-route-issue/660/3 "2020-06-06T18:23:36Z")

</div>

Hello,

I receive same errors from clients right now.  
Let me share two screenshot with you. I tried connect to server via ip and domain name. But I saw boh of situations. I dont use any firewall or something like that. My servers landed at Frankfurt digital ocean.

 ![image](https://us1.discourse-cdn.com/flex020/uploads/heroiclabs/original/1X/5940ddca0937252d8a34e4d1e38ec4dac166a123.jpeg) ![image](https://us1.discourse-cdn.com/flex020/uploads/heroiclabs/original/1X/d93734d306a823c8eb9c7c54c203dc2120440702.jpeg)

---

<div class="post-metadata">

### Author: ![novabyte](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/novabyte/32/1324_2.png) [@novabyte](https://forum.heroiclabs.com/u/novabyte)
#### Post date: [June 6, 2020, 6:26pm UTC](https://forum.heroiclabs.com/t/network-is-unreachable-or-no-route-issue/660/4 "2020-06-06T18:26:48Z")

</div>

@volvox What version of the Unity client sdk do you use?

---

<div class="post-metadata">

### Author: ![volvox](https://avatars.discourse-cdn.com/v4/letter/v/977dab/32.png) [@volvox](https://forum.heroiclabs.com/u/volvox)
#### Post date: [June 8, 2020, 11:51am UTC](https://forum.heroiclabs.com/t/network-is-unreachable-or-no-route-issue/660/5 "2020-06-08T11:51:31Z")

</div>

@novabyte v2.3.1 and server side version is 2.11.1

---

<div class="post-metadata">

### Author: ![novabyte](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/novabyte/32/1324_2.png) [@novabyte](https://forum.heroiclabs.com/u/novabyte)
#### Post date: [June 8, 2020, 8:39pm UTC](https://forum.heroiclabs.com/t/network-is-unreachable-or-no-route-issue/660/6 "2020-06-08T20:39:24Z")

</div>

@volvox I have no ideas on what could be the problem with your network setup. Are you able to reach the dev console over a web browser?
