#1 2015-04-09 12:41:02

array81
Member
From: Italy
Registered: 2010-07-23
Posts: 411

URI registration error

Today I have try ro recompile may application after small changes of GUI, synopse framwork update (I think from [f4c34b7f3b] to [096a477011]) and add SynCommons unit to implement WebSockets (I don't have implement it in this moment, only add the unit).
Now I get this error: "TSQLHttpServer: http.sys URI registration error #5 for http://+:8080/root (you need to register URI)", after this the software seems to work.

Do you have any idea about a possibile solution? I have test it only on my computer development.

Offline

#2 2015-04-09 15:44:50

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,662
Website

Re: URI registration error

WebSockets are not implemented with http.sys.
So you need to set useBidirSocket kind of HTTP server.
Adding the SynBidirSock.pas unit is not enough.

Your error comes from the fact that http.sys expects the URI to be registered.
See http://synopse.info/files/html/Synopse% … #TITLE_245

Offline

Board footer

Powered by FluxBB