# Unable to connect to KRS from KopiaUI

**URL:** <https://kopia.discourse.group/t/unable-to-connect-to-krs-from-kopiaui/72>\
**Category:** Support\
**Created:** [September 2, 2020, 5:26pm UTC](https://kopia.discourse.group/t/unable-to-connect-to-krs-from-kopiaui/72 "2020-09-02T17:26:19Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![maclm](https://yyz2.discourse-cdn.com/free1/user_avatar/kopia.discourse.group/maclm/32/61_2.png) [@maclm](https://kopia.discourse.group/u/maclm)\
**Post date:** [September 2, 2020, 5:26pm UTC](https://kopia.discourse.group/t/unable-to-connect-to-krs-from-kopiaui/72/1 "2020-09-02T17:26:20Z")

</div>

Hi all,

I’ve set up a Kopia Repo Server (KRS) on my Linux server with Kopia  
`0.6.4 build: cb519f66427ad9394f7ff05c4b1451f086dd055f`.

On the client, using the CLI  
`0.6.4 build: cb519f66427ad9394f7ff05c4b1451f086dd055f`,  
I can successfully connect to my KRS.

However, I’m unable to connect to it using KopiaUI `Version 0.6.4 (0.6.4.2205)`.

Using the “Configure Repositories…” menu, I configured it using the same address:port (no trailing `/`), Server Password and Server Certificate Fingerprint.

When I click [Apply and Restart], nothing seems to happen.  
The repo shows up in the menu access, but the log tab remains empty and the repo window only shows “Kopia UI Loading…”

I quit and relaunched the KopiaUI app, then I get the pink values for Server (it says `Remote`), URL and TLS at the bottom of the _Repositories_ window, but still nothing in the log tab.

Where should I head to in order to find information about what’s going on?

* * *

Maybe I should add : client is running on macOS 10.13.6

---

<div class="post-metadata">

**Author:** ![FrankM](https://yyz2.discourse-cdn.com/free1/user_avatar/kopia.discourse.group/frankm/32/12_2.png) [@FrankM](https://kopia.discourse.group/u/FrankM)\
**Post date:** [September 2, 2020, 7:53pm UTC](https://kopia.discourse.group/t/unable-to-connect-to-krs-from-kopiaui/72/2 "2020-09-02T19:53:50Z")

</div>

Some bugs in the code. Look [https://github.com/kopia/kopia/issues/587](https://github.com/kopia/kopia/issues/587)

You can connect to your Kopia Server via CLI. After that you can use Kopia-UI.

---

<div class="post-metadata">

**Author:** ![jkowalski](https://yyz2.discourse-cdn.com/free1/user_avatar/kopia.discourse.group/jkowalski/32/3_2.png) [@jkowalski](https://kopia.discourse.group/u/jkowalski)\
**Post date:** [September 3, 2020, 1:03am UTC](https://kopia.discourse.group/t/unable-to-connect-to-krs-from-kopiaui/72/3 "2020-09-03T01:03:32Z")

</div>

Connecting to remote Kopia server from KopiaUI is an advanced usage and appears to be confusing, honestly it should probably not even be supported. To reduce future confusion, I think we should remove it.

Instead you can start `Local Server` mode, and in Provider window select “(connect to Kopia Server)”  
This will start a server on localhost that handles UI and forwards all requests to another server (on remote host). This configuration is to set up and manage than fiddling with TLS parameters, which are super easy to get wrong.

---

<div class="post-metadata">

**Author:** ![jkowalski](https://yyz2.discourse-cdn.com/free1/user_avatar/kopia.discourse.group/jkowalski/32/3_2.png) [@jkowalski](https://kopia.discourse.group/u/jkowalski)\
**Post date:** [September 3, 2020, 1:04am UTC](https://kopia.discourse.group/t/unable-to-connect-to-krs-from-kopiaui/72/4 "2020-09-03T01:04:06Z")

</div>

BTW, when you connect to remote server using CLI, it should just work in Kopia UI - no additional setup necessary.

---

<div class="post-metadata">

**Author:** ![maclm](https://yyz2.discourse-cdn.com/free1/user_avatar/kopia.discourse.group/maclm/32/61_2.png) [@maclm](https://kopia.discourse.group/u/maclm)\
**Post date:** [September 3, 2020, 1:06am UTC](https://kopia.discourse.group/t/unable-to-connect-to-krs-from-kopiaui/72/5 "2020-09-03T01:06:55Z")

</div>

Could you provide (or point to) any guidance for doing this?  
I mean, I can connect to remote using CLI, but then nothing happen in KopiaUI.  
Or do I mix things up between KopiaUI and webUI?  
I’m a bit confused.

* * *

Update: I got it!  
Deleted the non-working repo (from the UI), relaunched the app and boom!

---

<div class="post-metadata">

**Author:** ![jkowalski](https://yyz2.discourse-cdn.com/free1/user_avatar/kopia.discourse.group/jkowalski/32/3_2.png) [@jkowalski](https://kopia.discourse.group/u/jkowalski)\
**Post date:** [September 3, 2020, 1:11am UTC](https://kopia.discourse.group/t/unable-to-connect-to-krs-from-kopiaui/72/6 "2020-09-03T01:11:27Z")

</div>

The simplest usage is:

1. On a clean machine that never had Kopia or KopiaUI - launch KopiaUI and select"(connect to Kopia Server)". Configure everything - now Kopia and KopiaUI will both see it.

2. On a clean machine that never had Kopia or KopiaUI - `kopia repository connect sever ...` - once this connects, both Kopia and KopiaUI will see it.

3. In Kopia UI (Configure Repositories…) should only be used if you have more than one repository to be connected at the same time. The UI is clumsy and we need to fix it to be more obvious.

---

<div class="post-metadata">

**Author:** ![maclm](https://yyz2.discourse-cdn.com/free1/user_avatar/kopia.discourse.group/maclm/32/61_2.png) [@maclm](https://kopia.discourse.group/u/maclm)\
**Post date:** [September 3, 2020, 1:21am UTC](https://kopia.discourse.group/t/unable-to-connect-to-krs-from-kopiaui/72/7 "2020-09-03T01:21:08Z")

</div>

> [@jkowalski](#):
>
> Instead you can start `Local Server` mode, and in Provider window select “(connect to Kopia Server)”

Now that I get a better sens of how all this works, I agree with this.  
That said, the “Local Server” term is confusing to me…
