OPS RESTful Web Services - Bad RequestThis combination of host and port requires TLS
search cancel

OPS RESTful Web Services - Bad RequestThis combination of host and port requires TLS

book

Article ID: 250806

calendar_today

Updated On:

Products

OPS/MVS Event Management & Automation

Issue/Introduction

Executing RUNAPP.BAT with no parameters and getting the next errors:

Connecting to HTTP://host-address:8080/opsmvs/web/tables with credentials userid.
ClientWebUtil.sendRequest AcceptStr=application/json
Exception trying to convert JSON to Object
java.lang.Exception: com.fasterxml.jackson.core.JsonParseException: Unrecognized token 'Bad': was expecting (JSON String, Number, Array, Object or token 'null', 'true' or 'false')
 at [Source: (String)"Bad RequestThis combination of host and port requires TLS."; line: 1, column: 4]

HTTP Response Headers:
  Status: HTTP/1.1 400
  Connection: close
  Content-Type: text/plain;charset=UTF-8

HTTP Response body:
Bad RequestThis combination of host and port requires TLS.

 

Environment

OPS/MVS

Resolution

The error message indicates the browser is requesting a secure connection.

Solved by changing the following parameter in the cmdclient.conf file from HTTP to HTTPS:

scheme=HTTPS