web stats
File Reader on network share issues - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Reply
 
Thread Tools Display Modes
  #1  
Old 09-11-2019, 10:41 AM
jerchap jerchap is offline
OBX.3 Kenobi
 
Join Date: Nov 2007
Location: British Columbia, Canada
Posts: 128
jerchap is an unknown quantity at this point
Default File Reader on network share issues

Has anyone had any issues with a file reader channel trying to read files from a network share on a windows domain?

I'm using Mirth 3.8 with java 8 update 221.

I have a windows 10 workstation with a shared directory.
I have set the share permissions so that a domain account (MYDOMAIN\TESTUSER) and everyone have full control.
I have set permissions on the directory so that a domain account (MYDOMAIN\TESTUSER) and everyone have full control.

I am running mirth from a windows server 2016 server.
I set the mirth service to run as MYDOMAIN\TESTUSER


The "Test Read" button" returns "Successfully connected to //myworkstation/myshare". The channel is set to pull every 10 seconds. I drop a file into the directory and mirth never picks it up.
In the server log tab of the dashboard, I get an error "[2019-09-11 12:19:45,874] ERROR (Server:143): Kerberos username [TESTUSER]: " I don't see anything in the log files that correlate to this error.

I stop the mirth service, which never completes. I end up terminating the mirth related processes.

I set the mirth service to run as "Local System Account" then restart the service. Mirth now picks up files in the share.

It would appear that local system account has more rights to my shared directory than the domain user, even though I've granted the domain user full control. What is happening here?

Last edited by jerchap; 09-11-2019 at 11:29 AM.
Reply With Quote
  #2  
Old 09-12-2019, 12:03 PM
clarksss clarksss is offline
OBX.2 Kenobi
 
Join Date: Jul 2013
Posts: 64
clarksss is on a distinguished road
Thumbs up looks like this is the work around

http://www.mirthcorp.com/community/i...wse/MIRTH-3450


Wayne Huang (Inactive) added a comment - 30/Jan/15 6:44 PM - edited
With MIRTH-3599, we will provide a way for users to specify their own parameters into the JSCH session config on a per connector basis.

This issue appears to only affect Java 7 (and higher probably). See http://stackoverflow.com/questions/1...authentication for more information

In the meantime, a workaround is to add the following code into the global deploy script.

Packages.com.jcraft.jsch.JSch.setConfig("Preferred Authentications", "publickey,keyboard-interactive,password");
This will apply the config changes globally for all SFTP connectors.
Reply With Quote
  #3  
Old 09-13-2019, 12:00 PM
jerchap jerchap is offline
OBX.3 Kenobi
 
Join Date: Nov 2007
Location: British Columbia, Canada
Posts: 128
jerchap is an unknown quantity at this point
Default

the thread you referenced is talking about stft, are you suggesting it also applies to the file reader?
Reply With Quote
Reply

Tags
file reader, network share

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 02:57 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Mirth Corporation