Message449

Author admin
Recipients
Date 2021-05-06.13:42:13
Content
[Bugzilla user: narsimha.kuna@circlecvi.com]
[Bugzilla date: 2021-05-06T11:42:13+00:00]

1. Un installed Orthanc 1.7.1
2. Removed C:\Program Files\Orthanc Server folder
3. Removed C:\Orthanc folder
4. Re-started the system
5. Installed 1.9.2
6. Re-started the system
7. C:\Users\kunan>curl http://localhost:8042/modalities?expand
{}
8. C:\Users\kunan>curl -v -X PUT http://localhost:8042/modalities/sample -d '{"AET" : "ORTHANCC", "Host": "127.0.0.1", "Port": 2002}'
*   Trying ::1...
* TCP_NODELAY set
*   Trying 127.0.0.1...
* TCP_NODELAY set
* Connected to localhost (127.0.0.1) port 8042 (#0)
> PUT /modalities/sample HTTP/1.1
> Host: localhost:8042
> User-Agent: curl/7.55.1
> Accept: */*
> Content-Length: 5
> Content-Type: application/x-www-form-urlencoded
>
* upload completely sent off: 5 out of 5 bytes
< HTTP/1.1 400 Bad Request
< Connection: keep-alive
< Keep-Alive: timeout=1
< Content-Length: 196
<
{
        "HttpError" : "Bad Request",
        "HttpStatus" : 400,
        "Message" : "Bad file format",
        "Method" : "PUT",
        "OrthancError" : "Bad file format",
        "OrthancStatus" : 15,
        "Uri" : "/modalities/sample"
}
* Connection #0 to host localhost left intact
* Bad URL, colon is first character
* Closing connection -1
curl: (3) Bad URL, colon is first character
* Rebuilt URL to: ORTHANCC,/
* Could not resolve host: ORTHANCC,
* Closing connection 1
curl: (6) Could not resolve host: ORTHANCC,
* Rebuilt URL to: Host:/
* Could not resolve host: Host
* Closing connection 2
curl: (6) Could not resolve host: Host
* Rebuilt URL to: 127.0.0.1,/
* Connection 0 seems to be dead!
* Closing connection 0
* Could not resolve host: 127.0.0.1,
* Closing connection 3
curl: (6) Could not resolve host: 127.0.0.1,
* Rebuilt URL to: Port:/
* Could not resolve host: Port
* Closing connection 4
curl: (6) Could not resolve host: Port
curl: (3) [globbing] unmatched close brace/bracket in column 5

9. not able to add new modality using REST API
History
Date User Action Args
2026-07-29 15:51:22adminlinkissue97 messages
2026-07-29 15:51:22admincreate