# Cannot connect ODK Services to the server

**URL:** <https://forum.odk-x.org/t/cannot-connect-odk-services-to-the-server/350>\
**Category:** Support\
**Created:** [September 6, 2018, 4:59am UTC](https://forum.odk-x.org/t/cannot-connect-odk-services-to-the-server/350 "2018-09-06T04:59:35Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![A.N.M\_AL-IMRAN](https://odkx.b-cdn.net/user_avatar/forum.odk-x.org/a.n.m_al-imran/32/344_2.png) [@A.N.M\_AL-IMRAN](https://forum.odk-x.org/u/A.N.M_AL-IMRAN)\
**Post date:** [September 6, 2018, 4:59am UTC](https://forum.odk-x.org/t/cannot-connect-odk-services-to-the-server/350/1 "2018-09-06T04:59:35Z")

</div>

Hi All,

I am trying to connect to my server from ODK Services. For some reason, it’s not allowing me to connect. I provided right URL, ID, and Password. What shall I do before I can connect to the server?

Thanks

---

<div class="post-metadata">

**Author:** ![linl33](https://odkx.b-cdn.net/letter_avatar_proxy/v4/letter/l/b487fb/32.png) [@linl33](https://forum.odk-x.org/u/linl33)\
**Post date:** [September 6, 2018, 6:09pm UTC](https://forum.odk-x.org/t/cannot-connect-odk-services-to-the-server/350/2 "2018-09-06T18:09:43Z")

</div>

It’s probably a configuration issue, see [ODK2 Sync Endpoint: Authentication error](https://forum.odk-x.org/t/odk2-sync-endpoint-authentication-error/340)

---

<div class="post-metadata">

**Author:** ![A.N.M\_AL-IMRAN](https://odkx.b-cdn.net/user_avatar/forum.odk-x.org/a.n.m_al-imran/32/344_2.png) [@A.N.M\_AL-IMRAN](https://forum.odk-x.org/u/A.N.M_AL-IMRAN)\
**Post date:** [September 7, 2018, 2:38am UTC](https://forum.odk-x.org/t/cannot-connect-odk-services-to-the-server/350/3 "2018-09-07T02:38:25Z")

</div>

Hi,

The error message I received: “Server is not configured for this appName. Please verify server configuration.” Tried to follow the instruction. However, still stuck at the same point.

Thanks

---

<div class="post-metadata">

**Author:** ![W\_Brunette](https://odkx.b-cdn.net/user_avatar/forum.odk-x.org/w_brunette/32/376_2.png) [@W\_Brunette](https://forum.odk-x.org/u/W_Brunette)\
**Post date:** [September 9, 2018, 8:48am UTC](https://forum.odk-x.org/t/cannot-connect-odk-services-to-the-server/350/4 "2018-09-09T08:48:34Z")

</div>

What server are you using?

---

<div class="post-metadata">

**Author:** ![A.N.M\_AL-IMRAN](https://odkx.b-cdn.net/user_avatar/forum.odk-x.org/a.n.m_al-imran/32/344_2.png) [@A.N.M\_AL-IMRAN](https://forum.odk-x.org/u/A.N.M_AL-IMRAN)\
**Post date:** [September 9, 2018, 12:43pm UTC](https://forum.odk-x.org/t/cannot-connect-odk-services-to-the-server/350/5 "2018-09-09T12:43:06Z")

</div>

Hi, I am using Google AppEngine.

Thanks

---

<div class="post-metadata">

**Author:** ![W\_Brunette](https://odkx.b-cdn.net/user_avatar/forum.odk-x.org/w_brunette/32/376_2.png) [@W\_Brunette](https://forum.odk-x.org/u/W_Brunette)\
**Post date:** [September 9, 2018, 8:36pm UTC](https://forum.odk-x.org/t/cannot-connect-odk-services-to-the-server/350/6 "2018-09-09T20:36:32Z")

</div>

Aggregate or Sync-Endpoint?

---

<div class="post-metadata">

**Author:** ![iamnarendrasingh](https://odkx.b-cdn.net/letter_avatar_proxy/v4/letter/i/f17d59/32.png) [@iamnarendrasingh](https://forum.odk-x.org/u/iamnarendrasingh)\
**Post date:** [September 10, 2018, 7:30am UTC](https://forum.odk-x.org/t/cannot-connect-odk-services-to-the-server/350/7 "2018-09-10T07:30:21Z")

</div>

Did you deeply your odk server name on Google cloud . If not you can follow below video for updated configuration steps:

[![](https://odkx.b-cdn.net/uploads/default/original/2X/3/39962bc0f46b20f736ec4dfbde3e23c3f9d8281b.jpeg "Lesson 2 : How to setup #ODKAggregateServer on #GoogleAppEngine ? #ODK #OpenDataKit") ](https://www.youtube.com/watch?v=2VNAQDl20I0)

Best,  
@iamnarendrasingh

---

<div class="post-metadata">

**Author:** ![A.N.M\_AL-IMRAN](https://odkx.b-cdn.net/user_avatar/forum.odk-x.org/a.n.m_al-imran/32/344_2.png) [@A.N.M\_AL-IMRAN](https://forum.odk-x.org/u/A.N.M_AL-IMRAN)\
**Post date:** [September 10, 2018, 12:43pm UTC](https://forum.odk-x.org/t/cannot-connect-odk-services-to-the-server/350/8 "2018-09-10T12:43:49Z")

</div>

Hi Waylon,

Its’ on Aggregate.

Thanks

---

<div class="post-metadata">

**Author:** ![A.N.M\_AL-IMRAN](https://odkx.b-cdn.net/user_avatar/forum.odk-x.org/a.n.m_al-imran/32/344_2.png) [@A.N.M\_AL-IMRAN](https://forum.odk-x.org/u/A.N.M_AL-IMRAN)\
**Post date:** [September 10, 2018, 12:57pm UTC](https://forum.odk-x.org/t/cannot-connect-odk-services-to-the-server/350/9 "2018-09-10T12:57:33Z")

</div>

Hi Narendra,

Thanks for sharing the video. Yes I configured the server. The only issue is, I am new to ODK2 and trying to connect my Services to the Aggregate and for some reason unable to connect connect with the server and the above Error has been returned.

Thanks

---

<div class="post-metadata">

**Author:** ![W\_Brunette](https://odkx.b-cdn.net/user_avatar/forum.odk-x.org/w_brunette/32/376_2.png) [@W\_Brunette](https://forum.odk-x.org/u/W_Brunette)\
**Post date:** [September 14, 2018, 12:48am UTC](https://forum.odk-x.org/t/cannot-connect-odk-services-to-the-server/350/10 "2018-09-14T00:48:08Z")

</div>

Maybe the “appName” being used on mobile device does not match the one on the server? The “appName” on the device and on the server generally default to “default” (clever I know 😁).

If you changed the server “appName” then you need to set on the launch of your ODK 2 mobile tools which “appName” they should be using.

**NOTE:** unless you are trying to run two “ODK 2 applications” simultaneously on the same device (i.e. cold chain registry and election monitoring) there is no need to change the “appName” from “default”. It’s a feature that supports multiple “ODK 2 applications” using the same ODK 2 framework on the same device. This is important for isolation and security reasons.

 ![AppNameCapture](https://odkx.b-cdn.net/uploads/default/original/1X/6046e8a34d6958595a61e4e7b37d9d867669a656.png)

---

<div class="post-metadata">

**Author:** ![A.N.M\_AL-IMRAN](https://odkx.b-cdn.net/user_avatar/forum.odk-x.org/a.n.m_al-imran/32/344_2.png) [@A.N.M\_AL-IMRAN](https://forum.odk-x.org/u/A.N.M_AL-IMRAN)\
**Post date:** [September 14, 2018, 3:07am UTC](https://forum.odk-x.org/t/cannot-connect-odk-services-to-the-server/350/11 "2018-09-14T03:07:06Z")

</div>

Hi Waylon,

Thanks so much. You are right. I changed the appname as initially I thought I should change the appname. I changed it back to default and I am connected to the server.

Thanks again,  
Imran

---

<div class="post-metadata">

**Author:** ![Aiman1](https://odkx.b-cdn.net/letter_avatar_proxy/v4/letter/a/eb8c5e/32.png) [@Aiman1](https://forum.odk-x.org/u/Aiman1)\
**Post date:** [October 7, 2019, 6:24am UTC](https://forum.odk-x.org/t/cannot-connect-odk-services-to-the-server/350/12 "2019-10-07T06:24:04Z")

</div>

Hello guys,

Im using virtualbox and ODK aggregate server.  
When I start to pulling my data I cant go to server.

---

<div class="post-metadata">

**Author:** ![Aiman1](https://odkx.b-cdn.net/letter_avatar_proxy/v4/letter/a/eb8c5e/32.png) [@Aiman1](https://forum.odk-x.org/u/Aiman1)\
**Post date:** [October 7, 2019, 6:24am UTC](https://forum.odk-x.org/t/cannot-connect-odk-services-to-the-server/350/13 "2019-10-07T06:24:38Z")

</div>

![error%20in%20server](https://odkx.b-cdn.net/uploads/default/original/1X/5832963c0742dceb6d3c1259c17275455b6304f9.png)

---

<div class="post-metadata">

**Author:** ![W\_Brunette](https://odkx.b-cdn.net/user_avatar/forum.odk-x.org/w_brunette/32/376_2.png) [@W\_Brunette](https://forum.odk-x.org/u/W_Brunette)\
**Post date:** [October 7, 2019, 6:33am UTC](https://forum.odk-x.org/t/cannot-connect-odk-services-to-the-server/350/14 "2019-10-07T06:33:03Z")

</div>

What version of Aggregate are you using?

Are you trying to connect to ODK-X Services?

NOTE: For ODK-X Aggregate has been deprecated and you are encouraged to use sync-endpoint instead.

---

<div class="post-metadata">

**Author:** ![Vyankatesh](https://odkx.b-cdn.net/user_avatar/forum.odk-x.org/vyankatesh/32/38_2.png) [@Vyankatesh](https://forum.odk-x.org/u/Vyankatesh)\
**Post date:** [March 15, 2020, 5:50am UTC](https://forum.odk-x.org/t/cannot-connect-odk-services-to-the-server/350/15 "2020-03-15T05:50:22Z")

</div>

Hi,

> [@W\_Brunette](#):
>
> Maybe the “appName” being used on mobile device does not match the one on the server?

How can I find the server “appName” and how can I change it so that it will match with “appName” which is being used on mobile?  
I am using ODK-X Sync Endpoint.

Thanks!!

---

<div class="post-metadata">

**Author:** ![W\_Brunette](https://odkx.b-cdn.net/user_avatar/forum.odk-x.org/w_brunette/32/376_2.png) [@W\_Brunette](https://forum.odk-x.org/u/W_Brunette)\
**Post date:** [March 17, 2020, 3:18pm UTC](https://forum.odk-x.org/t/cannot-connect-odk-services-to-the-server/350/16 "2020-03-17T15:18:03Z")

</div>

The system defaults the appName to ‘default’. If you did not change anything it will automatically be set correctly.

---

<div class="post-metadata">

**Author:** ![ssesay](https://odkx.b-cdn.net/user_avatar/forum.odk-x.org/ssesay/32/340_2.png) [@ssesay](https://forum.odk-x.org/u/ssesay)\
**Post date:** [April 30, 2020, 4:35pm UTC](https://forum.odk-x.org/t/cannot-connect-odk-services-to-the-server/350/17 "2020-04-30T16:35:38Z")

</div>

Hi @yanokwa,

Can you please add me to the ODK Sandbox environment? I’m trying to test some integration with Power BI and reporting.

Thank you!

---

<div class="post-metadata">

**Author:** ![elmps2018](https://odkx.b-cdn.net/user_avatar/forum.odk-x.org/elmps2018/32/105_2.png) [@elmps2018](https://forum.odk-x.org/u/elmps2018)\
**Post date:** [April 30, 2020, 4:47pm UTC](https://forum.odk-x.org/t/cannot-connect-odk-services-to-the-server/350/18 "2020-04-30T16:47:46Z")

</div>

I suspect you want the ODK Forum for that: [https://forum.getodk.org/](https://forum.getodk.org/)

---

<div class="post-metadata">

**Author:** ![ssesay](https://odkx.b-cdn.net/user_avatar/forum.odk-x.org/ssesay/32/340_2.png) [@ssesay](https://forum.odk-x.org/u/ssesay)\
**Post date:** [April 30, 2020, 4:51pm UTC](https://forum.odk-x.org/t/cannot-connect-odk-services-to-the-server/350/19 "2020-04-30T16:51:16Z")

</div>

Thanks for the redirection!

---

<div class="post-metadata">

**Author:** ![enkurunziza](https://odkx.b-cdn.net/user_avatar/forum.odk-x.org/enkurunziza/32/1122_2.png) [@enkurunziza](https://forum.odk-x.org/u/enkurunziza)\
**Post date:** [August 29, 2022, 9:18am UTC](https://forum.odk-x.org/t/cannot-connect-odk-services-to-the-server/350/20 "2022-08-29T09:18:35Z")

</div>

I am also experiencing a similar problem.Odk-x services has failed to connect to the server.It throws a gateway or configuration error

[Next page](https://forum.odk-x.org/t/cannot-connect-odk-services-to-the-server/350.md?page=2)
