-
Notifications
You must be signed in to change notification settings - Fork 230
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LINE app (android) can not retrieve the audio file #30
Comments
@cention-sany |
@GuitarSucks, my LINE app version (Android) is 6.8.2. From my Apache log, which has following format:
The result of this Golang server log is that there isn't any log from handler func but I can see the connStateHandler of "new", "active" then "close" when I click play the sound in my LINE app. I not sure how I can get the request parameter from this Golang server because the handler func is never get trigger at all. Do let me know if any better way for me to debug this Golang server. NOTE: If I simply run command |
@cention-sany |
@GuitarSucks I manually contructed the link for this testing as below: |
Hello @cention-sany I was able to reproduce this issue by sending an m4a audio file that is hosted on a golang server via the messaging API and then attempting to play it in the LINE Android App. I was able to play the audio file in the iOS LINE App and access it using Chrome and curl. Our Android team will look into this issue. We will let you know if they come back with something. Just for clarification, the file in the link in the above post that you constructed for testing is being served by a golang server, correct? |
@mrmaakun to be exact, 43.cust.cention.se has Apache acting as reverse proxy and handle the TLS portion and redirect HTTP request to a golang HTTP server. |
Hi @cention-sany , @GuitarSucks , and @mrmaakun |
I also have the same errors when using Azure Storage. The audio file can be played normally in Iphone, but no luck with Android? |
@letrungkien211 I guess our only option is either using another Storage or wait until Line come up with better solution. |
@davisray2909 That's really sad. I faced similar issue with Video as well. Our team actually contacted Line directly last year but they basically refuse to take action. When I saw this post, I had some hope :(. |
@letrungkien211 I have the almost same issue with Video can not be played but only iOS LINE, Android no issue. Not sure if you facing the same problem or not. |
@davisray2909 Honestly, I don't remember exactly anymore. Maybe it was the same to me. |
@letrungkien211 @cention-sany Exactly the same problem. |
for the solution , i choose to upload on site google, and copy the direct link into line API |
@letrungkien211 @GuitarSucks @mrmaakun Any update on this issue? I am facing the same issue on Azure server. As stated above it works fine if I upload it to the google server or a dropbox. |
@GuitarSucks any updates? |
We will check this issue again. Sorry for the delay |
@GuitarSucks Any update? We are going to send dynamically created videos to users at Christmas. We'd like to upload them to Azure storage for scalability. This is a blocking issue. |
Hi, FYI
|
Hello, Sorry for taking long to respond to this issue. We have tested that audio(m4a) can be played successfully on android/iOS devices. Also, as per letrungkien211's comment dated Dec 1st 2018, audio can be played successfully on other android/iOS devices as well. Refer comment for device details. For now, we are closing this issue. If you face similar issue in future please post your question to our community website: Thanks! |
Hi, I not sure if this is the right platform for me to voice this problem. I used Golang line-bot-sdk-go (Messaging API) send audio to my LINE app through a server (Apache server). But my LINE phone app (android) can not play the audio with error message: "Unknown Error. Please wait a moment and try again." From the Apache SSL log, Apache server replied 400 response code which is bad request. It seem like the LINE audio retrieval code can not establish a proper TLS connection with my Apache server. I also tried replace my Apache server with Golang server (HTTP/1.1 and HTTP2) also can not get a proper connection with the audio request where the Golang ServeHTTP(http.ResponseWriter, *http.Request) is never get call though the TCP connection is there. The audio file I sent actually created from my LINE app which received by my Golang application. Note: the path that I sent using the Messaging API is a correct path because simply using Chrome/curl I can get the audio file with 200 response code. And I don't think is the audio file content issue also because the HTTP connection not reach the code opening the audio file.
I mentioned only audio attachment because image and video attachment both successfully sent to my LINE app. If I am in the wrong place to ask question on this problem then you can point me the right place to do so?
The text was updated successfully, but these errors were encountered: