Problems with Nexus hosted pypi repos after updating from 3.46 to 3.47 - pypi

Hello today I updated my NEXUS OSS repo manager from 3.46 to 3.47.
In the system status page I am seeing the error message:
X transactions with excessive retries in last hour
with the counter X steadily mounting.
Users are unable to download pip packages from the repository.
The error is:
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='nexus.mercator-ocean.fr', port=443): Read timed out. (read timeout=15)")': /repository/pypi-all/simple/zarr/
If it works, it works for one package and then the error above happens.
Any ideas ?
OS is Debian 5.10.162-1 (2023-01-21)

Related

pip install tensorflow - no matching distribution

I am following TensorFlow's installation guide for Windows 10 & WSL2.
But I get the following when I finally get to the point of installing TensorFlow,
(base) root#SCEDWLWC164905:~# conda activate tf
(tf) root#SCEDWLWC164905:~# pip install tensorflow
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f445141b6a0>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/tensorflow/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f445141b9d0>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/tensorflow/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f445141bc40>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/tensorflow/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f445141bdf0>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/tensorflow/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f445141bfd0>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/tensorflow/
ERROR: Could not find a version that satisfies the requirement tensorflow (from versions: none)
ERROR: No matching distribution found for tensorflow
WARNING: There was an error checking the latest version of pip.
(tf) root#SCED:~# python --version
Python 3.9.16
(tf) root#SCED:~#
I set up the environment with Python 3.9 as recommended in the above link. I have followed all the NVIDIA driver prerequisites.
I had a look to see if pip was installed,
(tf) root#SCED:~# which pip
/root/miniconda3/envs/tf/bin/pip
It is, so what's the issue here?
EDIT :: There have been some suggestions that this is a Python version issue. I repeat, I am following Tensorflow's official documentation. They seem to be under the impression that Python 3.9 is the one to use - they'd know right? The answers linked to in the comments are badly out of date.
once pip installed, try this line?
python3 -m pip install --default-timeout=10000 tensorflow-macos

Installing pandas on Tails failed

