[Gambas-user] Issues using embedded HTTP server with gb.web WebPage

Benoit Minisini benoit.minisini at gambas-basic.org
Mon Jun 6 23:00:38 CEST 2022

Le 05/06/2022 à 19:41, T Lee Davidson a écrit :
> I am using the Example (with Main.webpage and Page.webpage) at 
> http://gambaswiki.org/wiki/doc/webpage

This is not a working example, it's just to show what the syntax is.

> Issue #1: The server is unreliable, behaving inconsistently when sending 
> the page to the browser.
> Sometimes the page loads in the browser; sometimes not. When it does 
> not, the browser says, "Waiting for localhost" virtually indefinitely. 
> Clicking the Stop button in either the browser or the IDE will result in 
> the page being rendered in the browser (albeit with a "not fully loaded" 
> error in the Firefox console). I've tried three different browsers, and 
> they all experience this issue.

Please post a full project.

> BTW, whether it works as expected or not, the IDE Console *always* says, 
> "gb.httpd: bind - Address already in use"

This warning is normal.

Benoît Minisini.

More information about the User mailing list