# HTTP cloud proxy passthrough functionality

**URL:** <https://community.cumulocity.com/t/http-cloud-proxy-passthrough-functionality/6377>\
**Category:** Forum\
**Tags:** thin-edge-io, cumulocity\
**Created:** [March 20, 2024, 3:55pm UTC](https://community.cumulocity.com/t/http-cloud-proxy-passthrough-functionality/6377 "2024-03-20T15:55:30Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![v.reschke](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/v.reschke/32/32057_2.png) [@v.reschke](https://community.cumulocity.com/u/v.reschke)\
**Post date:** [March 20, 2024, 3:55pm UTC](https://community.cumulocity.com/t/http-cloud-proxy-passthrough-functionality/6377/1 "2024-03-20T15:55:30Z")

</div>

#### _ **Product/components** used and **version/fix** level:_

Cumulocity Cloud  
Version 10.19.6.11  
Microservice: Cloud-remote-access , Github-proxy  
UI Extension: Cloud HTTP proxy Version: 2.3.2 in Device Managemant Application

#### _Detailed explanation of the problem:_

I am trying to install and use the “http cloud proxy” functionality. Followed the steps in  
Github - cumulocity-remote-access-cloud-http-proxy  
Have installed the Microservice and UI. RemoteAcces is runing and I can see the tab on the device level. I have a problem with the “Passthrough” option. Like in the description the “passthrough” is disabled on eu-latest.cumulocity. com and cumulocity. com. I have checked the system options and the “pass-through.enabled” value is set to “false”. So I can not see the option in the selection (only VNC, SSH). With REST I could import the configuration but it is not working. In the description when everything is set the new Tab (e.g. NodeRed") should appear. In my case it is not. The ThinEdge is setup like in the description and is connected to cumulocity.  
Is it possible to use the “http cloud proxy” even if it is set to false in the tenant?

#### _Error messages / **full error** message screenshot / **log** file:_

 ![grafik](https://europe1.discourse-cdn.com/flex005/uploads/cumulocity/original/3X/c/6/c651a82f7b703179f815aa9018712ff6145e3085.png)

#### _Question related to a **free trial** , or to a **production (customer)** instance?_

testing on “eu-latest.cumulocity. com”

---

<div class="post-metadata">

**Author:** ![Stefan\_Witschel](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/stefan_witschel/32/31955_2.png) [@Stefan\_Witschel](https://community.cumulocity.com/u/Stefan_Witschel)\
**Post date:** [March 20, 2024, 4:23pm UTC](https://community.cumulocity.com/t/http-cloud-proxy-passthrough-functionality/6377/2 "2024-03-20T16:23:42Z")

</div>

> [@v.reschke](#):
>
> With REST I could import the configuration but it is not working.

Unfortunately it is still disabled on eu-latest to appear in the UI selection list (the key is only to make it visible).

Still, you can and should be able to add your passthrough endpoint using REST. How does your config look like created via REST?

In this guide it is explained how to add the endpoint using REST.

[cumulocity-remote-access-cloud-http-proxy](https://community.cumulocity.com/t/how-to-get-started-with-cloud-remote-access-for-cumulocity-iot/7440#h-1-create-a-passthrough-endpoint-17)

Did you follow this instruction:

> The name of the configuration should be prefixed with either `http:` or `https:` depending on the server you are trying to connect to. This is used by the UI Plugin to identify endpoints that are compatible with it.

> In case the tab does not show up, check the browsers console logs. In case you’ve missed to set a tenant option, you should see a warning there.

---

<div class="post-metadata">

**Author:** ![v.reschke](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/v.reschke/32/32057_2.png) [@v.reschke](https://community.cumulocity.com/u/v.reschke)\
**Post date:** [March 21, 2024, 7:51am UTC](https://community.cumulocity.com/t/http-cloud-proxy-passthrough-functionality/6377/3 "2024-03-21T07:51:58Z")

</div>

Hello Stefan,  
thank you for the information and the respond.  
I have followed the description in the guide for remote-access.  
My configuration looks like in the description:

 ![grafik](https://europe1.discourse-cdn.com/flex005/uploads/cumulocity/original/3X/f/b/fb47bd39bfc4241359988ae32afb119c08277d40.png)  
If I use the SSH funktion it works and I have access to the device. The passthrough or proxy funktion doesn’t work. I didn’t get the Tab for NodeRed.

---

<div class="post-metadata">

**Author:** ![v.reschke](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/v.reschke/32/32057_2.png) [@v.reschke](https://community.cumulocity.com/u/v.reschke)\
**Post date:** [March 21, 2024, 8:17am UTC](https://community.cumulocity.com/t/http-cloud-proxy-passthrough-functionality/6377/4 "2024-03-21T08:17:04Z")

</div>

I only get this warning in the console:

![grafik](https://europe1.discourse-cdn.com/flex005/uploads/cumulocity/original/3X/4/d/4d2eab142661734b807357d991e23a6e6dd4444b.png)

---

<div class="post-metadata">

**Author:** ![Tristan\_Bastian](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/tristan_bastian/32/18259_2.png) [@Tristan\_Bastian](https://community.cumulocity.com/u/Tristan_Bastian)\
**Post date:** [March 21, 2024, 8:41am UTC](https://community.cumulocity.com/t/http-cloud-proxy-passthrough-functionality/6377/5 "2024-03-21T08:41:41Z")

</div>

Hi Valerian,

the UI was checking if this system option was set before showing the tabs.  
I’ve just disabled that check now. With version [v2.3.3 of the plugin](https://github.com/Cumulocity-IoT/cumulocity-remote-access-cloud-http-proxy/releases/tag/v2.3.3) you should see the tabs even if that system option was not set.

Regards,  
Tristan

---

<div class="post-metadata">

**Author:** ![v.reschke](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/v.reschke/32/32057_2.png) [@v.reschke](https://community.cumulocity.com/u/v.reschke)\
**Post date:** [March 21, 2024, 10:25am UTC](https://community.cumulocity.com/t/http-cloud-proxy-passthrough-functionality/6377/6 "2024-03-21T10:25:08Z")

</div>

Hi Tristan,  
thanks for the update. I have installed the new version of the UI (2.3.3) but the Problem is still not solved the Tab doesn’t appear.  
The warning in the console is solved. I also see this warning in the console.

![grafik](https://europe1.discourse-cdn.com/flex005/uploads/cumulocity/optimized/2X/9/96eee5692e982d4b56983db4e732191974dd004f_2_690x18.jpeg)

I don’t know if this has effect on the functionality.

---

<div class="post-metadata">

**Author:** ![Tristan\_Bastian](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/tristan_bastian/32/18259_2.png) [@Tristan\_Bastian](https://community.cumulocity.com/u/Tristan_Bastian)\
**Post date:** [March 21, 2024, 10:40am UTC](https://community.cumulocity.com/t/http-cloud-proxy-passthrough-functionality/6377/7 "2024-03-21T10:40:11Z")

</div>

Hi Valerian,

can you provide a screenshot of the remote access configurations of your device?  
You should be able get them from: `/apps/devicemanagement/index.html#/device/<deviceId>/remote_access`

Even better would be if you could provide the JSON response to the GET request going to: `/service/remoteaccess/devices/<deviceId>/configurations`

Regards,  
Tristan

---

<div class="post-metadata">

**Author:** ![v.reschke](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/v.reschke/32/32057_2.png) [@v.reschke](https://community.cumulocity.com/u/v.reschke)\
**Post date:** [March 21, 2024, 11:02am UTC](https://community.cumulocity.com/t/http-cloud-proxy-passthrough-functionality/6377/8 "2024-03-21T11:02:09Z")

</div>

Tristan,  
here is the remote access configuration:

 ![grafik](https://europe1.discourse-cdn.com/flex005/uploads/cumulocity/original/3X/d/6/d6e15065797f6a90586f75868a4ae77e3dfd5e5e.png)

---

<div class="post-metadata">

**Author:** ![v.reschke](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/v.reschke/32/32057_2.png) [@v.reschke](https://community.cumulocity.com/u/v.reschke)\
**Post date:** [March 21, 2024, 11:07am UTC](https://community.cumulocity.com/t/http-cloud-proxy-passthrough-functionality/6377/9 "2024-03-21T11:07:21Z")

</div>

the service/remoteaccess get the following reponse:

 ![grafik](https://europe1.discourse-cdn.com/flex005/uploads/cumulocity/original/3X/7/8/78d33e4d3289c9f988b8b59bd1a1ada4708010b8.jpeg)

---

<div class="post-metadata">

**Author:** ![Tristan\_Bastian](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/tristan_bastian/32/18259_2.png) [@Tristan\_Bastian](https://community.cumulocity.com/u/Tristan_Bastian)\
**Post date:** [March 21, 2024, 12:23pm UTC](https://community.cumulocity.com/t/http-cloud-proxy-passthrough-functionality/6377/10 "2024-03-21T12:23:26Z")

</div>

When you navigate to `/apps/devicemanagement/index.html#/device/<deviceId>/cloud-http-proxy/5` does it work then?  
Can you check if your device managedObject has a `c8y_RemoteAccessList` fragment?

The `cloud-http-proxy` microservice is up and running?

---

<div class="post-metadata">

**Author:** ![v.reschke](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/v.reschke/32/32057_2.png) [@v.reschke](https://community.cumulocity.com/u/v.reschke)\
**Post date:** [March 21, 2024, 1:34pm UTC](https://community.cumulocity.com/t/http-cloud-proxy-passthrough-functionality/6377/11 "2024-03-21T13:34:25Z")

</div>

the problem was the microservice, somehow I had the wrong microservice running. I have subscribed the “cloud-http-proxy” now I can see the Tab with NodeRed. I could type in the Credentials for NodeRed but the display with the Nodes doesn’t appear.

 ![grafik](https://europe1.discourse-cdn.com/flex005/uploads/cumulocity/original/3X/b/5/b5a44b61ff015739c49e5353a1260043c03b3eec.png)  
the console has a warning:  
 ![grafik](https://europe1.discourse-cdn.com/flex005/uploads/cumulocity/original/3X/5/5/559c30671a70b1e715365ac49bb66ca7d9e4258a.png)

---

<div class="post-metadata">

**Author:** ![Tristan\_Bastian](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/tristan_bastian/32/18259_2.png) [@Tristan\_Bastian](https://community.cumulocity.com/u/Tristan_Bastian)\
**Post date:** [March 21, 2024, 2:00pm UTC](https://community.cumulocity.com/t/http-cloud-proxy-passthrough-functionality/6377/12 "2024-03-21T14:00:30Z")

</div>

Authentication through the `cloud-http-proxy` has only limited support. But the 404 looks like something else might be wrong with your Node-RED instance.

---

<div class="post-metadata">

**Author:** ![v.reschke](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/v.reschke/32/32057_2.png) [@v.reschke](https://community.cumulocity.com/u/v.reschke)\
**Post date:** [March 21, 2024, 2:26pm UTC](https://community.cumulocity.com/t/http-cloud-proxy-passthrough-functionality/6377/13 "2024-03-21T14:26:22Z")

</div>

If I change to the NodeRED Tab I get a login Popup, when I enter my credentials it doesn’t work. I get the screen again and again.

 ![grafik](https://europe1.discourse-cdn.com/flex005/uploads/cumulocity/original/3X/d/2/d27d0bcc9599fd64cc493e6cee553c3824b031ff.png)

In the console I also get:

![grafik](https://europe1.discourse-cdn.com/flex005/uploads/cumulocity/optimized/2X/d/d4c4cda1acd2a9aaf08acd349dcb83f202f04b0b_2_690x24.png)

If I connect to the IP localy I get the right NodeRED Visualisation.

---

<div class="post-metadata">

**Author:** ![Tristan\_Bastian](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/tristan_bastian/32/18259_2.png) [@Tristan\_Bastian](https://community.cumulocity.com/u/Tristan_Bastian)\
**Post date:** [March 21, 2024, 2:44pm UTC](https://community.cumulocity.com/t/http-cloud-proxy-passthrough-functionality/6377/14 "2024-03-21T14:44:55Z")

</div>

Is your tenant configured for OAuth or Basic Auth? The plugin is only meant to be used with OAuth as stated in the README.  
Please ensure that you have read the [Prerequisits & Limitations](https://github.com/Cumulocity-IoT/cumulocity-remote-access-cloud-http-proxy?tab=readme-ov-file#prerequisits--limitations) section.

You might also want to provide the microservice logs when you are seeing the 500 error.

---

<div class="post-metadata">

**Author:** ![v.reschke](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/v.reschke/32/32057_2.png) [@v.reschke](https://community.cumulocity.com/u/v.reschke)\
**Post date:** [March 21, 2024, 3:04pm UTC](https://community.cumulocity.com/t/http-cloud-proxy-passthrough-functionality/6377/15 "2024-03-21T15:04:22Z")

</div>

we use the OAI-Secure Authentication:

 ![grafik](https://europe1.discourse-cdn.com/flex005/uploads/cumulocity/original/3X/b/d/bdae85dd4c648696e9864741255c4d494b7301f8.png)

the microservice log is:

 ![grafik](https://europe1.discourse-cdn.com/flex005/uploads/cumulocity/original/3X/8/6/864de7194487236cef7e6fda7818b2f5449ed5de.png)

---

<div class="post-metadata">

**Author:** ![Tristan\_Bastian](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/tristan_bastian/32/18259_2.png) [@Tristan\_Bastian](https://community.cumulocity.com/u/Tristan_Bastian)\
**Post date:** [March 22, 2024, 8:23am UTC](https://community.cumulocity.com/t/http-cloud-proxy-passthrough-functionality/6377/16 "2024-03-22T08:23:55Z")

</div>

Hi Valerian,

I’ve adjusted the logging within the microservice slightly. Can you try [v2.4.0](https://github.com/Cumulocity-IoT/cumulocity-remote-access-cloud-http-proxy/releases/tag/v2.4.0) of the mircoservice and provide the log again?  
Please send the log file directly to me, instead of posting it in this thread.

Regards,  
Tristan

---

<div class="post-metadata">

**Author:** ![Tristan\_Bastian](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/tristan_bastian/32/18259_2.png) [@Tristan\_Bastian](https://community.cumulocity.com/u/Tristan_Bastian)\
**Post date:** [March 22, 2024, 2:14pm UTC](https://community.cumulocity.com/t/http-cloud-proxy-passthrough-functionality/6377/17 "2024-03-22T14:14:44Z")

</div>

Hi Valerian,

as discussed via private messages, your issue was related to the login page that was configured for Node-RED.  
As already mentioned in: [HTTP cloud proxy passthrough functionality - #12 by Tristan\_Bastian](https://community.cumulocity.com/t/http-cloud-proxy-passthrough-functionality/6377/12), the proxy has only limited support for authentication.

I’ve been able to reproduce this locally and was actually able to find a solution to make the login work.  
[Version 2.4.2](https://github.com/Cumulocity-IoT/cumulocity-remote-access-cloud-http-proxy/releases/tag/v2.4.2) should allow you to perform the login as well.

Regards,  
Tristan

---

<div class="post-metadata">

**Author:** ![v.reschke](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/v.reschke/32/32057_2.png) [@v.reschke](https://community.cumulocity.com/u/v.reschke)\
**Post date:** [March 22, 2024, 2:56pm UTC](https://community.cumulocity.com/t/http-cloud-proxy-passthrough-functionality/6377/18 "2024-03-22T14:56:50Z")

</div>

Hi Tristan,

thank you for the information and the solution. With the new Version of the microservice it also works on my tenant. Thanks for the investigation and your time to solve this.

Best Regards

Valerian

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/system/32/31990_2.png) [@system](https://community.cumulocity.com/u/system)\
**Post date:** [September 18, 2024, 2:57pm UTC](https://community.cumulocity.com/t/http-cloud-proxy-passthrough-functionality/6377/19 "2024-09-18T14:57:11Z")

</div>

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