Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

connection / certificate error #47

Open
HT-Marley opened this issue Mar 16, 2022 · 4 comments
Open

connection / certificate error #47

HT-Marley opened this issue Mar 16, 2022 · 4 comments

Comments

@HT-Marley
Copy link

Hi,

thanks for your great work on this Excel-Makro.
Unfortunately, I get the following error message when connecting with OpenProjectExcel-0.6.15 to our instance in the intranet
grafik

I have tried the protocol in the system configuration in Openproject for both https and http and adjusted the "instance url" accordingly. But the error message is the same.
If the option "use proxy" is activated, a different error message appears.
grafik

I'am running Openproject 12.0.7 on / via Univention UCS 4.4 server.

Unfortunately there is no debug output either
can you help me with the troubleshooting?

@jcanelhas
Copy link

Having the same problem here, how did you solve it ?

@SmallSeedBox
Copy link

I have a self signed certificate in OpenProject and received a similar error. In OpenProjectAPIModul, I added

With objHTTP
    
    .SetTimeouts 0, 60000, waitLng, waitLng '.SetTimeouts resolve, connect, send, receive  '.SetTimeouts 0, 60000, 30000, 120000

    .Open MethodStr, URLCompleteStr, False
    .Option(WinHttpRequestOption_SslErrorIgnoreFlags) = _
    WinHTTP.WinHttpRequestSslErrorFlags.SslErrorFlag_Ignore_All
    

The option lines. It worked for me.

@longyn
Copy link

longyn commented May 4, 2023

let's encrypt certificate also have the same problem

@MorganReid
Copy link

I have a self signed certificate in OpenProject and received a similar error. In OpenProjectAPIModul, I added

With objHTTP
    
    .SetTimeouts 0, 60000, waitLng, waitLng '.SetTimeouts resolve, connect, send, receive  '.SetTimeouts 0, 60000, 30000, 120000

    .Open MethodStr, URLCompleteStr, False
    .Option(WinHttpRequestOption_SslErrorIgnoreFlags) = _
    WinHTTP.WinHttpRequestSslErrorFlags.SslErrorFlag_Ignore_All
    

The option lines. It worked for me.

My openproject is also using a self-signed certificate and encountered the same problem. I want to try your method, but I don't quite understand how you operate it. Where is OpenProjectAPIModul?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

5 participants