# openApi-red without SSL

**URL:** <https://discourse.nodered.org/t/openapi-red-without-ssl/99900>\
**Category:** General\
**Tags:** docker\
**Created:** [9 December 2025 10:00 UTC](https://discourse.nodered.org/t/openapi-red-without-ssl/99900 "2025-12-09T10:00:52Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![beatstieger](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/beatstieger/32/104893_2.png) [@beatstieger](https://discourse.nodered.org/u/beatstieger)\
**Post date:** [9 December 2025 10:00 UTC](https://discourse.nodered.org/t/openapi-red-without-ssl/99900/1 "2025-12-09T10:00:52Z")

</div>

Hi everyone. Not sure where to put my question:  
Just discovered nodeRED this week, it's like chistmas came earlier :🙂  
To access openAPI of FireFly ([https://api-docs.firefly-iii.org/](https://api-docs.firefly-iii.org/)) in a Docker container, i use http instead https. It looks as this is impossible as i get a:

```auto
TypeError [ERR_INVALID_PROTOCOL]: Protocol "http:" not supported. Expected "https:" at new ClientRequest (node:_http_client:187:11) at request (node:http:101:10) at file:///data/node_modules/node-fetch/src/index.js:94:20 at new Promise (<anonymous>) at fetch (file:///data/node_modules/node-fetch/src/index.js:49:9) at requestSettings.userFetch (/data/node_modules/openapi-red/src/openapi.js:303:18) at http (/data/node_modules/swagger-client/lib/http/index.js:56:45) at async openApiRed._inputCallback (/data/node_modules/openapi-red/src/openapi.js:309:26)

```

- Can anyone confirm, that openApi-red 2.7.5 only supports https?
- As is didn't found a good place to place this issue at, where should i post this question?

---

<div class="post-metadata">

**Author:** ![gregorius](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/gregorius/32/73816_2.png) [@gregorius](https://discourse.nodered.org/u/gregorius)\
**Post date:** [9 December 2025 15:22 UTC](https://discourse.nodered.org/t/openapi-red-without-ssl/99900/2 "2025-12-09T15:22:58Z")

</div>

Hi there,

if you are using this node package --\> [openapi-red (node) - Node-RED](https://flows.nodered.org/node/openapi-red) as your stacktrace seems to indicate:

```auto
(/data/node_modules/openapi-red/src/openapi.js:303:18)

```

then you're better off asking them at [git ~~hub~~ lab](https://gitlab.com/2WeltenChris/openapi-red) for example.

/cc @2WeltenChris

---

<div class="post-metadata">

**Author:** ![meijey](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/meijey/32/96575_2.png) [@meijey](https://discourse.nodered.org/u/meijey)\
**Post date:** [9 December 2025 16:23 UTC](https://discourse.nodered.org/t/openapi-red-without-ssl/99900/3 "2025-12-09T16:23:29Z")

</div>

Hi beatsbesmer,

it seems that openapi-red thinks you need an https Agent setting.

This is the case if you are using any of those **config node** options:

- use a (https) certificate auth
- the server you want to call starts with "[https://localhost](https://localhost)"
- activated devMode

Please check if any of the above options are activated. If not please share more info.

In my local docker NR instance (running on http) it seems to work (got of course an 401).

PS: Latest version is 2.8.0, with updated swagger-client, but I doubt that is the problem.  
PPS: As gregorius stated, our git is [nodefox / openapi-RED · GitLab](https://gitlab.com/nodefox-team/openapi-red)

---

<div class="post-metadata">

**Author:** ![beatstieger](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/beatstieger/32/104893_2.png) [@beatstieger](https://discourse.nodered.org/u/beatstieger)\
**Post date:** [10 December 2025 07:39 UTC](https://discourse.nodered.org/t/openapi-red-without-ssl/99900/4 "2025-12-10T07:39:54Z")

</div>

It was the DevMode

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [24 December 2025 07:40 UTC](https://discourse.nodered.org/t/openapi-red-without-ssl/99900/5 "2025-12-24T07:40:51Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
