Comments (5)
Hi @alexdelprete, thanks for your feedback. Can you provide us with your 5.4.1 emqx configuration file and cluster.hocon in the data directory? This will help us to reproduce the issue.
You can send it to my email [email protected], and obfuscate some key information with ***
ps: Depending on your installation approach, the location of the data directory you can find here.
https://docs.emqx.com/en/enterprise/latest/deploy/install.html#files-and-directories
from emqx.
In addition, can you describe in detail how many nodes are in the cluster, what their roles are, and how you upgraded from 5.4.1 to 5.5.0?
from emqx.
You can send it to my email [email protected], and obfuscate some key information with
Mail sent.
In addition, can you describe in detail how many nodes are in the cluster, what their roles are, and how you upgraded from 5.4.1 to 5.5.0?
No cluster, it's a simple one node installation using Debian 12 Bookworm. I always upgrade through apt-get.
from emqx.
Thanks for your detailed information. I have reproduced this problem. The root cause is that we can't handle the situation in 5.5.0 where we have a configuration with mqtt bridging in data/cluster-override.conf
.
i.e,
- start a new emqx 5.5.0 node and save the following confs into the
data/cluster-override.conf
:
bridges {
mqtt {
test {
bridge_mode = false
clean_start = true
egress {
local {topic="hhhhhh"}
remote {
payload = "${payload}"
qos = 1
retain = false
topic = hhhhhhhhhh
}
}
enable = true
keepalive = 300s
proto_ver = v4
resource_opts {
health_check_interval = 15s
inflight_window = 100
max_buffer_bytes = 1GB
query_mode = async
request_ttl = 45s
start_timeout = 5s
worker_pool_size = 4
}
retry_interval = 15s
server = "127.0.0.1"
ssl {enable = false, verify = verify_peer}
}
}
}
- Start the emqx, and we will get the following error logs:
2024-02-02T12:06:54.287849+08:00 [error] msg: load_bridge_failed, mfa: emqx_bridge:safe_load_bridge/4(159), error: throw, name: test, reason: bridge_not_found, stacktrace: [{emqx_bridge_v2,bridge_v1_id_to_connector_resource_id,2,[{file,"emqx_bridge_v2.erl"},{line,1766}]},{emqx_bridge_resource,create,4,[{file,"emqx_bridge_resource.erl"},{line,198}]},{emqx_bridge,safe_load_bridge,4,[{file,"emqx_bridge.erl"},{line,141}]},{emqx_utils,'-do_parallel_map/2-anonymous-0-',3,[{file,"emqx_utils.erl"},{line,608}]}], type: mqtt
- At this point, if we open the dashboard's bridging page again, we get the 500 error mentioned in the issue.
from emqx.
The root cause is that we can't handle the situation in 5.5.0 where we have a configuration with mqtt bridging in
data/cluster-override.conf
Would it be possible to "automagically" convert (once recognised) the old bridge config to the new connector one?
from emqx.
Related Issues (20)
- Can't distinguish if string has leading spaces in Dashboard HOT 2
- Please support writing map type directly in SQL HOT 2
- Authentication 功能中 Built-in Database 不支持密码为空的场景,是否可以支持一下? HOT 1
- Built-in functions cannot be used directly in arrays in Rule Engine SQL HOT 1
- When built on NixOS, Buffer overflow using QUIC HOT 14
- Nodes can't communicate in static cluster HOT 32
- Direct support for lets encrypt HOT 4
- Frame too Large quirk HOT 7
- Allow add mountpoint for each user HOT 1
- [error] failed_to_check_schema: emqx_conf_schema HOT 12
- date_to_unix_ts in rule engine does not convert time correctly
- Time zone offset in function format_date HOT 1
- The return value of the subbits function cannot be JSON encoded HOT 4
- Requires a 4-parameter subbits function HOT 5
- Rule engine processing of large numbers HOT 2
- No prometheus stats on v5.5 HOT 4
- Issue about delivery.dropped hook and metric
- Messages dropped due to session expiration will not cause the delivery.dropped count to increase
- Wildcard support for topic metrics HOT 1
- Nodes cannot join into cluster automatically using emqx-operator in k8s HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from emqx.