Skip to content

[BUG] mqtt broker cannot be removed #3134

Description

@sibrat
Image

'delete' button does nothing browser console shows following error:

 XHRDELETE
http://meshmon2.lan:3001/api/sources/9bd496e7-78f8-4dff-a302-10a3fc040d48
[HTTP/1.1 409 Conflict 8ms]

	
DELETE
	http://meshmon2.lan:3001/api/sources/9bd496e7-78f8-4dff-a302-10a3fc040d48
Status
409
Conflict
VersionHTTP/1.1
Transferred1,54 kB (151 B size)
Referrer Policystrict-origin-when-cross-origin
Request PriorityHighest
DNS ResolutionSystem

    	
    Access-Control-Allow-Credentials
    	true
    Access-Control-Allow-Origin
    	http://meshmon2.lan:3001
    Connection
    	keep-alive
    Content-Length
    	151
    Content-Security-Policy
    	default-src 'self'; script-src 'self' 'unsafe-inline' 'unsafe-eval'; style-src 'self' 'unsafe-inline'; img-src 'self' data: http: https:; connect-src 'self' ws: wss: https://*.tile.openstreetmap.org https://*.basemaps.cartocdn.com https://*.tile.opentopomap.org https://server.arcgisonline.com http://*.tile.openstreetmap.org; worker-src 'self' blob:; font-src 'self'; object-src 'none'; media-src 'self'; frame-src 'none'; base-uri 'self'; form-action 'self'
    Content-Type
    	application/json; charset=utf-8
    Cross-Origin-Resource-Policy
    	same-origin
    Date
    	Fri, 22 May 2026 02:47:42 GMT
    ETag
    	W/"97-70f034mSdYOuOLn/0H5vJQWtwN0"
    Keep-Alive
    	timeout=65
    Origin-Agent-Cluster
    	?1
    RateLimit-Limit
    	1000
    RateLimit-Policy
    	1000;w=900
    RateLimit-Remaining
    	438
    RateLimit-Reset
    	472
    Referrer-Policy
    	strict-origin-when-cross-origin
    Set-Cookie
    	meshmonitor.sid=s%3AnOOZE6gG9gLpUfvvmjf-VVMmZKRgEeRI.LEyxLlCRfaw%2F8qR7IY5xaK77IYaUXBpBhBOrBLiTH2Y; Path=/; Expires=Sat, 23 May 2026 02:47:42 GMT; HttpOnly; SameSite=Lax
    Vary
    	Origin
    X-Content-Type-Options
    	nosniff
    X-DNS-Prefetch-Control
    	off
    X-Download-Options
    	noopen
    X-Frame-Options
    	DENY
    X-Permitted-Cross-Domain-Policies
    	none
    X-XSS-Protection
    	0
    	
    Accept
    	*/*
    Accept-Encoding
    	gzip, deflate
    Accept-Language
    	en-US,en;q=0.9
    Cache-Control
    	no-cache
    Connection
    	keep-alive
    Content-Type
    	application/json
    Cookie
    	meshmonitor.sid=s%3AnOOZE6gG9gLpUfvvmjf-VVMmZKRgEeRI.LEyxLlCRfaw%2F8qR7IY5xaK77IYaUXBpBhBOrBLiTH2Y
    Host
    	meshmon2.lan:3001
    Origin
    	http://meshmon2.lan:3001
    Pragma
    	no-cache
    Priority
    	u=0
    Referer
    	http://meshmon2.lan:3001/
    User-Agent
    	Mozilla/5.0 (X11; Linux x86_64; rv:150.0) Gecko/20100101 Firefox/150.0
    x-csrf-token
    	b3ee3e8802f870fe4462fea14a9d21c242fce83c919d833466c85cc236db817d

environment is set:
export ALLOWED_ORIGINS=http://meshmon2.lan:3001
export NODE_ENV=production

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions