Any one had this sort of issue while using SALFTER_NICEHASH_PROFIT_SWITCHING ??
__lbry_CORE_OVERCLOCK: 100
lbry_MEMORY_OVERCLOCK: 1100
Traceback (most recent call last):
File "/home/m1/switch", line 210, in
exchrate=float(json.loads(urllib.urlopen("https://api.coinbase.com/v2/exchange-rates?currency=BTC").read())["data"]["rates"][currency])
File "/usr/lib/python2.7/urllib.py", line 87, in urlopen
return opener.open(url)
File "/usr/lib/python2.7/urllib.py", line 213, in open
return getattr(self, name)(url)
File "/usr/lib/python2.7/urllib.py", line 443, in open_https
h.endheaders(data)
File "/usr/lib/python2.7/httplib.py", line 1053, in endheaders
self._send_output(message_body)
File "/usr/lib/python2.7/httplib.py", line 897, in _send_output
self.send(msg)
File "/usr/lib/python2.7/httplib.py", line 859, in send
self.connect()
File "/usr/lib/python2.7/httplib.py", line 1278, in connect
server_hostname=server_hostname)
File "/usr/lib/python2.7/ssl.py", line 353, in wrap_socket
_context=self)
File "/usr/lib/python2.7/ssl.py", line 601, in __init__
self.do_handshake()
File "/usr/lib/python2.7/ssl.py", line 830, in do_handshake
self._sslobj.do_handshake()
IOError: [Errno socket error] [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)
Can u check date and hours on your linux / network ?
Failed certificate verify error came from this habitually
I've changed the time zone long back to my local time (GMT London), the profit switching was working even after the time zone change! Haven't touched/changed anything related to profit switching!!
UPDATE :
Now I'm not getting the above error but get different issue; main terminal says mining starts in guake terminal; but on guake 'There is no screen to be resumed matching miner' error appears.
Will compare it with latest 1bash and see if there are any differences.
EDIT :
Sorry, I've overlooked, I'm still getting the above error and on guake getting this 'There is no screen to be resumed matching miner'
Any idea guys??
What version of nvOC are you using?
Looking at this list of errors they are all essentially 1 error; which if I am correct is the equivalent of when you try to go to a webpage and are getting a certificate error from your browser.
When I directly use the url in a browser:
https://api.coinbase.com/v2/exchange-rates?currency=BTC the api is working; I would try doing this on your rig in a browser and see if it responds with a json.
Let me know if it does.
I'm using nvOC v18 with all the updated files provided on main post.
I've compared my 1bash file with the latest 1bash on 1st page, seems no difference apart from the changes I've made (coins added by myself).
Opened the switch python file; checked the url's on RIG's browser, seems ok; nothing stands out, not sure what is going on with my RIG, everything else works fine except the profit switching!!
It starts fine; prints the per day calculation after displaying the above error list; says mining starts on guake terminal; tab opens in guake terminal and 'screen -r miner' then 'There is no screen to be resumed matching miner' and again 'screen -r miner' then 'There is no screen to be resumed matching miner'.
My guess it is failing to find the miner but also the switch file failing to make connection with those API's!!
Yes
the switch file failing to make connection with those API
this is why I wanted you to:
to help isolate if the problem is with your system or the script.
Thanks for the reply, sorry fullzero, I've already mentioned that i've tried both url's on Firefox
https://api.coinbase.com/v2/exchange-rates?currency=BTC &&
https://api.nicehash.com/api?method=simplemultialgo.info which are working as expected...getting the json file from coinbase URL and json result from nicehash URL
Just pasting the whole console history of the events, prob. gives any better idea!
workername: nvxxxxx
rig IP: xxx.xxx.xxx.xxx
01:00.0 VGA compatible controller: NVIDIA Corporation Device 1c03 (rev a1)
02:00.0 VGA compatible controller: NVIDIA Corporation Device 1c03 (rev a1)
03:00.0 VGA compatible controller: NVIDIA Corporation Device 1c03 (rev a1)
05:00.0 VGA compatible controller: NVIDIA Corporation Device 1c03 (rev a1)
06:00.0 VGA compatible controller: NVIDIA Corporation Device 1c03 (rev a1)
07:00.0 VGA compatible controller: NVIDIA Corporation Device 1c03 (rev a1)
08:00.0 VGA compatible controller: NVIDIA Corporation Device 1c03 (rev a1)
0a:00.0 VGA compatible controller: NVIDIA Corporation Device 1c03 (rev a1)
Thu Aug 24 20:29:31 2017
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 384.47 Driver Version: 384.47 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 GeForce GTX 106... Off | 00000000:01:00.0 On | N/A |
| 0% 53C P0 37W / 80W | 137MiB / 6072MiB | 48% Default |
+-------------------------------+----------------------+----------------------+
| 1 GeForce GTX 106... Off | 00000000:02:00.0 Off | N/A |
| 0% 29C P8 4W / 80W | 9MiB / 6072MiB | 2% Default |
+-------------------------------+----------------------+----------------------+
| 2 GeForce GTX 106... Off | 00000000:03:00.0 Off | N/A |
| 0% 38C P8 6W / 80W | 9MiB / 6072MiB | 1% Default |
+-------------------------------+----------------------+----------------------+
| 3 GeForce GTX 106... Off | 00000000:05:00.0 Off | N/A |
| 0% 31C P8 6W / 80W | 9MiB / 6072MiB | 1% Default |
+-------------------------------+----------------------+----------------------+
| 4 GeForce GTX 106... Off | 00000000:06:00.0 Off | N/A |
| 0% 38C P8 7W / 80W | 9MiB / 6072MiB | 1% Default |
+-------------------------------+----------------------+----------------------+
| 5 GeForce GTX 106... Off | 00000000:07:00.0 Off | N/A |
| 0% 37C P8 6W / 80W | 9MiB / 6072MiB | 1% Default |
+-------------------------------+----------------------+----------------------+
| 6 GeForce GTX 106... Off | 00000000:08:00.0 Off | N/A |
| 0% 34C P8 7W / 80W | 9MiB / 6072MiB | 1% Default |
+-------------------------------+----------------------+----------------------+
| 7 GeForce GTX 106... Off | 00000000:0A:00.0 Off | N/A |
| 0% 36C P8 6W / 80W | 9MiB / 6072MiB | 2% Default |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| 0 1038 G /usr/lib/xorg/Xorg 107MiB |
| 0 1868 G compiz 28MiB |
| 1 1038 G /usr/lib/xorg/Xorg 7MiB |
| 2 1038 G /usr/lib/xorg/Xorg 7MiB |
| 3 1038 G /usr/lib/xorg/Xorg 7MiB |
| 4 1038 G /usr/lib/xorg/Xorg 7MiB |
| 5 1038 G /usr/lib/xorg/Xorg 7MiB |
| 6 1038 G /usr/lib/xorg/Xorg 7MiB |
| 7 1038 G /usr/lib/xorg/Xorg 7MiB |
+-----------------------------------------------------------------------------+
ENVIRONMENTAL VARIBLES SET
Power limit for GPU 00000000:01:00.0 was set to 80.00 W from 80.00 W.
Warning: persistence mode is disabled on this device. This settings will go back to default as soon as driver unloads (e.g. last application like nvidia-smi or cuda application terminates). Run with [--help | -h] switch to get more information on how to enable persistence mode.
Power limit for GPU 00000000:02:00.0 was set to 80.00 W from 80.00 W.
Warning: persistence mode is disabled on this device. This settings will go back to default as soon as driver unloads (e.g. last application like nvidia-smi or cuda application terminates). Run with [--help | -h] switch to get more information on how to enable persistence mode.
Power limit for GPU 00000000:03:00.0 was set to 80.00 W from 80.00 W.
Warning: persistence mode is disabled on this device. This settings will go back to default as soon as driver unloads (e.g. last application like nvidia-smi or cuda application terminates). Run with [--help | -h] switch to get more information on how to enable persistence mode.
Power limit for GPU 00000000:05:00.0 was set to 80.00 W from 80.00 W.
Warning: persistence mode is disabled on this device. This settings will go back to default as soon as driver unloads (e.g. last application like nvidia-smi or cuda application terminates). Run with [--help | -h] switch to get more information on how to enable persistence mode.
Power limit for GPU 00000000:06:00.0 was set to 80.00 W from 80.00 W.
Warning: persistence mode is disabled on this device. This settings will go back to default as soon as driver unloads (e.g. last application like nvidia-smi or cuda application terminates). Run with [--help | -h] switch to get more information on how to enable persistence mode.
Power limit for GPU 00000000:07:00.0 was set to 80.00 W from 80.00 W.
Warning: persistence mode is disabled on this device. This settings will go back to default as soon as driver unloads (e.g. last application like nvidia-smi or cuda application terminates). Run with [--help | -h] switch to get more information on how to enable persistence mode.
Power limit for GPU 00000000:08:00.0 was set to 80.00 W from 80.00 W.
Warning: persistence mode is disabled on this device. This settings will go back to default as soon as driver unloads (e.g. last application like nvidia-smi or cuda application terminates). Run with [--help | -h] switch to get more information on how to enable persistence mode.
Power limit for GPU 00000000:0A:00.0 was set to 80.00 W from 80.00 W.
Warning: persistence mode is disabled on this device. This settings will go back to default as soon as driver unloads (e.g. last application like nvidia-smi or cuda application terminates). Run with [--help | -h] switch to get more information on how to enable persistence mode.
All done.
/home/m1/1bash: line 803: [: ==: unary operator expected
LAUNCHING: SALFTER_NICEHASH_PROFIT_SWITCHING
____currency: USD
_____pwrcost: 0.2
__min_profit: 0.0
payment_addr: 3AbFfeS7jXbdu9x3B24HQGhUoZrXrgsuZc
__miner_name: RIGV180V05
daggerhashimoto_POWERLIMIT_WATTS: 80
__daggerhashimoto_CORE_OVERCLOCK: 100
daggerhashimoto_MEMORY_OVERCLOCK: 1300
equihash_POWERLIMIT_WATTS: 80
__equihash_CORE_OVERCLOCK: 150
equihash_MEMORY_OVERCLOCK: 80
neoscrypt_POWERLIMIT_WATTS: 80
__neoscrypt_CORE_OVERCLOCK: 100
neoscrypt_MEMORY_OVERCLOCK: 1100
lyra2rev2_POWERLIMIT_WATTS: 80
__lyra2rev2_CORE_OVERCLOCK: 100
lyra2rev2_MEMORY_OVERCLOCK: 1100
lbry_POWERLIMIT_WATTS: 80
__lbry_CORE_OVERCLOCK: 100
lbry_MEMORY_OVERCLOCK: 1100
Traceback (most recent call last):
File "/home/m1/switch", line 210, in
exchrate=float(json.loads(urllib.urlopen("https://api.coinbase.com/v2/exchange-rates?currency=BTC").read())["data"]["rates"][currency])
File "/usr/lib/python2.7/urllib.py", line 87, in urlopen
return opener.open(url)
File "/usr/lib/python2.7/urllib.py", line 213, in open
return getattr(self, name)(url)
File "/usr/lib/python2.7/urllib.py", line 443, in open_https
h.endheaders(data)
File "/usr/lib/python2.7/httplib.py", line 1053, in endheaders
self._send_output(message_body)
File "/usr/lib/python2.7/httplib.py", line 897, in _send_output
self.send(msg)
File "/usr/lib/python2.7/httplib.py", line 859, in send
self.connect()
File "/usr/lib/python2.7/httplib.py", line 1278, in connect
server_hostname=server_hostname)
File "/usr/lib/python2.7/ssl.py", line 353, in wrap_socket
_context=self)
File "/usr/lib/python2.7/ssl.py", line 601, in __init__
self.do_handshake()
File "/usr/lib/python2.7/ssl.py", line 830, in do_handshake
self._sslobj.do_handshake()
IOError: [Errno socket error] [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)
neoscrypt: 0.00037516 BTC/day (1.19 USD/day)
lyra2rev2: -0.00006594 BTC/day (-0.21 USD/day)
daggerhashimoto: 0.00078480 BTC/day (2.50 USD/day)
lbry: -0.00003413 BTC/day (-0.11 USD/day)
equihash: 0.00070695 BTC/day (2.25 USD/day)
mining process in Guake Tab
on Guake Terminal
m1@m1-desktop:~$ screen -r miner
There is no screen to be resumed matching miner.
m1@m1-desktop:~$ screen -r miner
There is no screen to be resumed matching miner.
m1@m1-desktop:~$
getting this warning from the beginning of v18, thought of letting you know but keep forgetting about it, never caused any issue with mining though! compared with the latest 1bash, nothing stands out!!
/home/m1/1bash: line 803: [: ==: unary operator expected
&& this
Warning: persistence mode is disabled on this device. This settings will go back to default as soon as driver unloads (e.g. last application like nvidia-smi or cuda application terminates). Run with [--help | -h] switch to get more information on how to enable persistence mode.
-----------------------------
While doing another debug, I just realised replacing the 'bn.h' file in /usr/local/include/openssl/ to the one from 'openssl-1.0.1e' version for compiling the 'krnlx' version of ccminer (for mining 'sigt'). So it might've caused the issue of handshake error. Am I right thinking so? I haven't made a backup of that file, can someone please share that file so that I will try and conclude it.
or
If the switch file might've been corrupted or so! I highly doubt touching it before!! don't even remember opening it. can you please add the switch file to main post?