Error creating a package (Upload_Package)
Published: Dec 26, 2017 - 11:23
Good morning,
First of all, here is the information needed for the post:
- Installed WAPT version (1.5.1.11)
- Server OS (Linux Debian 9)
- Operating system of the administration/package creation machine (Windows Server 2016 Standard)
I have been encountering a problem with package upload since this morning, specifically with the last phase of the package build.
Below is the log/error of the process launched via PyScripter; the error is the same when accessing it through the Microsoft console:
"IPSERVER" corresponds to the IP address of my server, which I preferred to delete
When I get to the step where it asks for my WAPT server login (/api/v3/upload_packages), I enter the login correctly, but it returns a 500 error even though my server is working properly and I can access the URL. I tried with the Linux server login (system root), and it returns a 400 error with "NOT AUTHORIZE". So I imagine I have the correct login credentials, but the problem is with the server.
I hope you will be able to help me.
Thank you for your answers and future help.
Martin
First of all, here is the information needed for the post:
- Installed WAPT version (1.5.1.11)
- Server OS (Linux Debian 9)
- Operating system of the administration/package creation machine (Windows Server 2016 Standard)
I have been encountering a problem with package upload since this morning, specifically with the last phase of the package build.
Below is the log/error of the process launched via PyScripter; the error is the same when accessing it through the Microsoft console:
Code: Select all
Ligne de Commande : -ldebug -i build-upload "c:\waptdev\alti-SkiFlex-wapt"
Building packages 1 packages
Personal certificate is Altiservice
Please type the password to decrypt the private key
c:\python27\lib\getpass.py:92: GetPassWarning: Can not control echo on the terminal.
return fallback_getpass(prompt, stream)
Warning: Password input may be echoed.
Password: Private key is <SSLPrivateKey 'c:\\private\\altikey.pem'>
Building c:\waptdev\alti-SkiFlex-wapt
...done building. Package filename c:\waptdev\alti-SkiFlex_18.0.0-2_all.wapt
Signing c:\waptdev\alti-SkiFlex_18.0.0-2_all.wapt with key <SSLPrivateKey 'c:\\private\\altikey.pem'> and certificate Altiservice (c:\private\altikey.crt)
Package c:\waptdev\alti-SkiFlex_18.0.0-2_all.wapt signed : signature : ZUtUngbg9Y...d+oIFyA==
1 packages successfully built
0 packages failed
Buildind and uploading packages to http://"IPSERVER"
Warning: Password input may be echoed.
Password:Uploading c:\waptdev\alti-SkiFlex_18.0.0-2_all.wapt: 2097152 / 38373900
Uploading c:\waptdev\alti-SkiFlex_18.0.0-2_all.wapt: 4194304 / 38373900
Uploading c:\waptdev\alti-SkiFlex_18.0.0-2_all.wapt: 6291456 / 38373900
Uploading c:\waptdev\alti-SkiFlex_18.0.0-2_all.wapt: 8388608 / 38373900
Uploading c:\waptdev\alti-SkiFlex_18.0.0-2_all.wapt: 10485760 / 38373900
Uploading c:\waptdev\alti-SkiFlex_18.0.0-2_all.wapt: 12582912 / 38373900
Uploading c:\waptdev\alti-SkiFlex_18.0.0-2_all.wapt: 14680064 / 38373900
Uploading c:\waptdev\alti-SkiFlex_18.0.0-2_all.wapt: 16777216 / 38373900
Uploading c:\waptdev\alti-SkiFlex_18.0.0-2_all.wapt: 18874368 / 38373900
Uploading c:\waptdev\alti-SkiFlex_18.0.0-2_all.wapt: 20971520 / 38373900
Uploading c:\waptdev\alti-SkiFlex_18.0.0-2_all.wapt: 23068672 / 38373900
Uploading c:\waptdev\alti-SkiFlex_18.0.0-2_all.wapt: 25165824 / 38373900
Uploading c:\waptdev\alti-SkiFlex_18.0.0-2_all.wapt: 27262976 / 38373900
Uploading c:\waptdev\alti-SkiFlex_18.0.0-2_all.wapt: 29360128 / 38373900
Uploading c:\waptdev\alti-SkiFlex_18.0.0-2_all.wapt: 31457280 / 38373900
Uploading c:\waptdev\alti-SkiFlex_18.0.0-2_all.wapt: 33554432 / 38373900
Uploading c:\waptdev\alti-SkiFlex_18.0.0-2_all.wapt: 35651584 / 38373900
Uploading c:\waptdev\alti-SkiFlex_18.0.0-2_all.wapt: 37748736 / 38373900
Uploading c:\waptdev\alti-SkiFlex_18.0.0-2_all.wapt: 38373900 / 38373900
Done Uploading c:\waptdev\alti-SkiFlex_18.0.0-2_all.wapt
Warning: Password input may be echoed.
Password:FATAL ERROR : HTTPError: 500 Server Error: INTERNAL SERVER ERROR for url: http://"IPSERVER"/api/v3/upload_packages
Traceback (most recent call last):
File "c:\wapt\wapt-get.py", line 1183, in <module>
main()
File "c:\wapt\wapt-get.py", line 870, in main
res = mywapt.upload_package(waptfiles)
File "c:\wapt\common.py", line 3029, in upload_package
return self.http_upload_package(filenames,wapt_server_user=wapt_server_user,wapt_server_passwd=wapt_server_passwd)
File "c:\wapt\common.py", line 3002, in http_upload_package
res_partiel = self.waptserver.post('api/v3/upload_packages',data=f.get(),auth=auth,timeout=300)
File "c:\wapt\common.py", line 1709, in post
req.raise_for_status()
File "c:\wapt\lib\site-packages\requests\models.py", line 935, in raise_for_status
raise HTTPError(http_error_msg, response=self)
HTTPError: 500 Server Error: INTERNAL SERVER ERROR for url: http://"IPSERVER"/api/v3/upload_packages
When I get to the step where it asks for my WAPT server login (/api/v3/upload_packages), I enter the login correctly, but it returns a 500 error even though my server is working properly and I can access the URL. I tried with the Linux server login (system root), and it returns a 400 error with "NOT AUTHORIZE". So I imagine I have the correct login credentials, but the problem is with the server.
I hope you will be able to help me.
Thank you for your answers and future help.
Martin