I also have the same problem. The problem happens when the website name has 3 parts, like www.mysite.com/osticket. If you use only 2 parts, like mysite.com/osticket it works. I think I have seen this mentioned in the past too.
thanks @[deleted] My problem resolved