Help a video tutorial of installing Google Cloud Platform plugin of Orthanc.

201 views
Skip to first unread message

Thien Le

unread,
Jan 14, 2020, 1:08:51 AM1/14/20
to Orthanc Users
Dear everyone,

I am a newbie of Orthanc. I knew that Orthanc provided a Google Cloud Platfrom plugin that can remotely upload and download DICOM images from a local Orthanc Server.

I already read the guideline:
but still not successful deploying Google Cloud Platfrom plugin on my PC. My PC's OS is window 7  installed Orthanc Server.

Could you please help me by providing a video tutorial, or a step-by-step about this issue.

Thanks in advance.

Thien Le 

Alain Mazy

unread,
Jan 14, 2020, 12:17:09 PM1/14/20
to Thien Le, Orthanc Users
Hi,

If you're running the latest Orthanc version, the google plugin will be enabled by default.
All you should have to do is create a new configuration file "google.json" in C:\Program Files\Orthanc Server\Configuration with a content like this one:

{
  "GoogleCloudPlatform" : {
    "Accounts": {
      "my-google" : {
        "Project" : "osimis-test",
        "Location" : "europe-west2",
        "Dataset" : "test",
        "DicomStore" : "dicom",
        "ServiceAccountFile" : "dicom-osimis.json"
      }
    }
  }
}
To fill the correct field in the json file, I encourage you to read this part of the Orthanc book: https://book.orthanc-server.com/plugins/google-cloud-platform.html?highlight=google#id6

HTH

Alain.



--
You received this message because you are subscribed to the Google Groups "Orthanc Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to orthanc-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/orthanc-users/2b0a8a87-3ed6-4cdd-99ef-3aba58bfee85%40googlegroups.com.


--

Alain Mazy / Software Developer
a...@osimis.io / +32 494 31 67 27

Osimis

OSIMIS S.A. 
Quai Banning 6BE-4000 Liège 
www.osimis.io

Twitter LinkedIn


Thien Le

unread,
Jan 16, 2020, 8:12:16 PM1/16/20
to Alain Mazy, Orthanc Users
Dear Alain,

Thank you for your helping. I already created "google.json" file as your suggestion and placed it in the configuration folder of Orthanc. Now when I open the Orthanc web client, the name "my-google" appears in the list of DICOMweb server, but I cannot connect to my google cloud health, the issue is " error connecting to ''my-google" server"
Here is my google.json"
------------------------
{
  "GoogleCloudPlatform" : {
    "Accounts": {
      "my-google" : {
        "Project" : "ChulaMedicalImages",
        "Location" : "asia-northeast1",
        "Dataset" : "ChulahospitalDICOM",
        "DicomStore" : "DICOMimage",
        "ServiceAccountFile" : "ChulaMedicalImages.json"
      }
    }
  }
}
---------------------------------
I guess maybe something not correct with the CA certificates file. This file I downloaded from https://curl.haxx.se/docs/caextract.html.

Thank in advance,
Thien Le


Vào Th 4, 15 thg 1, 2020 vào lúc 00:17 Alain Mazy <a...@osimis.io> đã viết:


--
Ngoc Thien Le, 
 
Ph.D. (Chulalongkorn)

Telecommunication System Research Laboratory,
Department of Electrical Engineering, Faculty of Engineering, Chulalongkorn University

BANGKOK 10330, THAILAND.
issue.png

Alain Mazy

unread,
Jan 21, 2020, 12:14:33 PM1/21/20
to Thien Le, Orthanc Users
Hi,

I just tried from a clean system and all I had to do beside configuring the google cloud plugin was configure "HttpsCACertificates" : "C:\\Program Files\\Orthanc Server\\Configuration\\cacert.pem" where cacert.pem was downloaded from https://curl.haxx.se/docs/caextract.html

At this point, it would be nice to collect some logs:

Note that to debug HTTPS communications, you have the possibility of setting the HttpVerbose configuration option of Orthanc to true. You should also run Orthanc in --verbose mode (check out this page). 


Thien Le

unread,
Jan 21, 2020, 8:02:58 PM1/21/20
to Alain Mazy, Orthanc Users
Dear Alain,