I fail to install pandas on Tails.
I have installed python3 and pip but when I want to install pandas I get the following error:
WARNING: Retrying (Retry(total=4, connect=None, read=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x....>: Failed to establish a new connection: [Errno 101] Network is not available'): /simple/pandas/
...
...
...
ERROR: Could not find a version that satisfies the requirement pandas
ERROR: No matching distribution found for pandas
What could be the problem?

Hyperledger Fabric error: "TLS: bad certificate server" when installing chaincode

I'm just starting learning HLF, and I have an error while following tutorial from the docs: link
I downloaded fabric-samples using this command (replaced bit.ly link with the destination):
curl -sSL https://raw.githubusercontent.com/hyperledger/fabric/master/scripts/bootstrap.sh | bash -s -- 2.2.2 1.4.9
I run logspout in one terminal and try to execute peer lifecycle chaincode install basic.tar.gz in another one, and this is the result i get
Error: failed to retrieve endorser client for install: endorser client
failed to connect to localhost:7051: failed to create new connection:
context deadline exceeded
Log presented by Logspout:
peer0.org1.example.com|2022-03-15 13:03:24.452 UTC [core.comm]
ServerHandshake -> ERRO 04a Server TLS handshake failed in 2.650245ms
with error remote error: tls: bad certificate server=PeerServer
remoteaddress=172.22.0.1:61126
I set the envs in terminal as instructed in the docs, and I checked that CORE_PEER_TLS_ROOTCERT_FILE variable points to an existing file. The content of the file is the same as on the container.
What I tried to do:
download fabric-samples again and redo all the setup with copy-pasting the commands directly from docs
Do you have any suggestions where I can look for an issue?
I resolved the problem, I was using peer version 2.2.1 from previous experiments, it probably collided with FABRIC_CFG_PATH

ambari-agent can not reach ambari-server

When I finished install ambari-server with httpd local repository and Comfire Hosts on webUI, I got some error as follow:
INFO 2018-05-27 15:39:16,776 NetUtil.py:70 - Connecting to https://master:8440/ca
ERROR 2018-05-27 15:39:16,787 NetUtil.py:96 - [Errno 8] _ssl.c:493: EOF occurred in violation of protocol
ERROR 2018-05-27 15:39:16,788 NetUtil.py:97 - SSLError: Failed to connect.Please check openssl library versions.
Refer to: https://bugzilla.redhat.com/show_bug.cgi?id=1022468 for more details.
WARNING 2018-05-27 15:39:16,789 NetUtil.py:124 - Server at https://master:8440 is not reachable, sleeping for 10 seconds...
INFO 2018-05-27 15:39:26,793 NetUtil.py:70 - Connecting to https://master:8440/ca
ERROR 2018-05-27 15:39:26,799 NetUtil.py:96 - [Errno 8] _ssl.c:493: EOF occurred in violation of protocol
ERROR 2018-05-27 15:39:26,799 NetUtil.py:97 - SSLError: Failed to connect. Please check openssl library versions.Refer to: https://bugzilla.redhat.com/show_bug.cgi?id=1022468 for more details.
WARNING 2018-05-27 15:39:26,801 NetUtil.py:124 - Server at https://master:8440 is not reachable, sleeping for 10 seconds...
My environment message as follow:
CentOS Linux release 7.5.1804 (Core)
Python2.7.5
Java1.8.0_171
OpenSSL1.0.2k
Ambari2.6.2.0
HDP-2.6.5.0
On my other amabri-agent nodes, I can reach master on 8440 port as follow:
[root#slave2 ~]# telnet master 8440
Trying 192.168.17.128...
Connected to master.
Escape character is '^]'.
Please give me some help, thanks a lot!
I am also getting the same issue.
This worked for me.
In /etc/ambari-agent/conf/ambari-agent.ini
Add this line below [security]
force_https_protocol=PROTOCOL_TLSv1_2
In /etc/python/cert-verification.cfg
[https]
verify=disable
(change from default to disable)
Please check JAVA_HOME and openSSL version in your setup

HTTP error when installing pytorch

I use ubuntu14.04, without GPU.
when I install pytorch in anaconda(I type command just as pytorch.org says),things always get wrong,like this:
------------------------------------------------------------
Fetching package metadata ...........
Solving package specifications: .
Package plan for installation in environment /home/zhanglu/anaconda3:
The following NEW packages will be INSTALLED:
pytorch: 0.1.9-py36_2 soumith
torchvision: 0.1.7-py36_1 soumith
The following packages will be UPDATED:
conda: 4.3.8-py36_0 --> 4.3.13-py36_0
Proceed ([y]/n)? y
pytorch-0.1.9- 100% |################################| Time: 0:02:49 1.44 MB/s
pytorch-0.1.9- 100% |################################| Time: 0:05:52 692.97 kB/s
pytorch-0.1.9- 100% |################################| Time: 0:01:15 3.23 MB/s
CondaError: CondaHTTPError: HTTP None None for url <None>
Elapsed: None
An HTTP error occurred when trying to retrieve this URL.
ConnectionError(ReadTimeoutError("HTTPSConnectionPool(host='binstar-cio-packages-prod.s3.amazonaws.com', port=443): Read timed out.",),)
CondaError: CondaHTTPError: HTTP None None for url <None>
Elapsed: None
An HTTP error occurred when trying to retrieve this URL.
ConnectionError(ReadTimeoutError("HTTPSConnectionPool(host='binstar-cio-packages-prod.s3.amazonaws.com', port=443): Read timed out.",),)
CondaError: CondaHTTPError: HTTP None None for url <None>
Elapsed: None
An HTTP error occurred when trying to retrieve this URL.
ConnectionError(ReadTimeoutError("HTTPSConnectionPool(host='binstar-cio-packages-prod.s3.amazonaws.com', port=443): Read timed out.",),)
----------------------------------------------------------------
I've tried many times, but every time error occurs in the same step.
I'm looking forward your answers,thanks very very much for your help!!!
Please update to the latest version of Navigator.
Open a terminal (on Linux or Mac) or the Anaconda Command Prompt (on windows)
and type
$ conda update anaconda-navigator