| Author | Message | 
		
		  | velsys | 
			  
				|  Posted: Wed May 09, 2007 5:44 pm    Post subject: MQIPT NOT working through HTTP proxy |   |  | 
		
		  | Newbie
 
 
 Joined: 09 May 2007Posts: 2
 
 
 | 
			  
				| We have the need to connect to MQ Server going through a HTTP proxy.  Looking at the documentation we realised that we need to use MQIPT.  We then setup the following configuration:- 
 MQIPT1->HTTP Proxy -> MQIPT2->MQ Server
 
 How this is NOT working, and we are getting the following error
 
 MQCPI014 Eyecatcher protocol (3c21444f) not recognized
 
 Our config files look something like:-
 
 conf for IPT 1
 
 Active=true
 ListenerPort=
 Destination=xx.xx.xx.xx
 DestinationPort=
 HTTP=true
 HTTPProxy=xx.xx.xx.xx
 HTTPProxyPort=8080
 
 conf for IPT2
 Active=true
 ListenerPort=1417
 Destination=xx.xx.xx.xx
 DestinationPort=
 
 Of soure the xx.xx.xx.xx, is just a dummy IP  for the purposes of this example.
 
 Do we need to specify on IPT2 that it listens for HTTP somehow?  I suspect it is IPT2 config file that is causing me a problem.
 
 Any help/suggestions would be greatly appreciated.
 
 Regards
 George Mitev
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | fjb_saper | 
			  
				|  Posted: Wed May 09, 2007 7:51 pm    Post subject: |   |  | 
		
		  |  Grand High Poobah
 
 
 Joined: 18 Nov 2003Posts: 20767
 Location: LI,NY
 
 | 
			  
				| I remember the http proxy thing being tricky. I had it up once. The sender needs to specify an http proxy and the receiver too.  Check out what the manual says.
 
 Enjoy
  _________________
 MQ & Broker admin
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | velsys | 
			  
				|  Posted: Wed May 09, 2007 7:58 pm    Post subject: |   |  | 
		
		  | Newbie
 
 
 Joined: 09 May 2007Posts: 2
 
 
 | 
			  
				| I have looked at the manual and the example conf files, in the examples conf file for IPT2 does NOT mention anything about the proxy. 
 Does the queue manager name, queue channel etc need to have MQIPT specified before it?? ie MQIPT.MYCHANNEL as opposed to just MYCHANNEL (I doubt it though).
 
 If you could find your conf files that had things working that would be great.
 
 
 Once again any help would be greatly appreciated.
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | fjb_saper | 
			  
				|  Posted: Thu May 10, 2007 12:21 pm    Post subject: |   |  | 
		
		  |  Grand High Poobah
 
 
 Joined: 18 Nov 2003Posts: 20767
 Location: LI,NY
 
 | 
			  
				| The channel name is as configured on the qmgr. In the exemple the qmgr seemed to have a channel defined as MQIPT.MYCHANNEL.
 
 You will not be able to establish a connection if you do not specify the name of the channel exactly as it has been defined on the QMGR....
 
 Dont remember anything about the channel being specified in the config file, only host and port...
 
 Try with 2 proxies. make sure you define them right in the config files. (both proxies could be the same one?). One proxy needs to be defined as server (on the receiver MQIPT) and one as sender (on the sending MQIPT).
 
 We ended up defining a self signed certificate for the MQIPT machine and using SSL with our partner
 
 Enjoy
  _________________
 MQ & Broker admin
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | PhilBlake | 
			  
				|  Posted: Mon May 21, 2007 11:50 pm    Post subject: Re: MQIPT NOT working through HTTP proxy |   |  | 
		
		  |  Acolyte
 
 
 Joined: 25 Oct 2005Posts: 64
 
 
 | 
			  
				| 
   
	| velsys wrote: |  
	| MQIPT1->HTTP Proxy -> MQIPT2->MQ Server
 
 How this is NOT working, and we are getting the following error
 
 MQCPI014 Eyecatcher protocol (3c21444f) not recognized
 
 |  
 Which HTTP proxy are you using ? It must support HTTP 1.1 protocol and have persistent connections enabled.
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | kartal10 | 
			  
				|  Posted: Tue Jun 26, 2007 11:33 am    Post subject: |   |  | 
		
		  | Newbie
 
 
 Joined: 26 Jun 2007Posts: 4
 
 
 | 
			  
				| Hi, 
 Was the solution to this found, velsys please reply with your findings.
 
 Thanks
 MA
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  |  |