MrPlusGH / NPlusMiner

NPlusMiner + GUI | NVIDIA/AMD/CPU miner | AI | Autoupdate | MultiRig remote management
GNU General Public License v3.0
172 stars 54 forks source link

URLs blocked in some countries ? Please report #79

Closed MrPlusGH closed 6 years ago

MrPlusGH commented 6 years ago

@arminmacx

Ok, Today i download your v4.0 version and when i start it and add blockmasters pool and try to load its default algos it games me this error. BTW at first when i run it it gave another error too :

`Get-content : Cannot find path 'C:\Users\armin\Desktop\Armin mining\miner\NPlusMiner-master-4.0\NPlusMiner-master\Config\version.json' because it does not exist. At C:\Users\armin\Desktop\Armin mining\miner\NPlusMiner-master-4.0\NPlusMiner-master\NPlusMiner.ps1:388 char:171

... m-Json} catch {$Version = Get-content ".\Config\version.json" | Conve ...

                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    CategoryInfo : ObjectNotFound: (C:\Users\armin...ig\version.json:String) [Get-Content], ItemNotFoundEx
    ception
    FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.GetContentCommand

Get-content : Cannot find path 'C:\Users\armin\Desktop\Armin mining\miner\NPlusMiner-master-4.0\NPlusMiner-master\Config\PoolsAlgos.json' because it does not exist. At C:\Users\armin\Desktop\Armin mining\miner\NPlusMiner-master-4.0\NPlusMiner-master\NPlusMiner.ps1:1127 char:250

... catch { $PoolsAlgos = Get-content ".\Config\PoolsAlgos.json" | Conve ...

                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    CategoryInfo : ObjectNotFound: (C:\Users\armin...PoolsAlgos.json:String) [Get-Content], ItemNotFoundEx
    ception
    FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.GetContentCommand`

i check the folders and i saw there isn't any poolsalgo.ps1 or version.json in specified folder. i check the git source to chekc if my git forgot to download the files and i saw there aren't any file there like the app says.

UPDATE: about version.json you put it in root folder instead of config folder and because of that it gave the first error

MrPlusGH commented 6 years ago

@arminmacx

Ok i checked your code and see you point the app to a website tiny.cc which forward to another site which my antivirus block it and now i see why it didn't download it. can you upload it to normal site instead the one you already point it. like github itself

UPDATE: I disable my antivirus to see if its gonna work and this time my country block access to the site this time :D

MrPlusGH commented 6 years ago

Thanks for the test and feedback.

This code has not changed since previous versions neither has the URL used. First time I hear about countries blocking these URLs. Interesting....

Redirects are used so file hoster could be changed in case of issues without requiring a product update. Without this, any problem with the hoster would break NPlusMiner and require a reinstall.

May I ask which country/Provider you use?

Please use #79 to track this one now.

arminmacx commented 6 years ago

well i didn't have any problem with previous version at all but this version after its redirect its blocked the file hosted site by antivirus and my country I live in iran so they filter anything :D

MrPlusGH commented 6 years ago

could you try to access this directly? http://sfiles.ucoz.org/sfiles/version.json

What is the error code in your browser?

arminmacx commented 6 years ago

exactly the link you provided is filtered in my country and by antivirus. no error by filtering it just says access to this site has been block

MrPlusGH commented 6 years ago

Anyone else is seeing this type of issue?