Local Use of API / Scripts

Good day again,

after I wanted to start creating my code for the automated creation of type statics internal force tables, I noticed more and more how much the API has changed since my last use 2 years ago.

While I was thinking more of a locally running script that serves process automation, the development seems to have mainly moved towards an online application.

If I understand correctly, the API can now only be used if you generate such an API key, is that correct?

If yes, what would be best to discuss with my IT regarding the following error messages, in case they consider granting me access:

RuntimeError: gRPC Connection error: UNAUTHENTICATED - The connection to the Dlubal license server is blocked. Please have your IT department check the communication with our server. The following access must be enabled in the firewall policies as well as in the network: Server name: lm.dlubal.com Server IP: 89.187.130.211 Server port: 443

Are there still possibilities to use the API like 2 years ago, where you could simply write scripts using high level functions?

Via JavaScript, in which programming language I am much more proficient anyway, it should in principle still be possible to simply use the script manager. Are there sufficient programming commands for this according to the following post of mine:

I would be very pleased to receive a response.

Best regards,

Nick Böttcher

Hi DeflectionPerfection,

The old API (SOAP) can still be used, but it will no longer be developed or maintained. It doesn't matter whether you access it with Java or Python, no API key is required.
Regarding your questions about using the old API with JavaScript, I must refer you to the documentation:

The new API (gRPC) requires an API key. It is up to 10 times faster and much more user-friendly. In addition, it is constantly being developed, and the progress is truly remarkable.
So if you are starting a new project, I can only advise you to work with the new API II.

About your connection Problems with the API II, can you tell me which version your're running (App and API)?

Best regards
Robert Milrath

I am using the program version:

6.13.0001

Regarding the API version, I have the following information:

image

image

=> very interesting is that I have not changed the code in any way, however, upon restarting I no longer receive the previously described warning message:

RuntimeError: gRPC Connection error: UNAUTHENTICATED - The connection to the Dlubal license server is blocked. Please have your IT department check the communication with our server. The following access must be enabled in the firewall policies as well as in the network: Server name: lm.dlubal.com Server IP: 89.187.130.211 Server Port: 443

but now I receive the following warning message:

image

and this although the API key matches one that is shown to me on the Dlubal website under API 2.

Hi DeflectionPerfection,

please make sure that the version of the API (v2.13.6) is compatible with the Dlubal App (6.13.0001). So with v2.13.6 you should use 6.13.0006 instead or the other way around. Please try again after you changed this.

Which version of Python do you use?

Also I have two articles which may help with the connection problems:

Best regards
Robert Milrath

1 Like

Thank you very much for the support,

in the meantime, API 2 is working!

Best regards,

Nick Böttcher

1 Like