Thanks you for your help.
I successfully installed the Google cloud plugin on my windows laptop.
Message has been deleted

Neha Wankar

unread,
Feb 10, 2020, 2:51:19 AM2/10/20
to Orthanc Users
Dear All,

I am also trying to deploy Google Cloud Platform plugin, I have followed all steps given in the same conversation.But i am unable to find out GCP at Orthanc server. I have attached screenshot as well.

Your guidance will greatly appreciated.

Thanks in advance!
dicomWebServer.PNG

Thien Le

unread,
Feb 10, 2020, 3:02:16 AM2/10/20
to Neha Wankar, Orthanc Users
Dear Neha Wankar,

Perhaps you forgot to implement the Dicomweb plugin. Google Cloud Platform requires Dicomweb plugin to run.
Remind that: Google Cloud Platform requires OrthanC version larger than 1.5.4 and Dicomweb version at least 1.0.

If still not working, you can attach pics and your configurations .json files of Google Cloud Platform and Dicomweb in order to solve the problem.
In my case, I can use Google Cloud Platform plugin in my Window PC.

Best regards,
Thien Le

Vào Th 2, 10 thg 2, 2020 vào lúc 14:51 Neha Wankar <nehawa...@gmail.com> đã viết:
--
You received this message because you are subscribed to the Google Groups "Orthanc Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to orthanc-user...@googlegroups.com.

Neha Wankar

unread,
Feb 10, 2020, 5:01:59 AM2/10/20
to Orthanc Users
Dear Thien Le,

Thank you so much for quick reply.

I am also working on Window PC having OrthanC version "1.5.8" and Dicomweb version "1.0".
I have attached configurations .json files of Google Cloud Platform and Dicomweb also log file where is saying "Cannot generate Google Cloud Platform token for account: my-google".

Please guide me if I missed anything.

Thanks,
Neha


On Monday, February 10, 2020 at 1:32:16 PM UTC+5:30, Thien Le wrote:
Dear Neha Wankar,

Perhaps you forgot to implement the Dicomweb plugin. Google Cloud Platform requires Dicomweb plugin to run.
Remind that: Google Cloud Platform requires OrthanC version larger than 1.5.4 and Dicomweb version at least 1.0.

If still not working, you can attach pics and your configurations .json files of Google Cloud Platform and Dicomweb in order to solve the problem.
In my case, I can use Google Cloud Platform plugin in my Window PC.

Best regards,
Thien Le

Vào Th 2, 10 thg 2, 2020 vào lúc 14:51 Neha Wankar <nehawa...@gmail.com> đã viết:
Dear All,

I am also trying to deploy Google Cloud Platform plugin, I have followed all steps given in the same conversation.But i am unable to find out GCP at Orthanc server. I have attached screenshot as well.

Your guidance will greatly appreciated.

Thanks in advance!

On Tuesday, January 14, 2020 at 11:38:51 AM UTC+5:30, Thien Le wrote:
Dear everyone,

I am a newbie of Orthanc. I knew that Orthanc provided a Google Cloud Platfrom plugin that can remotely upload and download DICOM images from a local Orthanc Server.

I already read the guideline:
but still not successful deploying Google Cloud Platfrom plugin on my PC. My PC's OS is window 7  installed Orthanc Server.

Could you please help me by providing a video tutorial, or a step-by-step about this issue.

Thanks in advance.

Thien Le 

--
You received this message because you are subscribed to the Google Groups "Orthanc Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to orthan...@googlegroups.com.
dicomweb.json
google.json
orthanc.json
Orthanc.log.20200210-161424.16332.txt

Thien Le

unread,
Feb 10, 2020, 7:22:11 AM2/10/20
to Neha Wankar, Orthanc Users
Dear Neha Wankar,

Your dicomweb.json is okay. However, in the orthanc.json, you should change "RemoteAccessAllowed": false -> true.
The location of the file "service_key.json" in "ServiceAccountFile": "./service_key.json" maybe wrong with "./".
For my case, I placed the "service_key.json" in the configuration folder and wrote   "ServiceAccountFile" : "service_key.json".

Hope this helps you.

Best regards,
Thien Le

