ArangoDB Services from Web Interface not accessible

I’ve started ArangoDB from a docker container with -e ARANGO_NO_AUTH=1 and mapped the volumes /var/lib/arangodb3 and /var/lib/arangodb3-apps to my local drive. Next i wanted to create a new app but when i click Services from the web interface i get following error:

GET http://127.0.0.1:8529/_db/_system/_admin/aardvark/foxxes 400 (Bad Request)

  • Executing docker command from a remote machine
  • Using variable interpolation in string in Docker
  • What is the recommended setup for an Elasticsearch cluster that contains data at the scale of TBs and above? [closed]
  • How does docker-compose start container on login (ubuntu/systemd)
  • Node-inspector in docker does not load sources
  • Deploying node.js web app along with docker
  • Do i need to be authenticated to do that or is this a docker problem? There are no errors in the log.

    Im using the latest version from docker hub in this case version 2.8.9

    Docker command:

    docker run -e ARANGO_NO_AUTH=1 -p 8529:8529 --name arangodb-i -v /home/me/projects/dbs/arango/db:/var/lib/arangodb3 -v /home/me/projects/dbs/arango/apps:/var/lib/arangodb3-apps arangodb/arangodb
    

    ArangoDB Info:

    INFO ArangoDB 3.0.0 [linux] 64bit, using VPack 0.1.30, ICU 54.1, V8 5.0.71.39, OpenSSL 1.0.1k 8 Jan 2015
    

    The error message comes in both Chrome and Firefox but not in curl.

    This error does not occur when i install arangodb in ubuntu, only when i run it with docker.

  • Not able to install the gem “rmagick” with docker
  • How to bind volumes in docker-py?
  • Error response from daemon when starting a docker container
  • What is the correct way to set up a Django/PostgreSQL project with Docker Compose?
  • Docker Swarm - Subscription to container creation
  • Docker maven and jenkins, mvn install failed requesting junit:junit:jar:3.x
  • One Solution collect form web for “ArangoDB Services from Web Interface not accessible”

    It seems like the docker image needs the Authorization header set, but because of the ARANGO_NO_AUTH it doesn’t seem to matter what it’s set to:

    docker run --rm -e ARANGO_NO_AUTH=1 -p 8529:8529 arangodb/arangodb:3.0.0
    curl  -H "Authorization: foo bar" http://127.0.0.1:8529/_db/_system/_admin/aardvark/foxxes
    [{"mountId":"81","mount":"/_api/gharial","name":"gharial","description":"ArangoDB Graph Module","author":"ArangoDB GmbH","system":true,"development":false,"contributors":[{"name":"Michael Hackstein","email":"m.hackstein@arangodb.com"}],"license":"Apache License, Version 2.0","version":"3.0.0","path":"/usr/share/arangodb3/js/apps/system/_api/gharial/APP","config":{},"deps":{},"scripts":{}},{"mountId":"75","mount":"/_admin/aardvark","name":"aardvark","description":"ArangoDB Admin Web Interface","author":"ArangoDB GmbH","system":true,"development":false,"contributors":[{"name":"Heiko Kernbach","email":"heiko@arangodb.com"},{"name":"Michael Hackstein","email":"m.hackstein@arangodb.com"},{"name":"Lucas Dohmen","email":"lucas@arangodb.com"}],"license":"Apache License, Version 2.0","version":"3.0.0","path":"/usr/share/arangodb3/js/apps/system/_admin/aardvark/APP","config":{},"deps":{},"scripts":{}}]
    

    This also works:

    curl  --user foo:bar http://127.0.0.1:8529/_db/_system/_admin/aardvark/foxxes
    

    The 2.8.9 image does not have this issue.

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.