Excellent contribution Congratulations.
Great work
any tutorial how to host traccar on IIS?
I tried to host many times but no luck.
I failed at web-socket configuration
Thanks again for the great work
@mohanand, your question makes zero sense. This very thread contains a link to the tutorial.
@anton, my question is how to do web-socket configuration
why it makes zero sense ?
Well, that's not what you asked
any tutorial how to host traccar on IIS?
@anton, oh sorry that is not what I meant, I clear it at the next line "I failed at web-socket configuration"
Then you probably need to say that you followed the guide and something doesn't work. And then provide information on what exactly doesn't work, what errors you get and what kind of investigation you have done to determine what the problem is.
@anton,
ok
I had hosted Traccar on IIS
it was successful, but objects (devices) and notification was updating each 2 minutes on IIS, while it was normal on the traccar hosting
I did investigation about that and it was mis-configuring the web-socket in IIS, I tried to configure it and I did researches on google, but I was not able to do it, so now I asking for a help from someone already tired traccar with iis
Traccar has it's own built-in Java webserver. IIS is only necessary if you want to setup a reverse proxy for example to use SSL (as described in my tutorial).
I want to host it on IIS because IIS allows to host multiple websites on the same port and now I have another reason which is to add SSL,
any guide how to configure the web-socket?
You cannot replace the internet Java webserver by IIS. You can only setup a reverse proxy for Traccar using IIS, that's all.
@Freekers, good tutorial, congratulations!
I followed your guide and something doesn't work. ( note: setup a reverse proxy using IIS works by do way )
I have websocket error when I use "https://mydomain" link. {immediate appear the message when the I open the web }
Using "http//mydomain:8082" {in the same moment in other tab, in the same browser, etc} I do not have this message.
I already check the logs and there NO error or warn about it.
help please
JB
Can you send me some screenshots of your IIS configuration? For example the reverse proxy rules and your web.config
TKS for helps :)
image:
https://drive.google.com/file/d/1XgQLOdvobcd16AFF4Qo2NqtCtqBoE7eH/view?usp=sharing
web.config: (edited only hide my domain)
https://drive.google.com/file/d/13HoBOI-hvHnCXbvtn_YaM5t893o4uf2W/view?usp=sharing
Hi,
For those of you who are interested, I wrote a tutorial on how to secure Traccar with SSL / HTTPS for free, using IIS and Let’s Encrypt on Windows Server.
You can find it on my blog: https://freek.ws/2017/12/09/tutorial-how-to-secure-traccar-with-ssl-https-for-free-using-iis-and-lets-encrypt-on-windows-server/
Kind regards.