IBM Support

302 or blank screen when trying to list services available in z/OS Connect

Question & Answer


Question

Why am I getting a 302 HTTP response or a blank screen when trying to test the operation of the z/OS Connect server that I just setup and started? I sent a query to host:port/zosConnect/services to get a list of the services available. Doing this in a web browser, it returns a blank screen. Using a restclient, like the Poster plugin for Firefox, I can see I am getting a 302 HTTP response back. There are no messages in the message.log file to indicate a problem.

Answer

By default, z/OS Connect Enterprise Edition (EE) requires requests to be sent using HTTPS requests, and for security credentials to be provided. You most likely have not done the legwork to set this up yet.

To override these security requirements add the following code to your server.xml file:

 <!-- ZosConnectManager definition -->
  <zosconnect_zosConnectManager requireSecure="false" requireAuth="false"/>

Save the file and try your test again.

See Overview of z/OS Connect EE security in the documentation for more information.

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSNPJM","label":"IBM z\/OS Connect"},"Platform":[{"code":"PF035","label":"z\/OS"}],"Component":"","Version":"","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]

Product Synonym

zCEE

Document Information

Modified date:
14 February 2023

UID

dwa1292526