[http] Illegal character in scheme name at index 0

Tags: #<Tag:0x00007f17414bb590>

I’m trying to use the HTTP binding to set and obtain status on another device. The first thing I’m trying to do is to get a string from the device I’m planning to control. The code for the thing and channel is:

UID: http:url:FeatureSummary
label: Get Features
thingTypeUID: http:url
configuration:
authMode: BASIC
ignoreSSLErrors: true
baseURL: 192.168.100.39:4200/state
refresh: 30
commandMethod: GET
contentType: application/json
timeout: 3000
bufferSize: 2048
location: Outside
channels:

  • id: FeatureSummary
    channelTypeUID: http:string
    label: Feature List
    description: “”
    configuration:
    mode: READONLY
    stateExtension: features
    stateTransformation: REGEX:(.*?)

However, I’m getting the following error. I read through the posts but it is still unclear what is causing this issue.

[ttp.internal.http.RefreshingUrlCache] - Creating request for '192.168.100.39:4200/state/features' failed: Illegal character in scheme name at index 0: 192.168.100.39:4200/state/features

try adding http:// or https://

Thank you for the quickly replying. Yup, that worked. Didn’t realized I needed to add it.

1 Like