Skip to content
Snippets Groups Projects
Commit c48707f4 authored by Recolic's avatar Recolic :house_with_garden:
Browse files

Update file README.md

parent 3e36311f
No related branches found
No related tags found
No related merge requests found
......@@ -8,7 +8,7 @@ Free wash connect. Hardcoded param, Not ready for public use.
1. Deploy cracked https server with docker: `sudo docker run -p 443:443 -p 8000:8000 -d --name washcrack --restart=always recolic/washcrack`
2. On your phone, access `YOUR_SERVER_IP:8000`, read `_a_help.html` to setup dns, download crt & apk, and install them.
3. Modify DNS record on your phone. The following hostname should points to your vps.
3. Modify DNS record on your phone. [(HOW-TO)](https://recolic.net/blog/post/android-modify-dns-record-hosts-without-root-reliable-way) The following hostname should points to your vps.
```
getwashconnect.com
......@@ -24,14 +24,30 @@ o424104.ingest.sentry.io
1. Run `python -m http.server`. Use your android phone to download `crt` and `apk` from vps. Install the crt and apk.
2. Run `httpd-standalone-ssl.py` in background.
or, instead,
## If anything is going wrong
Test if your DNS modification works with your browser or curl. HostsGo is known to be unreliable, do more attempts.
## FAQ
## FAQ / Known issue
- After selecting washing machine, the price button shows "loading" animation, not allowing me to pay.
This is a known issue. It happens on some machine, and you should just try another machine.
It will fix itself after a few days. And I observed, other normal users also avoid this machine even if laundry room is super busy. I believe that machine is somehow broken, and they will send staff to fix it.
- My HTTP server doesn't respond
This is a known issue. If you open such naive HTTPS server to Internet, evil guy will send bad request to break it.
If you run `docker logs [ContainerName]`, you will see socket-related error msg. My workaround is running such script on server:
```bash
# replace washcrack with your container name
while true; do
timeout 10s curl https://localhost -k | grep invalid.get || docker restart washcrack
sleep 300
done
```
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment