Switch2Switch

Post Reply
ACPNick
Newbie
Posts: 10
Joined: Tue Apr 12, 2022 11:15 am

Switch2Switch

Post by ACPNick »

Hello

I am trying to use this app to link our original switch server with our newer one to finalise one part of the pdf creation using the newer features on our newer switch server.

Is anyone able to give me an example of something they may be doing similar so I can see if the settings I have are correct?

I have entered the http:// as the IP address of the newer machine with the default webhook that matches on both servers eg
http://1.1.1.11:51180
Remote Processing Protocol is HTTP
Remote Processing Port is the standard 51120
Meta = Yes

Hopefully there is a quick fix

Kind regards
Nick
freddyp
Advanced member
Posts: 1129
Joined: Thu Feb 09, 2012 3:53 pm

Re: Switch2Switch

Post by freddyp »

Assuming you are using the default port numbers, the port number in the URL is wrong: it is 51080 and not 51180.

There is one known limitation that I want to draw your attention to: it is not possible to transfer JSON datasets.
ACPNick
Newbie
Posts: 10
Joined: Tue Apr 12, 2022 11:15 am

Re: Switch2Switch

Post by ACPNick »

Apologies that was a mistype on here.
It is set as 51080
freddyp
Advanced member
Posts: 1129
Joined: Thu Feb 09, 2012 3:53 pm

Re: Switch2Switch

Post by freddyp »

So, what is the problem? Any error messages? On the sending side, on the receiving side?
ACPNick
Newbie
Posts: 10
Joined: Tue Apr 12, 2022 11:15 am

Re: Switch2Switch

Post by ACPNick »

Hi FreddyP
Thanks for looking into this

It states
"Could not download cover.pdf from (IP of the Sending Server)"
Kind regards
Nick
freddyp
Advanced member
Posts: 1129
Joined: Thu Feb 09, 2012 3:53 pm

Re: Switch2Switch

Post by freddyp »

Try using Switch2Switch on the local server from flow to flow (or in the same flow, it does not matter). That should work. If it does not you will have to report the problem to support.

Assuming for a moment that this will work, it sounds like you have a firewall problem: communication takes place from the sender to the receiver because the error message is on the receiving server, but a download request from the receiver to the sender is not allowed. Talk to your IT.
User avatar
billy.olvestad
Member
Posts: 61
Joined: Mon Nov 19, 2018 10:08 pm
Location: Sweden
Contact:

Re: Switch2Switch

Post by billy.olvestad »

Did you ever solve this?
We have the same problem.
We have opened for the webhook port externally, and that seems to work, because the receiving server gets the webhook.
We have also opened for the remote processing port in the firewall on both the sending and receiving server, but we get the error "Could not download test1.pdf from 192.168.17.1" and after a while it times out on the sending server and ends up in problem jobs.
Am I missing something?

We have entered the protocol name and port of the webhook on the receiving server, and the port and protocol of the sending server (as the manual says), but get this error anyway.

I tried setting up a connection with the receiving server acting both as local and remote server, and the same happens.

What's worse, after this we tried stopping the flow, and it got stuck in limbo. And when we tried force quitting the pid for the specific flow, the entire Switch service crashes and restarts.
ACPNick
Newbie
Posts: 10
Joined: Tue Apr 12, 2022 11:15 am

Re: Switch2Switch

Post by ACPNick »

Hi Billy

No didn't get a result talking between the 2 machines. :-(

If you do get something working then be nice to hear.

Kind regards
Nick
sander
Advanced member
Posts: 308
Joined: Wed Oct 01, 2014 8:58 am
Location: Den Bosch

Re: Switch2Switch

Post by sander »

This settings work for me with HTTPS using a signed certificate.
1.png
1.png (10.58 KiB) Viewed 17544 times
2.png
2.png (17.03 KiB) Viewed 17544 times
3.png
3.png (15.57 KiB) Viewed 17544 times
Post Reply