bettybop68 / android-rcs-ims-stack

Automatically exported from code.google.com/p/android-rcs-ims-stack
0 stars 1 forks source link

Issue with 1-1 FToHTTP between two users #148

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.Transferring Image file from one User to other (Sender-Receiver)
2.Default transfer mode is set as HTTP (instead of MSRP)
3.The file transfer is between two users (in 1-1 form instead of Group)

What is the expected output? What do you see instead?
Expected output after selecting the file on phone to share and press INVITE is 
that SIP INVITE will be sent by the Sender. But there is direct HTTP POST 
request sent by the sender phone with Content Length 0.
With either the response of 401 Unauthorized or 204 No Content, phone shows 
error popup and there is no more HTTP or SIP messages seen.

What version of the product are you using? On what operating system?
RCSe stack 2.5.8 on Android with firmware 2.2.2

Please provide any additional information below.
After doing the capability exchange by the SIP OPTIONS, when any image file is 
selected to share and INVITE button is pressed inside "File Transfer" menu, no 
SIP INVITE is sent. There is HTTP POST request sent with 0 Content length. With 
any response like 401 or 204, phone shows the error pop up and there is no more 
HTTP or SIP communication seen between 2 users. 

Original issue reported on code.google.com by aamer.78...@gmail.com on 6 Sep 2013 at 1:11

Attachments:

GoogleCodeExporter commented 8 years ago
The first empty POST is normal behaviour like described in standard.
I think the error is that your server is not in HTTPS. HTTP file transfer are 
only authorized with HTTPS connection.

Original comment by benoit.j...@gmail.com on 6 Sep 2013 at 3:55

GoogleCodeExporter commented 8 years ago

Original comment by jmauffret@gmail.com on 9 Sep 2013 at 6:40