The CreatorCon Call for Content is officially open! Get started here.

Can't connect to MID Server?

Sato3
Tera Contributor

Host OS: Linux (Cent OS)
Goal: I want to pass an SSH command to MID Server to force MID Server to restart when MID Server goes down.


I want to communicate with MID Server in order to achieve my goal, but when I try to communicate with MID Server with Flow Action, I see the following error content.

find_real_file.png

find_real_file.png

When the status of MID Server is Up :

find_real_file.png
find_real_file.png

What is this error?
Also, if I can resolve this error, my command should work fine.


Please help me,

thank you.

1 ACCEPTED SOLUTION

Hi Sato,

There might be a misunderstanding here.
What you want is to do a remote connection to a server where the mid server instance is running.
You want to execute that shell script in that server if the mid server instance/service is down.

Is that what you want?

View solution in original post

11 REPLIES 11

Hello Sato!

If the mid server is down, how do you expect that your request is reaching the mid server? That will never work.


Hi, @Filipe Cruz 

 

Why is that?

Is it because if the MID Server itself goes down, it cannot be accessed?

 

Is there a document that explicitly states that it cannot be done?

Hi Sato,

There might be a misunderstanding here.
What you want is to do a remote connection to a server where the mid server instance is running.
You want to execute that shell script in that server if the mid server instance/service is down.

Is that what you want?

Hi Sato,

I noticed you are doing the connection with a user called mid_admin2.
Is that a local user in the machine/server hosting the mid server instance?

From what I can see in your screenshots, the connection was not successful:

find_real_file.png

 

If the connection is refused, that might be due to wrong credentials or wrong permissions on the server.

Can you validate that the user account you are using has permission to do a remote connection or to execute a ssh command remotely?

Best Regards,

Filipe Cruz

Hi, @Filipe Cruz 

 

>>>From what I can see in your screenshots, the connection was not successful:

The user created by No, Connection & Credential Aliases is linked with the specified Mid server.

 

>>>If the connection is refused, that might be due to wrong credentials or wrong permissions on the server.

I would like to confirm the confirmation destination and permissions of the Server credentials.
Where can I confirm them? Maybe my confirmation location is wrong.

 

>>>Can you validate that the user account you are using has permission to do a remote connection or to execute a ssh command remotely?

I'm not very familiar with MID Server so I don't know ...
Is it possible to tell me the specific procedure?

 

Best Regards