-
Notifications
You must be signed in to change notification settings - Fork 39
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
Blocked #23
Comments
Yes, they don't provide official docker image anymore |
may using this repo ? |
Doesn't work, either |
Software expired. 2023-09-08T09:56:04Z | Error: "Server reply: SOFTWARE EXPIRED" |
The old Docker console client will still work if you previously had a peer registered. But it won't work for registering new peers. For new peers, only the new GUI client will work. |
I am interested, yeah. Thank you. |
Can I share the docker build file of the Linux GUI client? thank you.
Can I share the docker build file of the Linux GUI client? thank you. |
You can download the Docker scripts here. How to use:
After entering your email, the client will minimize itself. There's no way to bring it back from the VNC. To bring it back up to view, run ./bringup.sh |
Thank you so much! I was trying to run the docker too for a while on new devices. Although, weirdly enough, I have one docker still running on a VPS, it's very weird because it died on my other VPS. By the way do you know if this can run on a Raspberry Pi too? I know how to the architecture emulation, is that enough? Thanks again! |
So I have built and run @ddscentral 's docker on the Raspberry Pi 4. I used the same container for architecture emulation (amd64) recommended by @ddscentral , it's actually very easy to set it up. Then I did some small changes on the scripts, on the install.sh file I changed it to this:
And on the peer2profit.sh file I changed it to this:
It was built and it runs, it took a while to build though, so I'm not sure if it is working as it should. Also I can see it with no problems on the VNC viewer and the bringup.sh script is also working great. The only issue is that the gui says that it is connected but when I see it on Telegram it shows as offline so I'm not sure if it's working at all. I have ufw enabled so maybe I need to change something on it? Maybe to open ports in some way? I'm not sure yet how to proceed. I will try disabling ufw and restarting the container. It would be great to have some sort of log also, not sure if the gui generates log files. Please let me know if you have any idea on what to do. I will update it when I have anything working. |
It took a while to build because the build is done using amd64 userspace, all binaries run through QEMU emulation. I have never tested this new GUI client under QEMU, so I'm not sure if it works properly. The binary does output some logs (mostly Qt stuff), do check docker logs to see if there's anything. |
Thanks for the reply. So it hasn't go online since 12 hours so I guess it's not working with QEMU at the moment. I tried looking into the logs from docker but it just shows me the VNC information, it doesn't show anything from peer2profit. When you run this app on a linux desktop does it generate any logs? If I know the location maybe I can make them watchable from the docker or something like that, just to see what's going on. On the other hand, I have tried your docker on a VPS and it worked perfectly. I also would want to try something like cross compilation like this, but I'm not familiar with it so I don't know if it will work. I will be playing with that later today. |
i have the same problem on a different image. I'd like to help fix this behaviour on arm64.
so the problem could be one or more of these things:
|
Most likely it's an app compatibility issue with QEMU. |
You don't need to input the email address in the GUI, just put the following in the file [General]
StartOnStartup=true
Username=<email>
hideToTrayMsg=true
installid2=<random uuidv4>
locale=en_US I have now created an image that runs the new Peer2Profit client completely headless with xvfb and automatically applies the configuration from environment variables https://github.com/1RandomDev/peer2profit-gui |
Fixed. Thank @1RandomDev provided the solution |
It still doesn't work on arm64. By the way @1RandomDev solution is great! I will replace the container I'm running right now with the GUI with this one later. Regarding arm64 I just ran this new container with qemu and the result is the same as always. I'm wondering if using box64 would be more effective... maybe I will try that on the following weeks. |
@joaquinbvw arm is not supported anymore |
Could you tell me how you found this info? I'd like to dwell more into it to find what's going wrong between quemu and this process |
@MRColorR By comparing the behavior of the app when running my container natively on amd64 and on arm64 via qemu-user. On amd64, a second process is started with what looks like an auth token passed as a parameter. |
i'm still researching abouth this as i'd like to make it compatible with arm again and currently i'd liike to capture the error logs of the spawining and spawned process you were taliking about . Maybe you already know but i've found some info about the dependecies of pee2profit deb
you can see more infos in the following repo where the deb package has been opened: https://github.com/goastler/peer2profit/blob/main/peer2profit_0.48_amd64/control/control |
It's great you are still researching how to run it on arm64, I'm mostly a user level guy on docker and don't know much on how qemu works but if you need any help please let me know. I have a bunch of raspberry pis and orange pis to do some testing if you want. Another thing I was wondering was if maybe there is a way of running the deb package on box64 or wine, I also decompressed the deb file and found those dependencies. |
AFAIK there are no logs, apart from what Qt (app's UI framework) initially outputs. But from what I can see, the app does register on the network as I can see a new peer in the list after entering my email. Tried low-level tracing but did not capture any attempts to start a new process. |
Did you try to start the process passing x86_64 as arch with the setarch command ? |
Wine is for Windows binaries, not relevant for us. But box64 I'd say is worth trying out. I will take a loot at it. |
I have tried both making the whole container run through qemu-user-x86_64 (tonisitiigi/binfmt) and integrating the qemu-user-x86_64 binary into an ARM64 based image (with multiarch and some x86 dependencies to make the app happy). Apart from the whole container emulation being much slower, there was no difference in app's behavior. |
box64 appears to work. The UI is much more responsive and the second process now runs correctly. But the peer gets banned for some reason, maybe they're no longer allowing multiple peers per IP. Trying to get it unbanned by disabling the other peer on the same IP, will see if this works. |
Well, initially it was promising. But nothing useful came out of it. This time, the client connects but always gets banned with "Provider". Manually running the client with "-e <token>" does output a bit of log but nothing useful. There are no box64 crashes or errors reported. There's little point in posting the Dockerfile since it's a mess up from all the debugging, etc. Basically, it involves installing box64 plus dependency packages listed in peer2profit .deb. Then, you need to extract the client binary from .deb file and copy it over to /usr/bin/. Installing the .deb. in multiarch also works if you want to go that way. |
Thanks for your time and effort. |
They don't block virtualization or Docker. All my peers run inside Docker containers running on VMs. Interestingly, the Linux client is gone from the P2P bot's download list. Now there's just macos and Android. Link still works though. |
Oh no that's a shame. Thanks for the work anyway! What if we try with the APK file from Android? I read the other day that there is a way to emulate an apk on docker, I will try to do some research about it. Also I remember a while ago they ban a device of mine when I tried to install the docker container twice with same IP, is there a chance this was your case maybe? I will try going through the apk path to see if there is a chance. |
Hello, i run docker Image, does Not work. Error "licence run out"
Looked peer2profit deleted the docker reposity
The text was updated successfully, but these errors were encountered: