RTC Forums
May 15, 2024, 05:02:12 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   Home   Help Login Register  
Pages: [1]
  Print  
Author Topic: TRtcGateway with a custom GateFileName always fail  (Read 3499 times)
ISIGest
RTC Expired
*
Posts: 121


« on: October 21, 2016, 02:43:53 PM »

Hi, I'va a Gateway with a filename like this "/$GATE" but when I try to login with a client I got always a RequestNotAccepted.

Code:
BAD REQUEST! 127.0.0.1 > "GET /GATE/$p" > Method "GET" not supported.

If I replace GateFileName with "/" all work fine.
Logged
D.Tkalcec (RTC)
Administrator
*****
Posts: 1881


« Reply #1 on: October 21, 2016, 05:28:12 PM »

Oops. The "GateFileName" property setter was messed up on Gateway components.
I've fixed it now. You can download the update from the "RTC SDK Downloads" area (RTC SDK v7.56).

Make sure to use the exact same string for the GateFileName property on the Gateway and on GateClient components.
The property is case sensitive, which means that /$GATE is NOT the same as /$gate or /$Gate.

Also, keep in mind that GateFileName is ONLY a prefix for Gateway URIs.
For example, if you set GateFileName:='/$GATE' and you want to check the status of your
Gateway running on localhost, you have to enter http://localhost/$GATE$s in your Web Browser.

Best Regards,
Danijel Tkalcec
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.022 seconds with 15 queries.