web stats
SFTP connection with Mirth Service Account - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Reply
 
Thread Tools Display Modes
  #1  
Old 04-05-2018, 07:08 AM
pfrey pfrey is offline
Mirth Newb
 
Join Date: May 2007
Posts: 25
pfrey
Default SFTP connection with Mirth Service Account

I have a SFTP connection that is reading files from an external SFTP server. I have put in the appropriate username and password into the configuration. The connection works properly is I am running the Mirth Connect Service as a Local System account, but it does not work if I use a different account. However I need the service to run as a different account because of connections to local file shares. Why does the service account matter if I put in the proper username and password in the SFTP configuration on the Source tab? Is there anyway to fix this issue?
Reply With Quote
  #2  
Old 04-05-2018, 10:18 PM
agermano agermano is offline
Mirth Guru
 
Join Date: Apr 2017
Location: Indiana, USA
Posts: 806
agermano is on a distinguished road
Default

It's most likely some missing permission somewhere. Are you getting any errors?
Reply With Quote
  #3  
Old 04-06-2018, 05:41 AM
pfrey pfrey is offline
Mirth Newb
 
Join Date: May 2007
Posts: 25
pfrey
Default

I am not getting any errors but when I try the test Test Read it just keeps trying the connection. If I change the Mirth Connect service to use the local system account to start then it will work fine, but if I switch the service to use a domain account, then the SFTP will not work, even though I have the same username and password in the SFTP file reader configuration.

Last edited by pfrey; 04-06-2018 at 11:50 AM.
Reply With Quote
  #4  
Old 04-10-2018, 12:20 PM
mhaase mhaase is offline
OBX.2 Kenobi
 
Join Date: Dec 2015
Posts: 57
mhaase is on a distinguished road
Default

Include the domain name (if you haven't already) in the username field:

i.e. WXYZ\username
Reply With Quote
Reply

Tags
service account, sftp

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 01:40 PM.


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