Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

An unexpected error occurred, exiting

David Andrews
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 4, 2025

Every time I solve a bug, a new one pops up. This provides absolutely zero context for the user to solve. This is after waiting 10 minutes for rovodev to load and creating one prompt to update docs!

full log:

1 │ 2025-07-04 15:43:42.190 | INFO | - Starting Rovo Dev CLI
2 │ 2025-07-04 15:43:42.190 | INFO | - Working directory: /Users/{user}/PycharmProjects/{project}
3 │ 2025-07-04 15:43:42.190 | INFO | - Config file: /Users/{user}/.rovodev/config.yml
4 │ 2025-07-04 15:44:03.428 | INFO | - Starting new session
5 │ 2025-07-04 15:44:03.642 | INFO | - Starting MCP servers
6 │ 2025-07-04 15:44:06.169 | INFO | - MCP servers started successfully
7 │ 2025-07-04 15:50:55.380 | INFO | -
8 │ 2025-07-04 15:50:56.175 | ERROR | - An unexpected error occurred, exiting.
9 │ 2025-07-04 15:50:56.176 | INFO | - To resume your session, restart Rovo Dev CLI with the --restore flag.

2 answers

1 accepted

1 vote
Answer accepted
Lebogang Sethibe
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 4, 2025

I am also getting the same error...I am stuck

 

Dr Valeri Colon _Connect Centric_
Community Champion
July 5, 2025

Hi @David Andrews and @Lebogang Sethibe and welcome to the community.

This somewhat vague “unexpected error” typically signals a crash in the backend process without a clear exception. Try restarting with acli rovodev run --restore to recover the session. Since you both are experiencing this issue would ya'll mind, capturing the logs and reporting it to the Rovo Dev team for deeper debugging https://support.atlassian.com/ also check out the Dev Cli Beta Community

Like Lebogang Sethibe likes this
Lebogang Sethibe
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 5, 2025
Dr Valeri Colon _Connect Centric_
Community Champion
July 6, 2025

Awesome and thank you for the update with the link to the solution in the Dev Cli community! #communitywin 

0 votes
David Andrews
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 5, 2025

Hi Dr Valeri Colon....

 

I'm using docker mcp extension since it has a greater degree of security and it is easy to add tools with one click...

 

Using this config:

 File: /Users/{user}/.rovodev/config.yml

───────┼────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────

   1   │ version: 1

   2   │

   3   │ agent:

   4   │   # Additional system prompt to append to the agent's default system prompt

   5   │   additionalSystemPrompt: null

   6   │   # Enable streaming responses from the AI model

   7   │   streaming: true

   8   │   # Temperature setting for AI model responses (0.0-1.0)

   9   │   temperature: 0.3

  10   │   experimental:

  11   │     # Enable/disable the agent to run in shadow mode. This will run the agent on

  12   │     # a temporary clone of your workspace, prompting you before any changes are

  13   │     # applied to your working directory.

  14   │     enableShadowMode: false

  15   │

  16   │ sessions:

  17   │   # Automatically restore the last active session on startup

  18   │   autoRestore: false

  19   │   # Directory where session data is stored

  20   │   persistenceDir: /Users/davidandrews/.rovodev/sessions

  21   │

  22   │ console:

  23   │   # Output format for console display (markdown, simple, or raw)

  24   │   outputFormat: markdown

  25   │   # Show tool execution results in the console

  26   │   showToolResults: true

  27   │

  28   │ logging:

  29   │   # Path to the log file

  30   │   path: /Users/davidandrews/.rovodev/rovodev.log

  31   │

  32   │ mcp:

  33   │   # Path to the MCP (Model Context Protocol) configuration file

  34   │   mcpConfigPath: /Users/davidandrews/.rovodev/mcp.json

  35   │

  36   │ toolPermissions:

  37   │   allowAll: false

  38   │   # Default permission for tools not explicitly listed

  39   │   default: ask

  40   │   # Permission settings for specific tools

  41   │   tools:

  42   │     create_file: ask

  43   │     delete_file: ask

  44   │     find_and_replace_code: ask

  45   │     open_files: allow

  46   │     expand_code_chunks: allow

  47   │     expand_folder: allow

  48   │     grep_file_content: allow

  49   │     grep_file_paths: allow

  50   │     getAccessibleAtlassianResources: allow

  51   │     getConfluenceSpaces: allow

  52   │     getConfluencePages: allow

  53   │     getPagesInConfluenceSpace: allow

  54   │     getConfluencePageAncestors: allow

  55   │     getConfluencePageFooterComments: allow

  56   │     getConfluencePageInlineComments: allow

  57   │     getConfluencePageDescendants: allow

  58   │     searchConfluenceUsingCql: allow

  59   │     getJiraIssue: allow

  60   │     getTransitionsForJiraIssue: allow

  61   │     lookupJiraAccountId: allow

  62   │     searchJiraIssuesUsingJql: allow

  63   │     getJiraIssueRemoteIssueLinks: allow

  64   │     getVisibleJiraProjects: allow

  65   │     getJiraProjectIssueTypesMetadata: allow

  66   │     createConfluencePage: ask

  67   │     updateConfluencePage: ask

  68   │     createConfluenceFooterComment: ask

  69   │     createConfluenceInlineComment: ask

  70   │     editJiraIssue: ask

  71   │     createJiraIssue: ask

  72   │     transitionJiraIssue: ask

  73   │     addCommentToJiraIssue: ask

  74   │     create_technical_plan: allow

  75   │   bash:

  76   │     # Default permission for bash commands not explicitly listed

  77   │     default: ask

  78   │     # List of specific bash commands with their permission settings

  79   │     commands:

  80   │     - command: ls.*

  81   │       permission: allow

  82   │     - command: cat.*

  83   │       permission: allow

  84   │     - command: echo.*

  85   │       permission: allow

  86   │     - command: git status

  87   │       permission: allow

  88   │     - command: git diff.*

  89   │       permission: allow

  90   │     - command: git log.*

  91   │       permission: allow

  92   │     - command: pwd

  93   │       permission: allow

  94   │   # List of allowed MCP server names

  95   │   allowedMcpServers:

  96   │   - docker run -l mcp.client=opencode --rm -i alpine/socat STDIO TCP:host.docker.internal:8811



Using this mcp.json:

──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────

   1   │ {

   2   │   "mcpServers": {

   3   │     "MCP_DOCKER": {

   4   │       "command": "docker",

   5   │       "args": [

   6   │         "run",

   7   │         "-l",

   8   │         "mcp.client=rovodev",

   9   │         "--rm",

  10   │         "-i",

  11   │         "alpine/socat",

  12   │         "STDIO",

  13   │         "TCP:host.docker.internal:8811"

  14   │       ]

  15   │     }

  16   │   }

  17   │ }

 

Docker IS running. This is what I use with Claude and Claude Code.



2025-07-05 00:51:31.177 | INFO     | - Starting Rovo Dev CLI

2025-07-05 00:51:31.177 | INFO     | - Working directory: /Users/{user}/PycharmProjects/dd

2025-07-05 00:51:31.178 | INFO     | - Config file: /Users/{user}/.rovodev/config.yml

2025-07-05 00:51:31.409 | INFO     | - Starting new session

2025-07-05 00:51:31.617 | INFO     | - Starting MCP servers

2025-07-05 00:51:33.751 | INFO     | - MCP servers started successfully

2025-07-05 00:51:35.057 | INFO     | -  d

2025-07-05 00:51:35.610 | WARNING  | - Error during MCP server shutdown: unhandled errors in a TaskGroup (1 sub-exception)

2025-07-05 00:51:35.673 | ERROR    | - An unexpected error occurred, exiting.

2025-07-05 00:51:35.673 | INFO     | - To resume your session, restart Rovo Dev CLI with the --restore flag.

2025-07-05 00:52:22.078 | INFO     | - Starting Rovo Dev CLI

2025-07-05 00:52:22.078 | INFO     | - Working directory: /Users/{user}/PycharmProjects/myproject

2025-07-05 00:52:22.078 | INFO     | - Config file: /Users/{user}/.rovodev/config.yml

2025-07-05 00:52:22.267 | INFO     | - Starting new session

2025-07-05 00:52:22.488 | INFO     | - Starting MCP servers

2025-07-05 00:52:24.840 | INFO     | - MCP servers started successfully

2025-07-05 00:52:25.037 | INFO     | -  

2025-07-05 00:52:25.847 | ERROR    | - An unexpected error occurred, exiting.

2025-07-05 00:52:25.848 | INFO     | - To resume your session, restart Rovo Dev CLI with the --restore flag.

2025-07-05 00:53:12.767 | INFO     | - Starting Rovo Dev CLI

2025-07-05 00:53:12.767 | INFO     | - Working directory: /Users/{user}/PycharmProjects/myproject

2025-07-05 00:53:12.767 | INFO     | - Config file: /Users/{user}/.rovodev/config.yml

2025-07-05 00:53:12.951 | INFO     | - Starting new session

2025-07-05 00:53:13.176 | INFO     | - Starting MCP servers

2025-07-05 00:53:15.347 | INFO     | - MCP servers started successfully

2025-07-05 00:53:15.736 | INFO     | -  

2025-07-05 00:53:16.367 | WARNING  | - Error during MCP server shutdown: unhandled errors in a TaskGroup (1 sub-exception)

2025-07-05 00:53:16.529 | ERROR    | - An unexpected error occurred, exiting.

2025-07-05 00:53:16.530 | INFO     | - To resume your session, restart Rovo Dev CLI with the --restore flag.

2025-07-05 01:12:42.192 | INFO     | - Starting Rovo Dev CLI

2025-07-05 01:12:42.192 | INFO     | - Working directory: /Users/{user}/PycharmProjects/myproject

2025-07-05 01:12:42.192 | INFO     | - Config file: /Users/{user}/.rovodev/config.yml

2025-07-05 01:12:42.390 | INFO     | - Starting new session

2025-07-05 01:12:42.606 | INFO     | - Starting MCP servers

2025-07-05 01:12:44.929 | INFO     | - MCP servers started successfully

2025-07-05 01:12:45.785 | INFO     | -  

2025-07-05 01:12:46.512 | WARNING  | - Error during MCP server shutdown: unhandled errors in a TaskGroup (1 sub-exception)

2025-07-05 01:12:46.646 | ERROR    | - An unexpected error occurred, exiting.

2025-07-05 01:12:46.647 | INFO     | - To resume your session, restart Rovo Dev CLI with the --restore flag.

2025-07-05 12:53:07.475 | INFO     | - Starting Rovo Dev CLI

2025-07-05 12:53:07.475 | INFO     | - Working directory: /Users/{user}/PycharmProjects/myproject

2025-07-05 12:53:07.475 | INFO     | - Config file: /Users/{user}/.rovodev/config.yml

2025-07-05 12:53:07.713 | INFO     | - Starting new session

2025-07-05 12:53:07.912 | INFO     | - Starting MCP servers

2025-07-05 12:53:09.977 | INFO     | - MCP servers started successfully

2025-07-05 12:53:10.822 | INFO     | -  

2025-07-05 12:53:11.557 | WARNING  | - Error during MCP server shutdown: unhandled errors in a TaskGroup (1 sub-exception)

2025-07-05 12:53:11.657 | ERROR    | - An unexpected error occurred, exiting.

2025-07-05 12:53:11.658 | INFO     | - To resume your session, restart Rovo Dev CLI with the --restore flag.

2025-07-05 12:53:18.769 | INFO     | - Starting Rovo Dev CLI

2025-07-05 12:53:18.769 | INFO     | - Working directory: /Users/{user}/PycharmProjects/myproject

2025-07-05 12:53:18.769 | INFO     | - Config file: /Users/{user}/.rovodev/config.yml

2025-07-05 12:53:18.967 | INFO     | - Restoring session with ID: 293dc730-762d-4415-bae5-23cf18a733f0, title: Untitled Session

2025-07-05 12:53:19.168 | INFO     | - Starting MCP servers

2025-07-05 12:53:21.326 | INFO     | - MCP servers started successfully

2025-07-05 12:53:21.465 | INFO     | -  

2025-07-05 12:53:22.153 | ERROR    | - An unexpected error occurred, exiting.

2025-07-05 12:53:22.154 | INFO     | - To resume your session, restart Rovo Dev CLI with the --restore flag.




David Andrews
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 5, 2025

The issue I am having is it does not seem to like MCP Docket extensions. I like them for security and ease of use. All other mcp servers work.

When I remove those, rovodev works! 

 

I would love to find a solution....

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events