Comments (9)
I think the relevant code is -
and
I'm not sure whats going on but see how the Sftpconnection does a cwd then an ls? I wonder if you're seeing repeated cd
calls then the ls
?
Mirth Connect uses JSch for SFTP. Are there any similar issue reports for JSch? In other words, is this an MC issue or a JSch issue?
Turning up logging for JSch might also show what commands are being issued.
from connect.
With Mirth upgrading to log4j2, how do you enable JSch logging?
Service won't start using the old way: logger.JSch = DEBUG
from connect.
https://forums.mirthproject.io/forum/mirth-connect/support/12545-sftp-file-reader-connection-log JSch logging is weird. You have to add a deploy script.
from connect.
I got the logs working, but after researching a bit it turns out JSch logs do not log anything past auth info.
"It can get you a lot of info about the connection process (key exchange and such). But there is practically no such thing as debug output for the core functionality after authentication, at least for SFTP." This is also what I am seeing in the debug level logs. No info on actual transactions.
Maybe I am just mistaken on the functionality of SFTP polling. Is it logical for a single folder to take 1 second to poll but a folder and 3 subdirectories 4 seconds total to poll? I was under the assumption that it would be less than O(n).
from connect.
Is your log output really getting a single polling event or is it getting multiple polling events?
from connect.
If you are asking about the JSch logs from the Mirth server, there are many many rows of logging the sftp connection/security info. But there is no logging of the actual request such as ls/cd.
from connect.
This may just be a weird way my SFTP server logs requests. If anyone else has logs from their SFTP server of Mirth polling subdirectories that would help.
from connect.
@michaelmarcuccio - I haven't had time to try it yet but could this be verified with a docker-compose
set of containers with MC and an SFTP server?
Launch both containers and have MC chatter with the SFTP server then look at the logs from each.
from connect.
@jonbartels yeah that would work, I guess it all depends on how good the sftp server's logs are to maybe get more details.
from connect.
Related Issues (20)
- [BUG] Difference between HTTP-sender of Mirth 4.0.1 and cURL HOT 1
- [IDEA] Add option to suppress timeout errors on TCP Sender HOT 2
- [BUG] Velocity, unable to use a number as string for key HOT 1
- [IDEA] Expose all properties of the underlying DB connection pool HOT 1
- MCAL fails to launch a mirth administrator when a plugin signed by a private CA is installed HOT 1
- [BUG] ConcurrentModificationException when using JS Writer HOT 1
- [BUG] Mirth Connect 4.5.0 unattended installation does not start Mirth Connect Service and Mirth Connect Server Manager HOT 2
- [BUG] MirthConnect consumes 100% CPU what causes long queue HOT 3
- EVENT.IP_ADDRESS does not hold some addresses and do crash HOT 5
- [BUG] Failure of the PDF attachment viewer HOT 1
- [BUG] HTTP 404 error (Not Found) reported for unrecognized date input to API
- CSV to HL7 in Mirth - Issue with extraneous information HL7 output HOT 3
- [IDEA] Validate Response Dependability HOT 6
- [BUG] Your Issue TitleFailed to connect to 127.0.0.1 port 8443: Connection refused ,,when i try to connect with mirth connect
- [BUG] Set "Response Timeout" to a channelMap in a TCP Sender HOT 2
- [BUG] GUID generation not very random HOT 4
- Mirth service is not getting restarted HOT 4
- [BUG] Ability to restart subsystems related to logging in HOT 13
- [BUG] MirthConnect Version 4.5.0 - Java 17 - Web Service Sender - button "Get Operations" fails if authentication is needed HOT 13
- DestinationSetFilter-name is not consistent with the Generated Script HOT 1
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 connect.