docker-compose gives SSL verification

TLS based docker daemon is running on EC2 host.

docker client works fine with docker daemon, but docker-compose gives below error:

$   export DOCKER_HOST=tcp://172.31.3.2:2376 DOCKER_TLS_VERIFY=1 ubuntu@ip-172-31-3-2:~$   docker --tls image ls REPOSITORY          TAG                 IMAGE ID            CREATED             SIZE hello-world         latest              fce289e99eb9        8 months ago        1.84kB  ubuntu@ip-172-31-3-2:~$   docker image ls REPOSITORY          TAG                 IMAGE ID            CREATED             SIZE hello-world         latest              fce289e99eb9        8 months ago        1.84kB  ubuntu@ip-172-31-3-2:~$   docker-compose -f jenkinsDocker/docker-compose.yml  -p jenkins build Building slavedotnet ERROR: SSL error: HTTPSConnectionPool(host='172.31.3.2', port=2376): Max retries exceeded with url: /v1.21/build?q=False&pull=False&t=jenkins_slavedotnet&nocache=False&forcerm=False&rm=True (Caused by SSLError(SSLError(1, u'[SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:727)'),)) ubuntu@ip-172-31-3-2:~$    

Below is the configuration file used before creating server certs.

{    "CN":"ec2-35-18x-xxx-xxx.ca-central-1.compute.amazonaws.com",    "hosts": [          "ec2-35-1xx-xxx-xxx.ca-central-1.compute.amazonaws.com",          "ip-172-31-3-2.ca-central-1.compute.internal",          "35.18x.xxx.xxx",          "172.31.3.2"    ],    "Key": {         "algo": "rsa",         "size": 4096    },    "names":  [        {             "C":  "Canada",             "ST": "Saskatchewan",             "L": "Regina",             "O": "100000 Canada Inc.",             "OU": "Engineering"        }    ] } 

here is yml file for docker-compose tool.


Why docker-compose does not connect to docker daemon? using TLS…

Does Nextcloud installation gives passwordless access to all files by default?

I used this guide to install Nextcloud instance on a Raspberry Pi. The installation went smoothly and in the end I could open the Nextcloud login page which, once presented with the right password, gives access to various resources which I assumed were therefore password-protected. That is, until I tried to log out and type https://server/nextcloud/data/user/files/, which, to my surprise, showed a directory listing of Nextcloud files belonging to user, without requiring a password at all!

Is Nextcloud really missing any data protection whatsoever in its right-out-of-the-box state, or did I miss something obvious?

Accessing sharepoint list using REST api with angular gives 403 error

I am trying to make a call to sharepoint list using REST APIs. I am logged in to sharepoint and when in browser tab, I enter the rest url like:

https://myserver.sharepoint.com/sites/mylist/_api/lists/getbytitle(‘OEC_Docs’)/items

It returns me the data in the browser as expected. However using the code given below in my angular 4 app throws 403 error:

getDocs(){       const httpOptions = {       headers: new HttpHeaders({           'Accept':  'application/json;odata=verbose',           'Content-Type': 'application/json'       })   };    return this.http.get(this.sharePointRestHost, httpOptions) } 

As the app is running on localhost in the same browser. So I am expecting it to work.

Please advise how to fix it.

SharePoint Custom List gives access denied for Read Permissions Users

There seem to be similar questions to this but none of those solutions worked.

I have a SharePoint list that inherits permissions from its parent. I have a test user who is part of the visitors group, having read access permissions.

The test user can access everything else on the SharePoint site. But the test user cannot view the list, any of its views, or any of its items.

Access Denied. test.user@xxxxxxxx.onmicrosoft.com does not have permissions to access this resource.

If I change the user’s permissions on the site to contribute then everything works properly, but I don’t want them to have read-write access.

The master page being used by the site Seattle, and it is not checked out. I tried creating a standard view that contained only one field, the name (without edit link) and turned off individual item check-boxes. Still access denied.

The list has some calculated columns – not sure if that could be the cause.

I created a new list on the site with no fancy settings and it has the same problems.

Network printer HP gives error filter failed

I am trying to use the university printer (it is an HP-Laser Jet-600-M602) to print my document. It worked well until yesterday, now it says “Filter Failed”.

I tried to follow what is reccommended on this site, but I cannot access localhost:631: it requires credentials that apparently I do not have.

I have never installed HP proprietary drivers: Ubuntu did all by itself when I asked to search for network printers.

I am using Ubuntu 16.04.