Skip to content

Instantly share code, notes, and snippets.

@gregjan
Created May 20, 2019 17:42
Show Gist options
  • Save gregjan/466e3af6bc30effa34d7d60ba1e5d5b7 to your computer and use it in GitHub Desktop.
Save gregjan/466e3af6bc30effa34d7d60ba1e5d5b7 to your computer and use it in GitHub Desktop.
ciber-vs1:testbed$ curl -v -u admin:admin http://ciber-vs1.umd.edu:10080
* About to connect() to ciber-vs1.umd.edu port 10080 (#0)
* Trying 128.8.216.153...
* Connected to ciber-vs1.umd.edu (128.8.216.153) port 10080 (#0)
* Server auth using Basic with user 'admin'
> GET / HTTP/1.1
> Authorization: Basic YWRtaW46YWRtaW4=
> User-Agent: curl/7.29.0
> Host: ciber-vs1.umd.edu:10080
> Accept: */*
>
< HTTP/1.1 401 Unauthorized
< Connection: keep-alive
* Authentication problem. Ignoring this.
< WWW-Authenticate: Basic realm="trellis"
< Content-Length: 0
< Date: Mon, 20 May 2019 17:34:58 GMT
<
* Connection #0 to host ciber-vs1.umd.edu left intact
ciber-vs1:testbed$ docker service logs --since 1m teststack_trellis-cassandra
teststack_trellis-cassandra.1.y6jjng6de9ac@ciber-vs4.umd.edu | 2019-05-20 17:34:57,542 ERROR [org.jboss.resteasy.resteasy_jaxrs.i18n] (default task-1) RESTEASY002010: Failed to execute: javax.ws.rs.NotAuthorizedException: HTTP 401 Unauthorized
teststack_trellis-cassandra.1.y6jjng6de9ac@ciber-vs4.umd.edu | at org.trellisldp.auth.basic.BasicAuthFilter.lambda$null$0(BasicAuthFilter.java:93)
teststack_trellis-cassandra.1.y6jjng6de9ac@ciber-vs4.umd.edu | at java.util.Optional.orElseThrow(Optional.java:290)
ciber-vs1:testbed$ cat /export/testdata/ldp/users.auth
# A comment
admin : admin : https://admin.example.com/profile/#me
pat : password : https://pat.example.com/profile/#me
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment