Jump to content

Websockets and uniGUI


Farshad Mohajeri

Recommended Posts

24 minutos atrás, Farshad Mohajeri disse:

Há problemas quando o HyperServer é usado. Estamos nos dirigindo a eles. A compilação 1566 está chegando. Há algumas informações faltantes no documento. Tudo será corrigido.

Is it coming this week?

Link to comment
Share on other sites

No dia 3/7/2023 às 2:44, Farshad Mohajeri disse:

Há problemas quando o HyperServer é usado. Estamos nos dirigindo a eles. A compilação 1566 está chegando. Há algumas informações faltantes no documento. Tudo será corrigido.

🙏

Link to comment
Share on other sites

  • 1 month later...
  • 1 month later...

Good morning, I took a linux server to put NGINX, I'm using a reverse proxy

port 8080 - Unigui
port 8081 - API
port 8082 - WS

I wanted to continue using CloudFlare, in that environment, with hyperServer + IIS

Would you work?

Link to comment
Share on other sites

  • 1 month later...

Hi Everyone,

 

I have .1568 and using Hyperserver in IIS 10 and Websocket.. the app uses 16416 port.

in my local pc everything worked fine.. I received websocket broadcast.. BUT in https environment (IIS) the thing is not working at all... (chrome browser, other browser not working too)

What Am I missing??

Please Somebody help me on this.

  • Like 1
Link to comment
Share on other sites

On 23/07/2023 at 04:15, fraxzi said:

Oi pessoal,

 

Eu tenho 0,1568 e uso o Hyperserver no IIS 10 e Websocket.. o aplicativo usa a porta 16416.

no meu pc local tudo funcionou bem .. recebi transmissão websocket .. MAS no ambiente https (IIS) a coisa não está funcionando de jeito nenhum... (navegador chrome, outro navegador também não está funcionando)

O que estou perdendo??

Por favor, alguém me ajude nisso.

I already asked for help with this and I didn't get it.

  • Like 1
Link to comment
Share on other sites

On 7/23/2023 at 8:15 AM, fraxzi said:

Hi Everyone,

 

I have .1568 and using Hyperserver in IIS 10 and Websocket.. the app uses 16416 port.

in my local pc everything worked fine.. I received websocket broadcast.. BUT in https environment (IIS) the thing is not working at all... (chrome browser, other browser not working too)

What Am I missing??

Please Somebody help me on this.

Hello,

Did you follow step by step the guide :

http://www.unigui.com/doc/online_help/websockets--ssl.htm

 

Link to comment
Share on other sites

10 hours ago, Abaksoft said:

Hello,

Did you follow step by step the guide :

http://www.unigui.com/doc/online_help/websockets--ssl.htm

 

Hi @Abaksoft,

 

Good day!

No i didn't but I read the documentation. 

The subject web app is HyperServer on IIS.. it works but the added websocket functionmality works only on development environment not in web environment where IIS manage the Hyperserver.dll => webapp.exe.

 

Any suggestion where should I start?

Thanks.

Link to comment
Share on other sites

I had difficulties in understanding the manual, my environment is the same as "fraxzi", when I test it on the local machine it works normally, but when I put it in production the screen doesn't even open. I made a parameter to enable the websocket and when I enable it and restart the pool the browser screen turns white.

  • Like 1
Link to comment
Share on other sites

Until the moment I gave up, I had to do it the worst way, I created a table where the notifications are displayed, I created a JS that connects to the API and with a SetInterval, see if there is new data.

 

The messages read and deleted from the table, so far it works, I know it is not the correct way, but for now it has served me

Link to comment
Share on other sites

  • 2 weeks later...
  • Administrators
On 7/25/2023 at 2:23 PM, eduardosuruagy said:

I had difficulties in understanding the manual, my environment is the same as "fraxzi", when I test it on the local machine it works normally, but when I put it in production the screen doesn't even open. I made a parameter to enable the websocket and when I enable it and restart the pool the browser screen turns white.

There are various methods to implement WebSockets on IIS. Which method have you preferred?

Link to comment
Share on other sites

15 hours ago, Farshad Mohajeri said:

There are various methods to implement WebSockets on IIS. Which method have you preferred?

Hi sir @Farshad Mohajeri

In my case, I use IIS (https) and Hyperserver .. despite of carefully following the manual I still couldn't work it.. but in my DevtEnv (127.0.0.1) websocket is working (also the examples).. I am just saying.

Kind regards,

Frances

  • Upvote 1
Link to comment
Share on other sites

  • 3 months later...
  • 3 months later...
  • Administrators
On 11/15/2023 at 3:43 PM, picyka said:

I would like an improvement or know if it is possible.

Nowadays a lot of people use cloudFlare as a proxy, due to security issues. I would really like WS to work with CloudFlare

Probably it is only needed to make necessary settings on Cloudflare side. It should work transparently if all settings are correct.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...