Page MenuHomePhabricator
Paste P65519

(An Untitled Masterwork)
ActivePublic

Authored by klausman on Thu, Jun 27, 9:15 AM.
Tags
None
Referenced Files
F55913094: raw-paste-data.txt
Thu, Jun 27, 9:17 AM
F55913089: raw-paste-data.txt
Thu, Jun 27, 9:15 AM
Subscribers
None
$ curl -H 'Host: revertrisk-language-agnostic.revertrisk.wikimedia.org' https://inference-staging.svc.codfw.wmnet:30443/v1/models/revertrisk-language-agnostic:predict -X POST -d '{ "rev_id": 1083325118, "lang": "en" }' --http1.1; echo
{"model_name":"revertrisk-language-agnostic","model_version":"3","wiki_db":"enwiki","revision_id":1083325118,"output":{"prediction":false,"probabilities":{"true":0.20099595189094543,"false":0.7990040481090546}}}
$ curl -H 'Host: revertrisk-language-agnostic.revertrisk.wikimedia.org' https://inference-staging.svc.codfw.wmnet:30443/v1/models/revertrisk-language-agnostic:predict -X POST -d '{ "rev_id": 1083325118, "lang": "enwiki" }' --http1.1; echo
{"error":"An error happened while fetching info for revision from the MediaWiki API, please contact the ML-Team if the issue persists."}
$ curl -vH 'Host: revertrisk-language-agnostic.revertrisk.wikimedia.org' https://inference-staging.svc.codfw.wmnet:30443/v1/models/revertrisk-language-agnostic:predict -X POST -d '{ "rev_id": 1083325118, "lang": "enwiki" }' --http1.1; echo
* Trying 10.2.1.58...
* TCP_NODELAY set
* Connected to inference-staging.svc.codfw.wmnet (10.2.1.58) port 30443 (#0)
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: none
CApath: /etc/ssl/certs
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* TLSv1.3 (IN), TLS handshake, Server hello (2):
* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
* TLSv1.3 (IN), TLS handshake, Certificate (11):
* TLSv1.3 (IN), TLS handshake, CERT verify (15):
* TLSv1.3 (IN), TLS handshake, Finished (20):
* TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
* TLSv1.3 (OUT), TLS handshake, Finished (20):
* SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384
* ALPN, server accepted to use http/1.1
* Server certificate:
* subject: CN=inference-staging.k8s-ml-staging.discovery.wmnet
* start date: Jun 26 23:36:00 2024 GMT
* expire date: Jun 27 23:36:00 2024 GMT
* subjectAltName: host "inference-staging.svc.codfw.wmnet" matched cert's "inference-staging.svc.codfw.wmnet"
* issuer: C=US; L=San Francisco; O=Wikimedia Foundation, Inc; OU=SRE Foundations; CN=discovery
* SSL certificate verify ok.
> POST /v1/models/revertrisk-language-agnostic:predict HTTP/1.1
> Host: revertrisk-language-agnostic.revertrisk.wikimedia.org
> User-Agent: curl/7.64.0
> Accept: */*
> Content-Length: 42
> Content-Type: application/x-www-form-urlencoded
>
* upload completely sent off: 42 out of 42 bytes
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* old SSL session ID is stale, removing
< HTTP/1.1 500 Internal Server Error
< content-length: 136
< content-type: application/json
< date: Thu, 27 Jun 2024 09:14:50 GMT
< server: istio-envoy
< x-envoy-upstream-service-time: 24
<
* Connection #0 to host inference-staging.svc.codfw.wmnet left intact
{"error":"An error happened while fetching info for revision from the MediaWiki API, please contact the ML-Team if the issue persists."}

Event Timeline

klausman edited the content of this paste. (Show Details)