Vào Th 2, 10 thg 2, 2020 vào lúc 17:02 Neha Wankar <nehawa...@gmail.com> đã viết:
To unsubscribe from this group and stop receiving emails from it, send an email to orthanc-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/orthanc-users/2420be16-1165-4208-9f4b-96d00d4f936e%40googlegroups.com.

Neha Wankar

unread,
Feb 10, 2020, 8:19:45 AM2/10/20
to Orthanc Users
Hey Thien Le,

Thank you for your valuable time. 
I have made changes according to your suggestions, now when I restart Orthanc server, it asks for Username and Password. Where this details are saved?


Thanks,
Neha
userNamePassword.PNG

Thien Le

unread,
Feb 10, 2020, 8:25:27 AM2/10/20
to Neha Wankar, Orthanc Users
Hi, Neha Wankar,

You can try this in the orthanc.json:
 "RegisteredUsers" : {
    // "alice" : "alicePassword"
  },

User: alice
Password: alicePassword
Of course you can change both.

Best regards,
Thien Le

Vào Th 2, 10 thg 2, 2020 vào lúc 20:19 Neha Wankar <nehawa...@gmail.com> đã viết:
To unsubscribe from this group and stop receiving emails from it, send an email to orthanc-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/orthanc-users/4c53ef6a-fa58-4bf1-98ce-c688ab645887%40googlegroups.com.

Neha Wankar

unread,
Feb 10, 2020, 8:34:08 AM2/10/20
to Orthanc Users
Hi 

Yes I have registered user from orthanc.json, now able to login but still facing same "No DICOMweb server is configured!"

Is there anything again that I missed?

Thanks,
Neha

Thien Le

unread,
Feb 10, 2020, 8:42:15 AM2/10/20
to Neha Wankar, Orthanc Users
Well, I think because of this. You have to delete:  ""RemoteAccessAllowed" : true," in your Dicomweb json file.

I hope this helps you can run.

Best regards,
Thien Le

issue.png


Vào Th 2, 10 thg 2, 2020 vào lúc 20:34 Neha Wankar <nehawa...@gmail.com> đã viết:
To unsubscribe from this group and stop receiving emails from it, send an email to orthanc-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/orthanc-users/00266705-0aeb-4cd0-8145-5309f6f7f1fc%40googlegroups.com.

Neha Wankar

unread,
Feb 10, 2020, 9:03:25 AM2/10/20
to Orthanc Users
Hi,

Deleted "RemoteAccessAllowed" : true," from Dicomweb json file. Still there is "No DICOMweb server is configured!"  :(

One more thing, in log file, there is error, "W0210 19:28:44.253430 PluginsManager.cpp:168] Cannot generate Google Cloud Platform token for account: my-google
Is it Google Cloud Platform configuration error but before that DICOMweb server should configured.

Thanks,
Neha

Thien Le

unread,
Feb 10, 2020, 9:12:49 AM2/10/20
to Neha Wankar, Orthanc Users
Yes, I think you are right. Did you see the plugin Dicomweb like mine? If not, you have to make the Dicomweb plugin enable first.

Best regards,
Thien Le
issue1.png
issue2.png

To unsubscribe from this group and stop receiving emails from it, send an email to orthanc-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/orthanc-users/4fad90b2-1e28-4b64-8072-2a2f3473739c%40googlegroups.com.

Neha Wankar

unread,
Feb 10, 2020, 9:26:08 AM2/10/20
to Orthanc Users
Yes, I can see DicomWeb pluggin.
If I click on plugins the I get list of all plugins and if click on "Open DicomWeb Client" then it redirect me to DicomWeb Client screen.
Attached are the screenshots.

Thanks,
Neha
dicomWebClient.PNG
orthancServer.PNG
plugins.PNG

Thien Le

unread,
Feb 10, 2020, 9:38:46 AM2/10/20
to Neha Wankar, Orthanc Users
Well, up to now I think you configured correctly. But I don't know why too.

Do you restart your orthanc every time when you change the .json files?
Are you sure that you configured correctly the Google Heath API with your service account?

Sorry that I still cannot find the issue.

Best regards,
Thien Le

Vào Th 2, 10 thg 2, 2020 vào lúc 21:26 Neha Wankar <nehawa...@gmail.com> đã viết:
To unsubscribe from this group and stop receiving emails from it, send an email to orthanc-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/orthanc-users/fad82238-da02-4975-8886-ec78e117336e%40googlegroups.com.

Thien Le

unread,
Feb 10, 2020, 9:49:16 AM2/10/20
to Neha Wankar, Orthanc Users
Hi Neha Wankar,

Ah, I remember that last time I got the same issue as you. "No Dicomweb server is configured".
I turn off my PC and forgot about Orthanc. After about some days, I revisited Orthanc and this time it ran Google Cloud Platform plugin.
I don't know why 😅 

Vào Th 2, 10 thg 2, 2020 vào lúc 21:38 Thien Le <wavel...@gmail.com> đã viết:

Neha Wankar

unread,
Feb 10, 2020, 10:09:53 AM2/10/20
to Orthanc Users
Yes, I have followed all steps which you have suggested. But still getting same error. So I am also unable to figure out.
Yah, I am restarting orthanc server everytime after any change and according to me I have included correct service account details as well.
Let me try again with new service account details.
Will let you know.

Thank you so much helping me to figure out the things.

Regards,
Neha
Message has been deleted

Alain Mazy

unread,
Feb 11, 2020, 2:54:10 AM2/11/20
to Neha Wankar, Orthanc Users

On Tue, Feb 11, 2020 at 7:46 AM Neha Wankar <nehawa...@gmail.com> wrote:
Hello,

I am also trying to deploy Google Cloud Platform plugin, I have followed all instructions from this conversation. but I am unable to access Google Cloud Platform plugin.
There is no option in drop-down for "my-google" in DICOMWeb server. Please refer Attached screenshot
Is there any other setting or configuration need to do?

Your help will be greatly appreciated.
Thank you!
To unsubscribe from this group and stop receiving emails from it, send an email to orthan...@googlegroups.com.

Neha Wankar

unread,
Feb 11, 2020, 2:54:54 AM2/11/20
to Orthanc Users
Dear Thien Le,

You might have added servers in dicomweb.json file. This is describe in attached screenshot.
Could you please share with me how you have added Google Cloud Platform in dicomweb.json.

For now I have added -

"DicomWeb" : {
"Enable" : true,         // Whether DICOMweb support is enabled
"Root" : "/dicom-web/",  // Root URI of the DICOMweb API (for QIDO-RS, STOW-RS and WADO-RS)
"EnableWado" : true,     // Whether WADO-URI (aka. WADO) support is enabled
"WadoRoot" : "/wado",    // Root URI of the WADO-URI (aka. WADO) API
"Host" : "localhost",    // Hard-codes the name of the host for subsequent WADO-RS requests
"Ssl" : false,          // Whether HTTPS should be used for subsequent WADO-RS requests
"Servers" : {
"my-google" : [ "http://192.168.1.1/dicom-web/" ]
}
    }

and "my-google" appears in the list of DICOMweb server, but I cannot connect to my google cloud health, the issue is " error connecting to ''my-google" server"

Could you please help me for the same.

Thanks,
Neha


--
Ngoc Thien Le, 
 
Ph.D. (Chulalongkorn)

Telecommunication System Research Laboratory,
Department of Electrical Engineering, Faculty of Engineering, Chulalongkorn University

BANGKOK 10330, THAILAND.
connection.PNG
myGoogle.PNG
server.PNG

Neha Wankar

unread,
Feb 11, 2020, 8:43:09 AM2/11/20
to Orthanc Users
Hi Alain,

I have set configuration file as per step 2. but I add following parameter my server stops working.

"HttpsCACertificates": "/etc/ssl/certs/ca-certificates.crt",

Can you please share exact configuration file? It will great help for me. 

For now I have added 

"Servers" : {
"my-google" : [ "http://192.168.1.1/dicom-web/" ]
}

in dicomweb.json file so able to see my-google in drop down list of DICOMweb server but on click of my-google there is error " error connecting to ''my-google" server"

Please correct me if I am doing wrong.

Thanks,
Neha


Alain Mazy

unread,
Feb 11, 2020, 10:06:41 AM2/11/20
to Neha Wankar, Orthanc Users
This path is applicable for Linux systems.  I think I've read you were on Windows.

Check the 4th message from this thread:
"all I had to do beside configuring the google cloud plugin was configure "HttpsCACertificates" : "C:\\Program Files\\Orthanc Server\\Configuration\\cacert.pem" where cacert.pem was downloaded from https://curl.haxx.se/docs/caextract.html  "

HTH


To unsubscribe from this group and stop receiving emails from it, send an email to orthanc-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/orthanc-users/a6085393-313b-4dd7-bcee-a8cedf9ee958%40googlegroups.com.
Message has been deleted

Neha Wankar

unread,
Feb 12, 2020, 4:00:11 AM2/12/20
to Orthanc Users
Dear Alain,

I have downloaded cacert.pem file from "https://curl.haxx.se/docs/caextract.html" and change configuration file according to that.

{
"HttpsCACertificates" : "C:\Program Files\Orthanc Server\Configuration\cacert.pem",
"GoogleCloudPlatform" : {
    "Accounts": {
      "my-google" : {
        "Project" : "project-name",
        "Location" : "us-central1",
        "Dataset" : "dataset-123",
        "DicomStore" : "dicom-store-123",
        "AuthorizedUserClientId": "33755940773.apps.googleusercontent.com",
"AuthorizedUserClientSecret": "NmssLNjhf989hD4CTg2yfe",
"AuthorizedUserRefreshToken": "us29.a0Adw1xeWFgsnfjYe-8CZzCUuz8sccxV8QNfC0PHxvB85SugwCicbE3oicr-z6gC7TG_f9e8_tjiZ9INx55akjtevagfbadnlYimxKK1eP9ro7oKvGXTrRzoaR1R3r1JghhTebu8l45Rnm9EuuTdnMRZoZEnU-YiR4TUw0gKo2F8clgw4"
      }
    }
  }
}

After adding these details, I am unable to run server. Screenshot is attached.
Is there anything that I missed.

Thanks,
Neha
server_Error.PNG

Neha Wankar

unread,
Feb 12, 2020, 4:22:41 AM2/12/20
to Orthanc Users
On Wednesday, February 12, 2020 at 2:30:11 PM UTC+5:30, Neha Wankar wrote:
Dear Alain,

Yes I am using Windows 10 system and I have downloaded cacert.pem file from "https://curl.haxx.se/docs/caextract.html" and change configuration file according to that.
Hi Alain,

Osimis

<a href="http://www.osimis.io/" style="color:rgb(71,124,204);text-decoration:none;display:inline" rel="nofollow" target="_blank" onmousedown="this.href='http://www.google.com/url?q\x3dhttp%3A%2F%2Fwww.osimis.io%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNF0dW0F4laNe-TPTb7T3wjSDz28tg';return true;" onclick="this.href='http://www.google.com/url?q\x3dhttp%3A%2F%2Fwww.osimis

Alain Mazy

unread,
Feb 12, 2020, 7:38:19 AM2/12/20
to Neha Wankar, Orthanc Users
Hi Neha,

You might need to double every backslash: "HttpsCACertificates": "C:\\Program Files\\Orthanc Server\\Configuration\\cacert.pem".

Note that you've shared your google credentials online and therefore, you should regenerate new ones if you don't want to compromise the data that you'll push there ...

Best regards,

Alain.



To unsubscribe from this group and stop receiving emails from it, send an email to orthanc-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/orthanc-users/7338c306-8e9d-463a-87ac-4369748e14e6%40googlegroups.com.

Neha Wankar

unread,
Feb 12, 2020, 11:55:46 AM2/12/20
to Orthanc Users
Hi Alain,

I have tried with backslash also. If I add anything regarding "HttpsCACertificates" Orthanc server stops working. Configuration file is not accepting HttpsCACertificates parameter. I'm really not getting even though I have followed all steps, I am unable to configure Google Cloud Platform.

And about google credentials that are not actual, Its just a dummy data I have shared.


Thanks,
Neha


--

Alain Mazy / Software Developer
a...@osimis.io / +32 494 31 67 27

Osimis

OSIMIS S.A. 
Quai Banning 6BE-4000 Liège 
www.osimis.io

Twitter LinkedIn


<p style="font-family:

Sébastien Jodogne

unread,
Feb 13, 2020, 3:07:29 AM2/13/20
to Orthanc Users
Hello,

If you expect useful feedback, as explained in the Orthanc Book, please provide logs in "--verbose" mode:

In either case, I have tested your configuration file on a Linux box, and it works just fine. This is clearly a Windows-related issue.

HTH,
Sébastien-


On Wednesday, February 12, 2020 at 5:55:46 PM UTC+1, Neha Wankar wrote:
Hi Alain,

Neha Wankar

unread,
Feb 13, 2020, 5:43:09 AM2/13/20
to Orthanc Users
Hey Sébastien,

Thanks for replying.

If I add  "HttpsCACertificates": "C:\\Program Files\\Orthanc Server\\Configuration\\cacert.pem" , I am getting following error in log file.

W0213 15:49:23.310388 main.cpp:1524] Orthanc version: 1.5.8
W0213 15:49:23.315409 OrthancConfiguration.cpp:113] Scanning folder "Configuration" for configuration files
W0213 15:49:23.316410 OrthancConfiguration.cpp:61] Reading the configuration from: "Configuration\dicomweb.json"
W0213 15:49:23.318409 OrthancConfiguration.cpp:61] Reading the configuration from: "Configuration\google.json"
W0213 15:49:23.319408 OrthancConfiguration.cpp:61] Reading the configuration from: "Configuration\mysql.json"
W0213 15:49:23.320407 OrthancConfiguration.cpp:61] Reading the configuration from: "Configuration\orthanc.json"
E0213 15:49:23.324374 OrthancException.h:85] Bad file format: The configuration section "HttpsCACertificates" is defined in 2 different configuration files
E0213 15:49:23.325373 main.cpp:1550] Uncaught exception, stopping now: [Bad file format] (code 15)
W0213 15:49:23.325373 main.cpp:1583] Orthanc has stopped

and if I specify "HttpsCACertificates" : "C:\Program Files\Orthanc Server\Configuration\cacert.pem"  like this it gives below logs:

W0213 15:58:43.179594 main.cpp:1524] Orthanc version: 1.5.8
W0213 15:58:43.185557 OrthancConfiguration.cpp:113] Scanning folder "Configuration" for configuration files
W0213 15:58:43.186557 OrthancConfiguration.cpp:61] Reading the configuration from: "Configuration\dicomweb.json"
W0213 15:58:43.188557 OrthancConfiguration.cpp:61] Reading the configuration from: "Configuration\google.json"
E0213 15:58:43.189555 OrthancException.h:85] Cannot parse a JSON document: The configuration file does not follow the JSON syntax: Configuration\google.json
E0213 15:58:43.190555 main.cpp:1550] Uncaught exception, stopping now: [Cannot parse a JSON document] (code 28)
W0213 15:58:43.192556 main.cpp:1583] Orthanc has stopped

Which is the correct way to define HttpsCACertificates in configuration file? 
Also HttpsCACertificates parameter also present in orthanc.json. Do we need to add "path" over there?


Thanks & Regards,
Neha Wankar

Alain Mazy

unread,
Feb 13, 2020, 5:47:39 AM2/13/20
to Neha Wankar, Orthanc Users
As your logs says:  The configuration section "HttpsCACertificates" is defined in 2 different configuration files
So you should define it at only one place !

--
You received this message because you are subscribed to the Google Groups "Orthanc Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to orthanc-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/orthanc-users/5e8dceec-67ec-493b-96c2-f4c7dd381fa0%40googlegroups.com.

Neha Wankar

unread,
Feb 13, 2020, 6:02:52 AM2/13/20
to Orthanc Users
Hi Sébastien Jodogne,

For now I have commented "HttpsCACertificates" : "" from orthanc.json and my server started working.
But when I connect the server it gives "There was an error connecting to "my-google" server."
and the logs are as below:

W0213 16:17:09.715855 HttpClient.cpp:1045] HTTPS will use the CA certificates from this file: C:\Program Files\Orthanc Server\Configuration\cacert.pem
W0213 16:17:09.715855 LuaContext.cpp:104] Lua says: Lua toolbox installed
W0213 16:17:09.716855 LuaContext.cpp:104] Lua says: Lua toolbox installed
W0213 16:17:09.716855 ServerContext.cpp:318] Disk compression is disabled
W0213 16:17:09.716855 ServerIndex.cpp:1613] No limit on the number of stored patients
W0213 16:17:09.716855 ServerIndex.cpp:1630] No limit on the size of the storage area
W0213 16:17:09.716855 ServerContext.cpp:168] Reloading the jobs from the last execution of Orthanc
W0213 16:17:09.716855 JobsEngine.cpp:283] The jobs engine has started with 2 threads
W0213 16:17:09.719853 main.cpp:1008] DICOM server listening with AET ORTHANC on port: 4242
W0213 16:17:09.719853 HttpServer.cpp:1276] HTTP compression is enabled
W0213 16:17:09.719853 main.cpp:849] Remote access is allowed but "AuthenticationEnabled" is not in the configuration, automatically enabling HTTP authentication for security
W0213 16:17:09.719853 main.cpp:912] Remote LUA script execution is disabled
W0213 16:17:09.722851 HttpServer.cpp:1183] HTTP server listening on port: 8042 (HTTPS encryption is disabled, remote access is allowed)
W0213 16:17:09.722851 main.cpp:715] Orthanc has started
W0213 16:17:11.294082 PluginsManager.cpp:168] Cannot generate Google Cloud Platform token for account: my-google
E0213 16:17:58.005555 HttpClient.cpp:69] Error code 7 in libcurl: Couldn't connect to server
E0213 16:17:58.005555 OrthancException.h:85] Error in the network protocol: libCURL error: Couldn't connect to server
E0213 16:17:58.602005 PluginsManager.cpp:197] Exception while invoking plugin service 34: Error in the network protocol
E0213 16:17:58.901828 PluginsErrorDictionary.cpp:111] Exception inside the plugin engine: Error in the network protocol
W0213 16:18:11.239518 PluginsManager.cpp:168] Cannot generate Google Cloud Platform token for account: my-google
W0213 16:28:11.134333 PluginsManager.cpp:168] Cannot generate Google Cloud Platform token for account: my-google
E0213 16:28:39.448819 HttpClient.cpp:69] Error code 7 in libcurl: Couldn't connect to server
E0213 16:28:39.448819 OrthancException.h:85] Error in the network protocol: libCURL error: Couldn't connect to server
E0213 16:28:39.448819 PluginsManager.cpp:197] Exception while invoking plugin service 34: Error in the network protocol
E0213 16:28:39.449850 PluginsErrorDictionary.cpp:111] Exception inside the plugin engine: Error in the network protocol
W0213 16:29:11.213845 PluginsManager.cpp:168] Cannot generate Google Cloud Platform token for account: my-google

Thanks,
Neha

On Thursday, February 13, 2020 at 1:37:29 PM UTC+5:30, Sébastien Jodogne wrote:

Neha Wankar

unread,
Feb 13, 2020, 6:57:39 AM2/13/20
to Orthanc Users
Yes, I have removed it from orthanc.json file. but while connecting it throwing error. Logs are attached at next reply.

Thanks,
Neha
To unsubscribe from this group and stop receiving emails from it, send an email to orthan...@googlegroups.com.

Sébastien Jodogne

unread,
Feb 13, 2020, 6:59:35 AM2/13/20
to Orthanc Users
As written in the Orthanc Book, set the "HttpVerbose" configuration option to "true":

Neha

unread,
Feb 21, 2020, 2:13:45 AM2/21/20
to Orthanc Users
Hey Thien Le & Alain Mazy & Sébastien Jodogne,

Thank you so much guys for your guidance and support. Now I am able to install Google Cloud Platform plugin of Orthanc. 
It was just because of Path related issue. I started performing all steps given by you in the above conversation on clean system and It works fine.

Thanks once again! :)

Regards,
Neha
Reply all
Reply to author
Forward
0 new messages