Creepsky / creepMiner

Burstcoin C++ CPU and GPU Miner
GNU General Public License v3.0
172 stars 64 forks source link

Fix outage of bootswatch #425

Closed COhsrt closed 6 years ago

COhsrt commented 6 years ago

bootswatch's https certificate got revoked, leaving all creepminer webinterfaces very messy.

copied stuff locally now

git pull
make install 

is enough for this change. no recompilation needed.

Beddhist commented 6 years ago

How do I fix a pre-compiled Install?

COhsrt commented 6 years ago

On Linux:

# Path to your creepMiner installation -- please edit
cmpath=/home/miner/creepMiner

#
cd /tmp/
git clone https://github.com/COhsrt/creepMiner.git
cd creepMiner/resources/
cp public/index.html ${cmpath}/public/
cp -R public/css ${cmpath}/public/css
cp public/js/general.js ${cmpath}/public/js/general.js

On Windows: download zip file from https://github.com/COhsrt/creepMiner unpack. Copy resources/public folder over your creepMiner installation (replace index.html and general.js)

Beddhist commented 6 years ago

That worked when running as root, sort of. Thank you very much.

The only glitch: the css dir was copied into the css dir, as in public/css/css. Perhaps the source string needs a * appended?

Thank you very much.

COhsrt commented 6 years ago

removed the slash :)

nitr8 commented 6 years ago

Noooo why use local - will move back to CDN should have switched to https://www.bootstrapcdn.com/bootswatch/

COhsrt commented 6 years ago

Because of CDN outages, Privacy issues and so on you should think about it. Usually you are having your miner in your localnet anyway, so it's even faster to grab stuff from the miner than from the CDN.

nitr8 commented 6 years ago

@COhsrt - bollox - CDN have outages if you use the right CDN - and your miner needs internet access else it cant mine anyways all my 5 miners are on the internet.

I use CDN for a reason, the problem was we where not using real CDN but the bootswatch css. SO nothing to do with CDN but with the bootswatch sire SSL Certs

COhsrt commented 6 years ago

@nitr8 ofc it needs internet connection. But usually you are viewing the interface of the miner using your localnet. So if you reference an online CDN you have a connection to your miner while your miner is connected to your PC with atleast 100MBit (usually). But not everyone has an internet connection that fast (with a ping that low). So for now I don't see any reason to move stuff out of the miner's webserver.

And, if your miner is reachable via internet: think about GPDR.

nitr8 commented 6 years ago

@COhsrt

Not true - and I'm not going to argue this with you! and re GPDR - get lost please what data do you want me to protect? sure - breach my fw / then my reverse proxy then my SSL certs / GPDR don't come into play here.

If you want to take this future - come speak on discord but this if for issue tracking, not feedback and comments.