Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • C c-service
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 17
    • Issues 17
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • concordant
  • Software
  • c-service
  • Issues
  • #41

Closed
Open
Created Jan 08, 2021 by Yannick Li@yaliContributor

C-Service is automatically disconnected from CouchDB

The C-Service is automatically disconnected from CouchDB after few minutes of inactivity.
After few minutes of inactivity, we get the following error message:

Error: You are not a server admin.
at [...] {
error: 'unauthorized',
reason: 'You are not a server admin.',
scope: 'couch',
statusCode: 401,
request: {
method: 'DELETE',
headers: { 'content-type': 'application/json', accept: 'application/json' },
uri: 'http://localhost:5984/myapp',
qsStringifyOptions: { arrayFormat: 'repeat' }
},
headers: {
uri: 'http://localhost:5984/myapp',
statusCode: 401,
'cache-control': 'must-revalidate',
connection: 'close',
'content-type': 'application/json',
date: 'Fri, 08 Jan 2021 09:07:01 GMT',
'x-couch-request-id': 'ce111b481e',
'x-couchdb-body-time': '0'
},
errid: 'non_200',
description: 'couch returned 401'
}

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking