This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*** System report during emqx_bridge_v1_compatibility_layer_SUITE:t_scenario_1/1 2024-04-17 16:25:18.258 ***🔗 | |
=WARNING REPORT==== 17-Apr-2024::16:25:18.256973 === | |
data: {data,<<"connector:test_bridge_type:bridgev2a">>, | |
<<"emqx_connector">>,emqx_bridge_v2_test_connector, | |
always_sync,sync, | |
#{ssl => | |
#{depth => 10,verify => verify_none, | |
hibernate_after => 5000,enable => false, | |
log_level => notice, | |
versions => ['tlsv1.3','tlsv1.2'], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -e | |
#password='eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6InB1YjEiLCJhY2wiOlt7InBlcm1pc3Npb24iOiJhbGxvdyIsImFjdGlvbiI6ImFsbCIsInRvcGljIjoiZXEgYS8jIn1dfQ.skzXjZOPU9jQLGqwvF2wh-Tr0oNN1GBc55NbSylHaQ0' | |
password="$(./jwt-generate.sh)" | |
json="$(echo $password | cut -d '.' -f 2)" | |
echo "${json}" | base64 -d 2>/dev/null || true | |
echo | |
mqttx sub -t 'a/#' -h localhost -p 1883 -i aaa -P "$password" -u pub1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
F=fun(Path) -> {ok,Log} = disk_log:open([{file, Path}, {name, tmp}, {mode, read_only}]), {_, L,0} = disk_log:bchunk(Log, start, 100), disk_log:close(Log), [binary_to_term(I) || I <- L] end. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Verified in EMQX 5.3.0 | |
## listeners in addition to the default ones | |
listeners { | |
ssl.certhash { | |
enable = true | |
# bind to port 8884 | |
bind = 8884 | |
# link it to zone named 'certhash' | |
zone = certhash | |
ssl_options { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
env EMQX_CLUSTER__PROTO_DIST=inet6_tcp EMQX_NODE__NAME=emqx@ipv6.local.host bin/emqx console |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dashboard.sso = { | |
ldap { | |
backend = ldap | |
base_dn = a | |
enable = false | |
filter = "(& (objectClass=person) (uid=${username}))" | |
pool_size = 8 | |
query_timeout = 5000 | |
request_timeout = 10000 | |
server = "localhost:389" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"fields": [ | |
{ | |
"aliases": [], | |
"name": "listeners", | |
"type": { | |
"kind": "struct", | |
"name": "broker:listeners" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
docker run --rm -it -e EMQX_AUTHENTICATION='[{mechanism="password_based",backend="http", url="http://node:4000/mqtt/authn//",method="post",body={username="${username}", password:"${password}"}, enable=true}]' \ | |
emqx/emqx:5.0.14 emqx console |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
docker run --rm -it -p 18084:18084 -e EMQX_DASHBOARD__LISTENERS__HTTPS__ENABLE="true" \ | |
-e EMQX_DASHBOARD__LISTENERS__HTTPS__CACERTFILE='/opt/emqx/etc/certs/cacert.pem' \ | |
-e EMQX_DASHBOARD__LISTENERS__HTTPS__CERTFILE='/opt/emqx/etc/certs/cert.pem' \ | |
-e EMQX_DASHBOARD__LISTENERS__HTTPS__KEYFILE='/opt/emqx/etc/certs/key.pem' \ | |
emqx/emqx:5.0.21 emqx console |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"components": { | |
"schemas": { | |
"broker.sysmon_os": { | |
"properties": { | |
"cpu_check_interval": { | |
"default": "60s", | |
"description": "The time interval for the periodic CPU check.", | |
"label": "The time interval for the periodic CPU check.", | |
"summary": "The time interval for the periodic CPU check.", |
NewerOlder