hello alain!
today ive been playing with the network, ping works, ssh works.
ufw is configured correctly
" *****@imeprov01pacs:~$ ping -c30 192.168.20.119
PING 192.168.20.119 (192.168.20.119) 56(84) bytes of data.
64 bytes from 192.168.20.119: icmp_seq=1 ttl=64 time=0.920 ms
…
64 bytes from 192.168.20.119: icmp_seq=30 ttl=64 time=0.727 ms
— 192.168.20.119 ping statistics —
30 packets transmitted, 30 received, 0% packet loss, time 29651ms
rtt min/avg/max/mdev = 0.457/0.641/0.920/0.097 ms"
sudo ufw status verbose
Status: active
Logging: on (low)
Default: deny (incoming), allow (outgoing), disabled (routed)
New profiles: skip
To Action From
22/tcp (OpenSSH) ALLOW IN Anywhere
80/tcp (Apache) ALLOW IN Anywhere
443/tcp ALLOW IN Anywhere
4242 ALLOW IN Anywhere
8042 ALLOW IN Anywhere
curl results:
- from source to target system
"*****@imeprov01pacs:~$ curl --verbose -u : http://192.168.20.119:8042/system
- Trying 192.168.20.119:8042…
- TCP_NODELAY set
- Connected to 192.168.20.119 (192.168.20.119) port 8042 (#0)
- Server auth using Basic with user ‘falr’
GET /system HTTP/1.1
Host: 192.168.20.119:8042
Authorization: Basic
User-Agent: curl/7.68.0
Accept: /
- Mark bundle as not supporting multiuse
< HTTP/1.1 200 OK
< Connection: keep-alive
< Keep-Alive: timeout=1
< Content-Type: application/json; charset=utf-8
< Content-Length: 395
<
{
“ApiVersion” : 16,
“CheckRevisions” : false,
“DatabaseBackendPlugin” : “/usr/share/orthanc/plugins/libOrthancPostgreSQLIndex.so”,
“DatabaseVersion” : 6,
“DicomAet” : “IMEPROSPS”,
“DicomPort” : 4242,
“HttpPort” : 8042,
“IsHttpServerSecure” : true,
“Name” : “Imepro San Pedro Sula”,
“PluginsEnabled” : true,
“StorageAreaPlugin” : null,
“Version” : “1.10.1”
}
- Connection #0 to host 192.168.20.119 left intact
- to localhost
*****@imeprov01pacs:~$ curl --verbose -u : http://localhost:8042/system
- Trying 127.0.0.1:8042…
- TCP_NODELAY set
- Connected to localhost (127.0.0.1) port 8042 (#0)
- Server auth using Basic with user ‘falr’
GET /system HTTP/1.1
Host: localhost:8042
Authorization: Basic
User-Agent: curl/7.68.0
Accept: /
- Mark bundle as not supporting multiuse
< HTTP/1.1 200 OK
< Connection: keep-alive
< Content-Type: application/json; charset=utf-8
< Content-Length: 427
<
{
“ApiVersion” : 4,
“DatabaseBackendPlugin” : “/usr/lib/orthanc/libOrthancPostgreSQLIndex.so.3.2-1ubuntu4”,
“DatabaseVersion” : 6,
“DicomAet” : “IMEPROVILLANUEVA”,
“DicomPort” : 4242,
“HttpPort” : 8042,
“IsHttpServerSecure” : true,
“Name” : “ImeproVillanueva”,
“PluginsEnabled” : true,
“StorageAreaPlugin” : “/usr/lib/orthanc/libOrthancPostgreSQLStorage.so.3.2-1ubuntu4”,
“Version” : “1.5.8”
}
- Connection #0 to host localhost left intact
and still this is the result i get:
*****@imeprov01pacs:/usr/share/doc/orthanc/Samples/Python$ python3 Replicate.py http://*****:*****@localhost:8042/ http://192.168.20.119:8042/
Sending study 3ab67604-18c3d3cc-880f80fc-1d445b9b-8e9a1dab…
Traceback (most recent call last):
File “Replicate.py”, line 117, in
DoPostDicom(‘%s/instances’ % TARGET, dicom)
File “Replicate.py”, line 96, in DoPostDicom
raise Exception('Unable to contact Orthanc at: ’ + url)
Exception: Unable to contact Orthanc at: http://192.168.20.119:8042//instances
i know the new server is working correctly because ive been able to upload files manually to the webviewer, and directly from the dicom equipment so i have the last day or 2 of studies inside to test, the old system was using postgresql for storage the new one is using the filesystem(already checked for permissions errors in the orthanc logs, nope).
im gona keep trying and if i resolve this ill update.
in the meantime any suggestions are welcome