Page 1 of 1

[SOLVED] Error uploading file version wapt 2.5

Published: January 19, 2024 - 09:27
by lfimd
Good morning,

I just installed the WAPT 2.5 server. When creating a package via PYSCRIPTER, during the upload process, I'm asked for multiple authentications, whereas normally I only need two. Following this, I get an error message:

Code: Select all

*** Remote Interpreter Reinitialized ***
Command Line : --use-gui -i build-upload "C:\waptdev\lfi-filius-1.7.4_0.0.0_Windows_PROD-wapt\WAPT\.."
Using config file: C:\Users\support\AppData\Local\waptconsole\waptconsole.ini
2024-01-19 15:17:12,440 WARNING Host client certificate C:\Program Files (x86)\wapt\private\4c4c4544-0038-3610-804e-c8c04f365133.crt is self signed or not with client_auth capability, not using it for auth on global
Building packages 1 packages
Personal certificate is lfiduras
Private key is <SSLPrivateKey 'C:\\Users\\support\\private\\wapt.pem'>
Personal certificate is SSLCertificate cn=lfiduras
Private key is <SSLPrivateKey 'C:\\Users\\support\\private\\wapt.pem'>
Building  C:\waptdev\lfi-filius-1.7.4_0.0.0_Windows_PROD-wapt
Signing C:\waptdev\lfi-filius-1.7.4_0.0.0_Windows_PROD-wapt with key <SSLPrivateKey 'C:\\Users\\support\\private\\wapt.pem'> and certificate lfiduras (C:\Users\support\private\wapt.crt)
Package C:\waptdev\lfi-filius-1.7.4_0.0.0_Windows_PROD-wapt signed : signature : OHP+3/W8Dd...Kfxlwq/Q=
...done building. Package filename C:\waptdev\lfi-filius-1.7.4_0.0.0-4_windows_PROD.wapt
1 packages successfully built
0 packages failed 
Building and uploading packages to https://10.0.11.28
Uploading C:\waptdev\lfi-filius-1.7.4_0.0.0-4_windows_PROD.wapt: 2097152 / 6915732

Uploading C:\waptdev\lfi-filius-1.7.4_0.0.0-4_windows_PROD.wapt: 4194304 / 6915732

Uploading C:\waptdev\lfi-filius-1.7.4_0.0.0-4_windows_PROD.wapt: 6291456 / 6915732

Uploading C:\waptdev\lfi-filius-1.7.4_0.0.0-4_windows_PROD.wapt: 6915732 / 6915732

Done Uploading C:\waptdev\lfi-filius-1.7.4_0.0.0-4_windows_PROD.wapt
Uploading C:\waptdev\lfi-filius-1.7.4_0.0.0-4_windows_PROD.wapt: 2097152 / 6915732

Uploading C:\waptdev\lfi-filius-1.7.4_0.0.0-4_windows_PROD.wapt: 4194304 / 6915732

Uploading C:\waptdev\lfi-filius-1.7.4_0.0.0-4_windows_PROD.wapt: 6291456 / 6915732

Uploading C:\waptdev\lfi-filius-1.7.4_0.0.0-4_windows_PROD.wapt: 6915732 / 6915732

Done Uploading C:\waptdev\lfi-filius-1.7.4_0.0.0-4_windows_PROD.wapt
Uploading C:\waptdev\lfi-filius-1.7.4_0.0.0-4_windows_PROD.wapt: 2097152 / 6915732

Uploading C:\waptdev\lfi-filius-1.7.4_0.0.0-4_windows_PROD.wapt: 4194304 / 6915732

Uploading C:\waptdev\lfi-filius-1.7.4_0.0.0-4_windows_PROD.wapt: 6291456 / 6915732

Uploading C:\waptdev\lfi-filius-1.7.4_0.0.0-4_windows_PROD.wapt: 6915732 / 6915732

Done Uploading C:\waptdev\lfi-filius-1.7.4_0.0.0-4_windows_PROD.wapt
FATAL ERROR : EWaptBadServerAuthentication: Authentication failed on server https://10.0.11.28 for action api/v3/upload_packages
Exit code:  3
>>> 

Do you have any idea what the problem is?

Thank you in advance.

Sincerely,

Re: Error uploading file version wapt 2.5

Published: January 19, 2024 - 12:35 PM
by sfonteneau
Hello,

we're going to remove the `build-upload` option from PyScripter and VS Code.

The new method is now to use the WAPT console to upload packages
(Private Repository -> Import a package -> Build and import a package into the repository)

or to use wapt-get.exe.