Please be aware that the content in SAP SQL Anywhere Forum will be migrated to the SAP Community in June and this forum will be retired.

Hi All,

I want to check if the relay server and outbound enabler can be installed on the same machine ?

If tried , getting error 405 in the logs :

E. 2013-03-06 12:54:42. <OEHost> Received an unexpected HTTP error from the web server:HTTP/1.1 405 Method Not Allowed
                         Cache-Control: private
                         Allow: GET, HEAD, OPTIONS, TRACE
                         Content-Type: text/html; charset=utf-8
                         Server: Microsoft-IIS/7.0
                         X-Powered-By: ASP.NET
                         Date: Wed, 06 Mar 2013 12:54:41 GMT
                         Content-Length: 5663

~Regards

asked 12 Mar '13, 08:15

Gaurav's gravatar image

Gaurav
16224
accept rate: 0%

edited 15 Mar '13, 22:16

Mark%20Culp's gravatar image

Mark Culp
24.9k10141297

2

Could you be more specific about what you've done so far, SQL Anywhere version etc?

(12 Mar '13, 08:54) Reimer Pods

This is absolutely supported, and the majority of the automatted Relay Server testing is done this way. You would likley get the same error if the RSOE was on another machine.

Can you provide the applicationHost.config file for the IIS server so we can see how the Relay Server is configured, and the start line for the RSOE as well?

permanent link

answered 12 Mar '13, 09:24

Reg%20Domaratzki's gravatar image

Reg Domaratzki
7.7k343118
accept rate: 37%

edited 12 Mar '13, 09:58

Hi Reg,

Thanks for the update. We checked with creating a single farm with the relay server and rsoe and getting the same error. RS version is 12.0.1.3769

RSOE logs as below :

I. 2013-03-06 12:54:28. iAnywhere Outbound Enabler Version 12.0.1.3769
I. 2013-03-06 12:54:28. 
I. 2013-03-06 12:54:28. Copyright © 2001-2012, iAnywhere Solutions, Inc.
I. 2013-03-06 12:54:28. Portions copyright © 1988-2012, Sybase, Inc. All rights reserved.
I. 2013-03-06 12:54:28. Use of this software is governed by the Sybase License Agreement.
I. 2013-03-06 12:54:28. Refer to http://www.sybase.com/softwarelicenses.
I. 2013-03-06 12:54:28. 
I. 2013-03-06 12:54:28. <OEHost> 
I. 2013-03-06 12:54:28. <OEHost> iAnywhere Outbound Enabler Version 12.0.1.3769
I. 2013-03-06 12:54:28. <OEHost> Machine vm-10-27-104-17 is running Windows 2008 Build 6002 Service Pack 2
I. 2013-03-06 12:54:28. <OEHost> Software built for X86_64
I. 2013-03-06 12:54:28. <OEHost> Time zone offset from UTC in minutes: 0
I. 2013-03-06 12:54:28. <OEHost> 
E. 2013-03-06 12:54:30. <OEMaster> Backend server: localhost:2480 is down or not accepting requests, pinging again..
I. 2013-03-06 12:54:42. <OEMaster> Successfully connected to backend server: localhost:2480
E. 2013-03-06 12:54:42. <OEHost> Received an unexpected HTTP error from the web server:HTTP/1.1 405 Method Not Allowed
                        Cache-Control: private
                        Allow: GET, HEAD, OPTIONS, TRACE
                        Content-Type: text/html; charset=utf-8
                        Server: Microsoft-IIS/7.0
                        X-Powered-By: ASP.NET
                        Date: Wed, 06 Mar 2013 12:54:41 GMT
                        Content-Length: 5663
E. 2013-03-06 12:54:42. <OEHost> doHTTPRequest: read reply failed
E. 2013-03-06 12:54:42. <OEHost> Failed to retrieve relay server peer list. Retrying...

applicationHost.config can be accessed from : http://www-panther.sybase.com/remote/cases/BCP/2013/200000s/209776/applicationHost.config

~Regards

(13 Mar '13, 04:53) Gaurav

POST needs to be allowed as well.

permanent link

answered 13 Mar '13, 09:52

Wing%20Wong's gravatar image

Wing Wong
266111
accept rate: 11%

How can this be done ?

(14 Mar '13, 00:22) Gaurav

For example, I have my server/rs_server.dll deployed to a virtually directory called RS under the Default Web Site. In IIS manager GUI, I would select go down Default Web Site -> RS in the left pane and then on the right pane I would go in Handler Mappings -> ISAPI-dll -> Edit -> Request Restrictions -> Verbs and make sure All verbs is selected there. To my understanding, this is the default setup of IIS and if yours is different then may be there are hardening process done to your IIS configuration. If such hardening process will be performed again then I think you need to figureout the root cause of such post-configuration change and to disable this intrusive aspect.

Alternatively, you can use appcmd command line utility to do this. You can have a look in the rs_setup.bat as a reference. It is part of the quick setup script we added last year in order to make initial setup an easy job for everyone even without web server specific experience. If the RS installation is bundled with something that doesn't supply the quick setup script, please let us know, we would like to followup with the re-distributing group.

The OE performs both POST and GET and the example I gave didn't make the restriction tightest for simplicity.

I had examine what is the effect of denying POST using Request Filtering. The result I get is 404 instead of 405. So, I believe Request Filtering is not what you need to look into.

Hope this help. Let us know if you have further RS setup issue.

-Wing

permanent link

answered 14 Mar '13, 08:13

Wing%20Wong's gravatar image

Wing Wong
266111
accept rate: 11%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×23
×12

question asked: 12 Mar '13, 08:15

question was seen: 3,446 times

last updated: 15 Mar '13, 22:16