# Unable to connect to Met-Office respository

**URL:** <https://cms-helpdesk.ncas.ac.uk/t/unable-to-connect-to-met-office-respository/960>\
**Category:** Uncategorized\
**Tags:** ARCHER2\
**Created:** [25 March 2023 19:54 UTC](https://cms-helpdesk.ncas.ac.uk/t/unable-to-connect-to-met-office-respository/960 "2023-03-25T19:54:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![alokpandey](https://avatars.discourse-cdn.com/v4/letter/a/e47c2d/32.png) [@alokpandey](https://cms-helpdesk.ncas.ac.uk/u/alokpandey)\
**Post date:** [25 March 2023 19:54 UTC](https://cms-helpdesk.ncas.ac.uk/t/unable-to-connect-to-met-office-respository/960/1 "2023-03-25T19:54:20Z")

</div>

Hi CMS,

I run UKCA / UKESM v11.1 on ‘ARCHER2’ and use ‘pumanew’ for job submission. I have modified my branch and tried to commit it using ‘fcm commit’ but I am getting an error. I tried ‘mosrs-cache-password’ that too is also not working. Although I am able to login to the web version of the Met-Office repository management system. I have had modified my password a few weeks ago. The error message is the following:

-bash-4.2$ fcm commit  
[FAIL] svn status --ignore-externals --show-updates # rc=1  
[FAIL] svn: E170013: Unable to connect to a repository at URL ‘[https://code.metoffice.gov.uk/svn/um/main/branches/dev/alokpandey/vn11.1\_DEST\_plus\_Iodine\_akp\_B](https://code.metoffice.gov.uk/svn/um/main/branches/dev/alokpandey/vn11.1_DEST_plus_Iodine_akp_B)’  
[FAIL] svn: E215004: No more credentials or we tried too many times.  
[FAIL] Authentication failed

-bash-4.2$  
-bash-4.2$ mosrs-cache-password  
gpg-agent: no process found  
Error: gpg-agent not working  
Run “mosrs-cache-password” to try caching your password again

How can I fix this issue?

Regards, Alok

---

<div class="post-metadata">

**Author:** ![RosalynHatcher](https://dub1.discourse-cdn.com/flex013/user_avatar/cms-helpdesk.ncas.ac.uk/rosalynhatcher/32/11_2.png) [@RosalynHatcher](https://cms-helpdesk.ncas.ac.uk/u/RosalynHatcher)\
**Post date:** [27 March 2023 06:54 UTC](https://cms-helpdesk.ncas.ac.uk/t/unable-to-connect-to-met-office-respository/960/2 "2023-03-27T06:54:22Z")

</div>

Hi Alok,

Looking in your `.profile` and `.bashrc` there is none of the setup in there for mosrs-cache-password to work.

Please add the following lines to the **bottom** of your `~/.bashrc` file on PUMA.

```auto
# Setup for MOSRS
#----------------
[["$-" != *i*]] && return # Stop here if not running interactively
. mosrs-setup-gpg-agent

```

Then log out of PUMA and back in again. It should start up a new gpg-agent process and prompt for your MOSRS password.

One thing to note: If you have some symbols in your MOSRS password like `^`, `#` these won’t work. `!`, `$` are known to be ok.

Regards,  
Ros.

---

<div class="post-metadata">

**Author:** ![system](https://europe1.discourse-cdn.com/flex013/uploads/cms_support/original/1X/1fd2411499ffcbc299fe756cd5cdf26e44956558.png) [@system](https://cms-helpdesk.ncas.ac.uk/u/system)\
**Post date:** [29 March 2023 06:54 UTC](https://cms-helpdesk.ncas.ac.uk/t/unable-to-connect-to-met-office-respository/960/3 "2023-03-29T06:54:28Z")

</div>

Closed on 29 March 2023 06:54 UTC

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.
