Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Duplicate channels shown on Mirth Connect Administrator (GUI) #6372

Open
anibal2j opened this issue Dec 6, 2024 · 10 comments
Open

[BUG] Duplicate channels shown on Mirth Connect Administrator (GUI) #6372

anibal2j opened this issue Dec 6, 2024 · 10 comments
Labels
bug Something isn't working

Comments

@anibal2j
Copy link

anibal2j commented Dec 6, 2024

Describe the bug
I started noticing this a few weeks ago, but it's not consistent and not easy to reproduce, although it happens quite often (once every couple of days).

I see the same channels displayed more than once in the interface (GUI). The exact same information is displayed, and it seems I can click on any of them from the Dashboard to access the channel contents (messages).

Restarting the GUI makes the problem goes away - but it comes back. Not sure when/how.

To Reproduce
Unable to reproduce at will - but it does happen often enough.

Expected behavior
The GUI should display one row per client only.

Actual behavior
The GUI displays more than one row per client. Usually I see two, but I've even seen an instance with 3 times the same row.

Screenshots
See screenshot attached.
dupchannel-mirth

Environment (please complete the following information):

  • OS: server runs Ubuntu, client is Mac OS 13.7.1 (22H221)
  • Java Distribution/Version

On the Mac:
anibal@~/VMG$ java --version
openjdk 11.0.13 2021-10-19 LTS
OpenJDK Runtime Environment Corretto-11.0.13.8.1 (build 11.0.13+8-LTS)
OpenJDK 64-Bit Server VM Corretto-11.0.13.8.1 (build 11.0.13+8-LTS, mixed mode)

  • Connect Version : 4.4.2

Workaround(s)
Restarting the GUI

Additional context
Nothing else.

@anibal2j anibal2j added the bug Something isn't working label Dec 6, 2024
@anibal2j
Copy link
Author

anibal2j commented Dec 7, 2024

I went to bed and I woke up to three sets of dups now .
dups-mirth

I don't remember doing anything. This is pretty bad.

@pacmano1
Copy link
Collaborator

pacmano1 commented Dec 7, 2024

Is that an Apple Silicon machine?

@anibal2j
Copy link
Author

anibal2j commented Dec 7, 2024

No, that's actually running inside a VM hosting the following:

OS Name Microsoft Windows Server 2016 Standard
Version 10.0.14393 Build 14393
System Model VMware Virtual Platform
System Type x64-based PC

Let me know if you need anything else. I don't know why all of a sudden I'm getting more duplicates. It seems to have happened as I crossed the boundary of 100 channels. This VM machine sits right "next" to the actual VM hosting Mirth Connect itself (which runs in Linux).

@anibal2j
Copy link
Author

anibal2j commented Dec 8, 2024

It just happened again. All I did was add a Custom MetaData column and restart the channel, and now I have duplicate showing.

@anibal2j
Copy link
Author

Since yesterday things were going well - with no duplicates. Now, all of a sudden, I restarted the same channel a few times (I'm coding and making changes) and now I have it shown three times - so annoying:

image

@tonygermano
Copy link
Collaborator

I've got a few questions

  1. You were seeing the same behavior from the client running on your mac and from a client running in a windows VM with both attaching to the same mirth server?
  2. Does this only affect the dashboard or does it affect the channels screen, too?
  3. If you do a full undeploy of the channel, wait for it to disappear from the dashboard, and then redeploy it, does that fix it for that channel or do all of the replicated rows come back?

@anibal2j
Copy link
Author

Just want to provide some more info. I changed from using RDP on the VM that's running MC to running MC on my own machine (a Mac) connected via a VPN that gives me connectivity to the Mirth server. The problem went away. I have been restarting channels as usual and I see no duplicates at all. So, the issue has to do with something within the VM that I'm running. But what could it be to have a symptom of having these duplicates in the interface? Anyway, if anybody has any further ideas on how I can troubleshoot this so that we can get to the root cause, let me know. The urgency for a fix has diminished now since I have switched to using the MC GUI from my Mac.

@tonygermano
Copy link
Collaborator

When you first reported the issue you said you were using a mac for the client? What do you mean switching to mac made the problem go away?

@anibal2j
Copy link
Author

I didn't notice your previous questions, so I'll answer all of them now.

You were seeing the same behavior from the client running on your mac and from a client running in a windows VM with both attaching to the same mirth server?

No, I was only seeing the behavior when running within the windows VM. Yes, both attaching to the same server.

Does this only affect the dashboard or does it affect the channels screen, too?

Only the dashboard. It never affected the channels screen.

If you do a full undeploy of the channel, wait for it to disappear from the dashboard, and then redeploy it, does that fix it for that channel or do all of the replicated rows come back?

hmmm, didn't try that. I'll try it one of these days and report back.

When you first reported the issue you said you were using a mac for the client? What do you mean switching to mac made the problem go away?

Yes, that was a mistake. I was looking at the java version and stuff from my Mac, but that was not where the problem was being shown. I have been using now my Mac for a full day, and no duplicates at all.

@anibal2j
Copy link
Author

I just went and restarted one channel within the Windows VM - boom, duplicates. I undeployed the channel, and redeployed it. Duplicates came back. Only on the dashboard, not the channels window.

I tried something else, also with the same channel. Stopped the channel. Undeployed. Redeployed. Now only one shows. Any ideas what's going on?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants