# HTTP Tunneling in Servoy 5.0 final ??

**URL:** https://forum.servoy.com/t/http-tunneling-in-servoy-5-0-final/11468
**Category:** Classic Servoy
**Created:** [December 3, 2009, 1:00pm UTC](https://forum.servoy.com/t/http-tunneling-in-servoy-5-0-final/11468 "2009-12-03T13:00:30Z")
**Posts on this page:** 3
**Page:** 2

<div class="post-metadata">

### Author: ![bobpee](https://avatars.discourse-cdn.com/v4/letter/b/f1d935/32.png) [@bobpee](https://forum.servoy.com/u/bobpee)
#### Post date: [December 8, 2009, 8:02am UTC](https://forum.servoy.com/t/http-tunneling-in-servoy-5-0-final/11468/21 "2009-12-08T08:02:25Z")

</div>

> mboegem:  
> Hi Bob,
> 
> I am following your problem, because I’m surprised…  
> I just activated a fresh 5.0 install WITH http-tunneling enabled and there was not the smallest problem.  
> The only extra thing I changed was setting an extra port to connect to (port 80) by extending the server.xml file with
> 
> ```auto
> <Connector port="80" 
> 
> ```

```
		   protocol="HTTP/1.1" 
           maxThreads="500" connectionTimeout="60000" 
           redirectPort="8443" useBodyEncodingForURI="true" />

```

> ```auto
> 
> Maybe it's worth a try and do a clean install again?
> 
> ```

Hi Marc,  
I would be away for the next 11 to 12 hrs - would try a clean install asap after this period.  
Thnx.

---

<div class="post-metadata">

### Author: ![jcompagner](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/jcompagner/32/4889_2.png) [@jcompagner](https://forum.servoy.com/u/jcompagner)
#### Post date: [December 9, 2009, 1:21pm UTC](https://forum.servoy.com/t/http-tunneling-in-servoy-5-0-final/11468/22 "2009-12-09T13:21:45Z")

</div>

The new tunnel code has some more settings to be faster and/or more reliable but you have to configure it now if you use special proxies and firewalls.

If the tunnel doesnt work out of the box these 2 system properties will help:

system.property.com.sebster.tunnel.http.client.closeRequestOnFlush=false  
system.property.com.sebster.tunnel.http.client.chunked=false

You add/change these system properties through the admin pages

---

<div class="post-metadata">

### Author: ![bobpee](https://avatars.discourse-cdn.com/v4/letter/b/f1d935/32.png) [@bobpee](https://forum.servoy.com/u/bobpee)
#### Post date: [December 9, 2009, 1:40pm UTC](https://forum.servoy.com/t/http-tunneling-in-servoy-5-0-final/11468/23 "2009-12-09T13:40:15Z")

</div>

> bobpee:
> 
> > mboegem:  
> > Hi Bob,
> > 
> > I am following your problem, because I’m surprised…  
> > I just activated a fresh 5.0 install WITH http-tunneling enabled and there was not the smallest problem.  
> > The only extra thing I changed was setting an extra port to connect to (port 80) by extending the server.xml file with
> > 
> > ```auto
> > <Connector port="80" 
> > 
> > ```

```
		   protocol="HTTP/1.1" 
           maxThreads="500" connectionTimeout="60000" 
           redirectPort="8443" useBodyEncodingForURI="true" />

```

> > ```auto
> > 
> > Maybe it's worth a try and do a clean install again?
> > 
> > ```
> 
> Hi Marc,  
> I would be away for the next 11 to 12 hrs - would try a clean install asap after this period.  
> Thnx.

Clean install was not necessary - Servoy Support solved the issue.

It is not a “bug” too, I’ve been made to understand - if you face issues like I did with http-tunneling on server 5.0 final, you just have to do the following:

On the server-admin page, add the following 2 extra lines to **system.properties**

> system.property.com.sebster.tunnel.http.client.chunked=false  
> system.property.com.sebster.tunnel.http.client.closeRequestOnFlush=false

Thnx. everyone once again,

[Previous page](https://forum.servoy.com/t/http-tunneling-in-servoy-5-0-final/11468.md?page=1)
