Atozed Forums
Http.sys deploy and aHttpBindings - Printable Version

+- Atozed Forums (https://www.atozed.com/forums)
+-- Forum: Atozed Software Products (https://www.atozed.com/forums/forum-1.html)
+--- Forum: IntraWeb (https://www.atozed.com/forums/forum-3.html)
+---- Forum: English (https://www.atozed.com/forums/forum-16.html)
+----- Forum: IntraWeb General Discussion (https://www.atozed.com/forums/forum-4.html)
+----- Thread: Http.sys deploy and aHttpBindings (/thread-2344.html)



Http.sys deploy and aHttpBindings - JacksonGomes - 03-25-2021

Hi guys, have anyone seen the error below and has any tip to solve it?

TIWServiceWorker.Execute: [HttpSys] A call to "HttpAddUrlToUrlGroup" failed: The parameter is incorrect http://app.bobskeywords.com/

This is my code:

   aHttpBindings.Add('http://app.bobskeywords.com/');

I have the above URL pointing to the server the app is running and I can run the app if I use a URL base for the binding, for example:

  aHttpBindings.Add('http://*:80/bkw/');

in this case, if I try to access my app using http://app.bobskeywords.com/bkw/ it works as expected.

Cheers and thanks.

Jackson


RE: Http.sys deploy and aHttpBindings - Jose Nilton Pace - 03-25-2021

Hi Jackson. When you Bind information manually, you need to enter the complete url:

aHttpBindings.Add('http://app.bobskeywords.com:80/bkw/');

And if you use https, do the same:

aHttpsBindings.Add('https://app.bobskeywords.com:443/bkw/');


RE: Http.sys deploy and aHttpBindings - kudzu - 03-25-2021

aHttpBindings.Add('http://app.bobskeywords.com/')

Is a full URL too... Does http.sys *require* a path? Can it not bind to the root path of a domain?


RE: Http.sys deploy and aHttpBindings - JacksonGomes - 03-25-2021

(03-25-2021, 12:33 PM)Jose Nilton Pace Wrote: Hi Jackson. When you Bind information manually, you need to enter the complete url:

aHttpBindings.Add('http://app.bobskeywords.com:80/bkw/');

And if you use https, do the same:

aHttpsBindings.Add('https://app.bobskeywords.com:443/bkw/');

Thanks for the tip... you really need to add the full URL, including the port number.

https://docs.microsoft.com/en-us/windows/win32/http/urlprefix-strings


RE: Http.sys deploy and aHttpBindings - kudzu - 03-26-2021

Odd.... that Microsoft doesn't accept 80 as the default like is usual.