Commit Graph

390 Commits

Author SHA1 Message Date
Zaiming (Stone) Shi
e0aa8641af chore: fix typo uncatched -> uncaught 2022-06-15 13:07:37 +02:00
Zaiming (Stone) Shi
8518e71db1
Merge pull request #8182 from zmstone/0611-fix-config-update-race-condition
fix(cluster_rpc): config update race condition
2022-06-13 11:46:08 +01:00
firest
2bab8884f9 fix(gateway): catch the error of invalid address 2022-06-13 10:58:43 +08:00
Zaiming (Stone) Shi
2065be569e fix(emqx_cluster_rpc): fail fast on stale state
Due to:

* Cluster RPC MFA is not idempotent!
* There is a lack of rollback for callback's side-effects

For instance, when two nodes try to add a cluster-singleton
concurrently, one of them will have to wait for the table lock
then try to catch-up, then try to apply MFA.
The catch-up will have the singleton created, but the initiated
initiated multicall apply will fail causing the commit to rollback,
but not to 'undo' the singleton creation.
Later, the retries will fail indefinitely.
2022-06-12 20:18:48 +02:00
Zhongwen Deng
02872fb8c2 feat: rename gateway's tcp/ssl/udp/dtls to *_options 2022-06-07 22:23:02 +08:00
lafirest
ecd46d42cb
Merge pull request #8141 from lafirest/fix/gateway_listen_addr
fix(gateway): gateway listen-address add support for `host:port` format
2022-06-07 11:01:29 +08:00
firest
16da9cbcb4 fix(gateway): gateway listen-address add support for host:port format 2022-06-07 09:58:02 +08:00
Zhongwen Deng
c7cc2e85b2 fix: add default&example for schema 2022-06-06 09:52:10 +08:00
Ilya Averyanov
0893a36dec fix(authn): removed explicit chain creation for security reasons 2022-06-02 14:03:19 +03:00
Ilya Averyanov
1bad5f8b7c
Merge pull request #8088 from savonarola/authn-import-users-request
feat(authn api): add method for user file upload
2022-06-02 13:51:46 +03:00
Ilya Averyanov
2d53c21d45 chore(authn api): replace user import api with upload api 2022-06-01 19:56:23 +03:00
Zhongwen Deng
9ec804ae03 feat: generate example.conf from schemas 2022-05-31 19:20:27 +08:00
JianBo He
96f58d0ec8 Merge remote-tracking branch 'ce/master' into authn-import-users-request 2022-05-31 10:11:21 +08:00
Ilya Averyanov
3be617cf40 feat(authn api): add method for user file upload 2022-05-31 00:40:10 +03:00
JianBo He
b985c9cfca fix(gw): save ssl files for dtls listener 2022-05-30 19:34:48 +08:00
Ilya Averyanov
5dba01b8fa fix(authn): fix user search API 2022-05-25 15:50:20 +03:00
JianBo He
61b1731e5c fix(gw): merge the listener and authn confs 2022-05-17 15:16:03 +08:00
JianBo He
57bd862298 fix(gw): override configs while updating gw or listeners 2022-05-17 11:58:03 +08:00
JianBo He
ebe8b3fd20 chore(gw): pretty print exproto logs 2022-05-12 19:26:14 +08:00
JianBo He
18d265cecd chore(gw): increase timeout to update gateway instance 2022-05-12 19:26:14 +08:00
firest
81e57f2148 fix(gateway): make it safer to get the value of bind 2022-05-09 12:37:15 +08:00
firest
93ab0458d1 fix(gateway): make gateway listeners list return act like MQTT listeners 2022-05-09 12:37:15 +08:00
firest
f20f05161f fix(gateway): sum the cluster connection data 2022-05-09 12:37:15 +08:00
firest
db9cb6c4a0 fix(gateway): add node_status into the result of /gateway/{name}/listeners 2022-05-09 12:37:15 +08:00
firest
2c558152ed fix(gateway): add node_status into the result of /gateway API 2022-05-09 12:37:15 +08:00
firest
ba683167bd fix(limiter): remove unused rate limit codes 2022-05-07 17:00:13 +08:00
JianBo He
5698b9cfeb fix(gw): fix bad_ssl_config bad match 2022-05-03 17:11:06 +08:00
JianBo He
5d362eeb60 fix(gw): fix bad conn property type 2022-05-03 17:11:06 +08:00
JianBo He
42e193d9be refactor(mqttsn): create subscription with any topic format 2022-05-03 16:54:14 +08:00
JianBo He
7813f402c6 feat(api-clients): return client mountpoint property 2022-05-03 16:52:38 +08:00
JianBo He
7a8a1f8b6a
Merge pull request #7824 from HJianBo/fix-gw-http-body
fix(gw): fix deep_merge can't update the configuration correctly
2022-04-29 16:46:59 +08:00
JianBo He
725c96dc2f
Merge pull request #7814 from HJianBo/fix-gw-bad-ssl
fix(gw): return BAD_REQUEST if request's ssl files is bad
2022-04-29 11:52:57 +08:00
JianBo He
fd5b662302 fix(stomp): sync clientid from clientinfo to conninfo 2022-04-29 11:49:57 +08:00
JianBo He
f983ce2562 fix(lwm2m): correct ConnAck properties to map 2022-04-29 11:49:57 +08:00
JianBo He
49b51db231 fix(gw): fix deep_merge can't update the configuration correctly 2022-04-29 11:49:57 +08:00
JianBo He
23c6047163 fix(gw): return BAD_REQUEST if request's ssl files is bad 2022-04-28 16:12:32 +08:00
JianBo He
ff31a5a6a4 feat(gw-exproto): save ssl files for server&handler option 2022-04-28 15:34:57 +08:00
JianBo He
66c08bdc8b chore(gw): add default value for lwm2m gateway 2022-04-28 14:38:32 +08:00
firest
fd0f32418e fix(gateway): Add support for query by is_superuser 2022-04-27 15:41:14 +08:00
zhongwencool
a27caff5af
Merge pull request #7739 from DDDHuang/better_dashboard_log
fix: better listener log
2022-04-24 14:08:27 +08:00
DDDHuang
feaf89d399 fix: better gateway log 2022-04-24 10:01:38 +08:00
Shawn
984a26945c docs: add i18n ids 2022-04-23 03:51:38 +08:00
JianBo He
b018e56340 chore: revert the desc/1 changes 2022-04-22 14:03:09 +08:00
JianBo He
0f46d5ac02 docs(gw): refcator schema/swagger desc fields 2022-04-22 09:19:31 +08:00
JimMoen
9e4b9c6689 refactor: mgmt rm generate_response/1 2022-04-19 01:20:57 +08:00
DDDHuang
82ce6ae9f9 fix: bad integer, bad qos; TODO: gateway api * 2 2022-04-16 16:37:10 +08:00
DDDHuang
e22d01d25f fix: page & limit & pool_size pos_integer; some bad spelling 2022-04-16 16:37:10 +08:00
JianBo He
587fbf07ba
Merge pull request #7601 from lafirest/fix/coap_disconnected
fix(coap): fix CoAP incorrect disconnected event
2022-04-13 13:43:58 +08:00
firest
62fa500f85 fix(coap): fix CoAP incorrect disconnected event 2022-04-13 11:15:44 +08:00
JianBo He
7954f32858 chore: remove scram authenticator for all gateway 2022-04-12 16:13:55 +08:00