Debugging SMB Connection #5060
-
Can you help with a question about debugging an SMB connection? I am looking for Mirth logging that would help debug this, but am not finding any. Can you point me to where I'd see a log of what's happening. Also, do you have any debugging tips for this situation? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 12 replies
-
Which side of the connection is sending TCP RST? MC Connection Log Look at the channel dashboard. Down near the bottom is a tab that says "Connection Log". You should see that connecting, reading, idling, as your chanel runs. Regular Logs You can update The relevant source file is https://github.com/nextgenhealthcare/connect/blob/e66d1122dbeebfcf5a8939beb93d720b2d5071fb/server/src/com/mirth/connect/connectors/file/filesystems/SmbFileConnection.java I don't see many logger statements there but it may help to turn up logging for that package. You can also consider turning up logging for the entire |
Beta Was this translation helpful? Give feedback.
-
Which version of mirth are you using? Prior to 3.9 the SMB connectors only supported SMBv1. |
Beta Was this translation helpful? Give feedback.
-
https://medium.com/@macsat101/packet-sniffing-using-wireshark-on-aws-183b7983685d |
Beta Was this translation helpful? Give feedback.
Which side of the connection is sending TCP RST?
MC Connection Log
Look at the channel dashboard. Down near the bottom is a tab that says "Connection Log". You should see that connecting, reading, idling, as your chanel runs.
Regular Logs
You can update
log4j.properties
to show more logging detail.The relevant source file is https://github.com/nextgenhealthcare/connect/blob/e66d1122dbeebfcf5a8939beb93d720b2d5071fb/server/src/com/mirth/connect/connectors/file/filesystems/SmbFileConnection.java I don't see many logger statements there but it may help to turn up logging for that package.
You can also consider turning up logging for the entire
jcifs.smb
package.