Skip to content
This repository has been archived by the owner on Aug 7, 2020. It is now read-only.

An error occurred using the PGSQL plug-in for authentication in emqx docker #137

Open
moluzhui opened this issue Nov 19, 2019 · 0 comments

Comments

@moluzhui
Copy link

BUG REPORT

Expected behavior

emqx auth pgsql can auth multi subscribed topic in one connect

Actual behavior

emqx docker log error for it

Test code

client.username_pw_set("test","test")
client.connect("localhost", 1883, 60)
client.subscribe([("test1/#", 2), ("test2/#", 2),("$SYS/brokers/test@10.0.3.99/clients/#",2)])

emqx docker log output is as follows
[error] <<"controller">>@10.0.3.99:48649 ** State machine <0.2427.0> terminating
Reason for termination = error:function_clause
Callback mode = [state_functions,state_enter]

EMQ version

v3.2.4

Docker version

Which docker-engine version?

$ docker --version
Docker version 19.03.2, build 6a30dfc

How docker info?

$ docker info
Client:
 Debug Mode: false

Server:
 Containers: 3
  Running: 3
  Paused: 0
  Stopped: 0
 Images: 5
 Server Version: 19.03.2
 Storage Driver: overlay2
  Backing Filesystem: extfs
  Supports d_type: true
  Native Overlay Diff: true
 Logging Driver: json-file
 Cgroup Driver: cgroupfs
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
 Swarm: inactive
 Runtimes: runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: 894b81a4b802e4eb2a91d1ce216b8817763c29fb
 runc version: 425e105d5a03fabd737a126ad93d62a9eeede87f
 init version: fec3683
 Security Options:
  seccomp
   Profile: default
 Kernel Version: 4.15.0-66-generic
 Operating System: Ubuntu 18.04.2 LTS
 OSType: linux
 Architecture: x86_64
 CPUs: 2
 Total Memory: 60.93GiB
 Name: system
 ID: AV44:PFUC:NS6A:IDW4:SCUM:BOSQ:3P6U:6DF3:HLQ5:QZUI:NGNF:QEWG
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false

WARNING: No swap limit support

System

What system do you use?
ubuntu18.04

Hardware

How is the host machine?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant