Skip to content
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

Android: Execution issue #11

Closed
Mjsharma54 opened this issue Aug 31, 2023 · 23 comments · Fixed by #19
Closed

Android: Execution issue #11

Mjsharma54 opened this issue Aug 31, 2023 · 23 comments · Fixed by #19

Comments

@Mjsharma54
Copy link

chmod + jiotv_go-v0.5.3-darwin-amd64
~ $ ./jiotv_go-v0.5.3-darwin-amd64
bash: ./jiotv_go-v0.5.3-darwin-amd64: cannot execute binary file: Exec format error
~ $

@siddharthsky
Copy link
Contributor

chmod + jiotv_go-v0.5.3-darwin-amd64 ~ $ ./jiotv_go-v0.5.3-darwin-amd64 bash: ./jiotv_go-v0.5.3-darwin-amd64: cannot execute binary file: Exec format error ~ $

you missed "x".

chmod +x jiotv_go-v0.5.3-darwin-amd64

@rabilrbl
Copy link
Owner

@Mjsharma54 If the problem is solved, please close this issue.

@Mjsharma54
Copy link
Author

chmod +x jiotv_go-v0.5.3-darwin-amd64
~ $ ./jiotv_go-v0.5.3-darwin-amd64
bash: ./jiotv_go-v0.5.3-darwin-amd64: cannot execute binary file: Exec format error
~ $

@Mjsharma54
Copy link
Author

Problem still same

@rabilrbl
Copy link
Owner

@Mjsharma54 Read the instructions carefully, you are using darwin build, I said jiotv_go-...-linux-arm64

@rabilrbl rabilrbl changed the title Pls suggest something Android: Execution issue Aug 31, 2023
@Mjsharma54
Copy link
Author

GIN] 2023/08/31 - 17:26:36 | 500 | 22.633334ms | 127.0.0.1 | GET "/"

@siddharthsky
Copy link
Contributor

siddharthsky commented Aug 31, 2023

GIN] 2023/08/31 - 17:26:36 | 500 | 22.633334ms | 127.0.0.1 | GET "/"

Try this binary:
jiotv_go-v0.5.3-linux-arm64

Steps:

  1. wget https://github.com/rabilrbl/jiotv_go/releases/download/v0.5.3/jiotv_go-v0.5.3-linux-arm64

  2. chmod +x jiotv_go-v0.5.3-linux-arm64

  3. ./jiotv_go-v0.5.3-linux-arm64

@rabilrbl
Copy link
Owner

rabilrbl commented Sep 1, 2023

@Mjsharma54 use these 👆

@rabilrbl
Copy link
Owner

rabilrbl commented Sep 1, 2023

@siddharthsky what were those builds?

You are free to have your own version of jiotv_go, only with open source code and same licence. Don't post otherwise.

If you are testing something, please also mention the same.

The reason why I stopped android builds is because, linux builds are running fine in termux. Android builds had more error compared to linux builds

@siddharthsky
Copy link
Contributor

siddharthsky commented Sep 1, 2023

@siddharthsky what were those builds?

You are free to have your own version of jiotv_go, only with open source code and same licence. Don't post otherwise.

If you are testing something, please also mention the same.

The reason why I stopped android builds is because, linux builds are running fine in termux. Android builds had more error compared to linux builds

@rabilrbl There is nothing new in the build I provided . I manually built it on Android arm64 by cloning the main repo.

Because the Linux builds from current release and Android builds from previous releases were not working at all for me. [ connection refused error ]. Still trying to figure out what is the problem with automatic release builds.

GIN] 2023/08/31 - 17:26:36 | 500 | 22.633334ms | 127.0.0.1 | GET "/"

The manually built version is working without a hiccup on Android. You can try.

@rabilrbl
Copy link
Owner

rabilrbl commented Sep 1, 2023

@siddharthsky I have figured out the error, the error is related to golang, where it fails to lookup for DNS. As mentioned in golang/go#8877 . I will be testing thoroughly and pushing a fix with custom DNS settings.

@Mjsharma54
Copy link
Author

@siddharthsky thanks bro now working for me

@rabilrbl rabilrbl closed this as completed Sep 1, 2023
@rabilrbl
Copy link
Owner

rabilrbl commented Sep 1, 2023

@siddharthsky I have applied fix for dns resolution error on Android, please test the latest build v0.5.4 (linux build) and see if error persist

@siddharthsky
Copy link
Contributor

siddharthsky commented Sep 1, 2023

@siddharthsky I have applied fix for dns resolution error on Android, please test the latest build v0.5.4 (linux build) and see if error persist

@rabilrbl

Tested : jiotv_go-v0.5.4-linux-arm64 on Termux

Tried :  

  •   ./jiotv_go-v0.5.4-linux-arm64 [working] 🎉
    • index page   ✅
    • channel playing   ✅
    • IPTV via playlist   ✅
  •  ./jiotv_go-v0.5.4-linux-arm64 :7777 [working] 🎉 
    • index page   ✅
    • channel playing   ✅
    • IPTV via playlist   ✅
  •  ./jiotv_go-v0.5.4-linux-arm64 192.168.1.111:3500 [partially working]
    • index page   ✅
    • channel playing   ❌
    • IPTV via playlist   ✅

SC

@rabilrbl
Copy link
Owner

rabilrbl commented Sep 2, 2023

@siddharthsky why do you want to specify an ip?

@rabilrbl rabilrbl reopened this Sep 2, 2023
@siddharthsky
Copy link
Contributor

siddharthsky commented Sep 2, 2023

@siddharthsky why do you want to specify an ip?

@rabilrbl
As mentioned in #5 (comment)

For using phone as a server for hosting and using IPTV m3u on TV.

@rabilrbl
Copy link
Owner

rabilrbl commented Sep 2, 2023

@siddharthsky for that ./jiotv_go :5001
Now you can access jiotv_go from all your local network using devices local ip

@siddharthsky
Copy link
Contributor

@siddharthsky for that ./jiotv_go :5001
Now you can access jiotv_go from all your local network using devices local ip

@rabilrbl Yes, 

But same site accessed through

  •  localhost:5001 [working] 🎉 
    • index page   ✅
    • channel playing   ✅
    • IPTV via playlist   ✅
  • via device IP  192.168.1.111:5001 [partially working]
    • index page   ✅
    • channel playing   ❌
    • IPTV via playlist   ✅

Tested on same device.

@rabilrbl
Copy link
Owner

rabilrbl commented Sep 2, 2023

Send me logs both frontend and back-end

@siddharthsky
Copy link
Contributor

siddharthsky commented Sep 2, 2023

@rabilrbl
Copy link
Owner

rabilrbl commented Sep 2, 2023

@siddharthsky nice catch 😁, I couldn't find otherwise, the error is related to flowplayer, I'll need to change the player once again. Will push v0.6.0 with new player

@rabilrbl
Copy link
Owner

rabilrbl commented Sep 2, 2023

@siddharthsky I have pushed a hot fix v0.5.6 should be playable. Check and lemme know

@siddharthsky
Copy link
Contributor

@siddharthsky I have pushed a hot fix v0.5.6 should be playable. Check and lemme know

It has fixed the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants