Skip to content

Error when connecting to ArangoDB with SSL enabled #95

Closed
@anthonybriand

Description

@anthonybriand

ArangoDB : 3.3.3
go-driver : 27122ab
Platform : Mac OSX 10.13.3 / Debian 8.10 Jessie x86_64

I have a simple arangodb cluster started with arangodb-starter (docker).

I have enabled the --auth.jwt-secret option and the --ssl.auto-key option.

All is working fine via the WebUI but via the go-driver I encounter some problems (I am using the VST protocol):
Client and Connection seems to be valid no error returned but when I use the Database function of the client it throw these errors :

With Basic authentication

panic: expected type 'Array', got 'None'
readChunkLoop error: &net.OpError{Op:"read", Net:"tcp", Source:(*net.TCPAddr)(0xc420190060), Addr:(*net.TCPAddr)(0xc420190090), Err:(*os.SyscallError)(0xc4201ae000)}

With JWT authentication

readChunkLoop error: &net.OpError{Op:"read", Net:"tcp", Source:(*net.TCPAddr)(0xc420011d10), Addr:(*net.TCPAddr)(0xc420011d40), Err:(*os.SyscallError)(0xc42014c000)}
readChunkLoop error: &net.OpError{Op:"read", Net:"tcp", Source:(*net.TCPAddr)(0xc420160060), Addr:(*net.TCPAddr)(0xc420160090), Err:(*os.SyscallError)(0xc420176000)}
readChunkLoop error: &net.OpError{Op:"read", Net:"tcp", Source:(*net.TCPAddr)(0xc420194060), Addr:(*net.TCPAddr)(0xc420194090), Err:(*os.SyscallError)(0xc4200e1260)}
panic: context deadline exceeded

If I disable the ssl option all is working fine

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions