Foxit Corrupt

Forum Rules
Community Forum Rules
* English support on www.reddit.com/r/wapt
* French community support is provided on this forum
* Please prefix the topic title with [RESOLVED] if it is resolved.
* Please do not edit a topic that is tagged [RESOLVED]. Open a new topic referencing the old one.
* Specify the installed WAPT version (1.8.2 / 2.0 / 2.1 / 2.2 / etc.) AS WELL AS the Enterprise / Discovery edition.
* Specify the server OS (Linux / Windows) and version (Debian Stretch/Buster - CentOS 7 - Windows Server 2012/2016/2019).
* Specify the OS of the administration/package creation machine (Windows 7 / 10)
. * As with any community forum, support is provided voluntarily by members. If you require sales support, you can contact the Tranquil IT sales department at 02.40.97.57.55
Locked
yohannbrossard
Messages: 5
Registration: February 4, 2019 - 4:34 PM

December 19, 2019 - 09:39

Hello, when I try to import Foxit version 9 PROD, I get a file corruption error and an MD5 mismatch.
Thank you for your help.
Regards.
yohannbrossard
Messages: 5
Registration: February 4, 2019 - 4:34 PM

December 19, 2019 - 11:22

I have the same problem with TIS-WATP-DEV
yohannbrossard
Messages: 5
Registration: February 4, 2019 - 4:34 PM

December 19, 2019 - 2:06 PM

There's a problem in your documentation:
`cat > /etc/yum.repos.d/wapt.repo <
[wapt]
name=WAPT Server Repo
baseurl=https://wapt.tranquil.it/centos7/wapt-1.7/
enabled=1
gpgcheck=0
EOF`

The `" "` is missing from the `baseurl` address; it doesn't work without it.
Regards.
User avatar
dcardon
WAPT Expert
Messages: 1930
Registration: June 18, 2014 - 09:58
Location: Saint Sébastien sur Loire
Contact :

December 19, 2019 - 3:33 PM

Hello yohannbrossard,
yohannbrossard wrote: Dec 19, 2019 - 2:06 PM There's a problem in your documentation,
cat > /etc/yum.repos.d/wapt.repo <
[wapt]
name=WAPT Server Repo
baseurl=https://wapt.tranquil.it/centos7/wapt-1.7/
enabled=1
gpgcheck=0
EOF

The quotation marks are missing from the baseurl address; it doesn't work without them.
Regards.
Quotes aren't necessary (on a standard CentOS 7 installation); in fact, I've never needed them. Do you provide any additional information about your installation to help determine when the problem occurs?

If packet downloads are causing checksum corruption, you should check if you have a filtering firewall that's manipulating TCP/IP packets as they pass through. Any additional information you have would be helpful.

Sincerely,

Denis
Denis Cardon - Tranquil IT
Share your experiences on WAPT! Send us your blog and article URLs in the "Your Opinion of the forum, and we'll feature them on the WAPT
yohannbrossard
Messages: 5
Registration: February 4, 2019 - 4:34 PM

December 19, 2019 - 4:12 PM

I have a CentOS installation. I just upgraded from 1.6 to 1.7, without the quotation marks. When I ran `yum Update`, the sources weren't fetching the new 1.7 packages. It was telling me `tis-waptserver` and `tis-waptsetup`... 1.6 was already installed.

I have one last question: after my migration,
when I run `wapt-get enable-check-certificate`,

I get:
FATAL ERROR: typeError: argument of type 'NoneType' is not iterable.

However, my certificates are valid, and I followed all the documentation.
Thank you for your help.
User avatar
dcardon
WAPT Expert
Messages: 1930
Registration: June 18, 2014 - 09:58
Location: Saint Sébastien sur Loire
Contact :

December 19, 2019 - 6:40 PM

yohannbrossard wrote: Dec 19, 2019 - 4:12 PM I have a CentOS installation. I just upgraded from 1.6 to 1.7, without the quotes, by running `yum Update`, the sources weren't looking for the new 1.7 packages. It was telling me `tis-waptserver` and `tis-waptsetup`... 1.6 was already installed.
This means the local cache didn't update automatically. A `yum cache clean` would have done the trick. Adding quotes must have forced the metadata to be redownloaded... I'll need to check the timestamps on the different files, or the cache retention times provided by the web server.
I have one last question: following my migration,
when I run `wapt-get enable-check-certificate`,

I get the following
FATAL ERROR: typeError: argument of type 'NoneType' is not iterable.

However, my certificates are valid, and I followed all the documentation.
Thank you for your help.
Could you run the same command with a -l debug to get a little more information?.

Does the HTTPS connection to the server work correctly if you connect using a browser?

Sincerely,

Denis
Denis Cardon - Tranquil IT
Share your experiences on WAPT! Send us your blog and article URLs in the "Your Opinion of the forum, and we'll feature them on the WAPT
yohannbrossard
Messages: 5
Registration: February 4, 2019 - 4:34 PM

December 20, 2019 - 2:05 PM

Here is my debug:

C:\windows\system32>wapt-get enable-check-certificate -l debug
Current loglevel: DEBUG
2019-12-20 14:02:47,582 DEBUG Default encoding: ascii
2019-12-20 14:02:47,582 DEBUG Setting encoding for stdout and stderr to cp850
2019-12-20 14:02:47,598 DEBUG Python path ['C:\\Program Files (x86)\\wapt', 'C:\\Program Files (x86)\\wapt', 'C:\\Program Files (x86)\\wapt\\python27.zip', 'C:\\Program Files (x86)\\wapt\\DLLs', 'C:\\Program Files (x86)\\wapt\\lib', 'C:\\Program Files (x86)\\wapt\\lib\\plat-win', 'C:\\Program Files (x86)\\wapt\\lib\\lib-tk', 'C:\\Program Files (x86)\\wapt', 'C:\\Program Files (x86)\\wapt\\lib\\site-packages', 'C:\\Program Files (x86)\\wapt\\lib\\site-packages\\pywin32-223-py2.7-win32.egg']
2019-12-20 14:02:47,598 INFO Using local waptservice configuration C:\Program Files (x86)\wapt\wapt-get.ini
2019-12-20 14:02:47,598 DEBUG Config file: C:\Program Files (x86)\wapt\wapt-get.ini
Using config file: C:\Program Files (x86)\wapt\wapt-get.ini
2019-12-20 14:02:47,615 DEBUG Thread 6196 is connecting to wapt db
2019-12-20 14:02:47,740 DEBUG Using host certificate C:\Program Files (x86)\wapt\private\DBAF34FF-77A5-11E5-9BAE-0C15E402E0FF.pem for repo global auth
2019-12-20 14:02:47,802 DEBUG Thread 6196 is connecting to wapt db
2019-12-20 14:02:47,802 DEBUG DB Start transaction
2019-12-20 14:02:47,802 DEBUG DB commit
2019-12-20 14:02:47,927 DEBUG Using host certificate C:\Program Files (x86)\wapt\private\DBAF34FF-77A5-11E5-9BAE-0C15E402E0FF.pem for repo wapt auth
2019-12-20 14:02:48,161 DEBUG Using host certificate C:\Program Files (x86)\wapt\private\DBAF34FF-77A5-11E5-9BAE-0C15E402E0FF.pem for repo wapt-host auth
2019-12-20 14:02:48,223 INFO User Groups:[]
2019-12-20 14:02:48,223 DEBUG WAPT base directory: C:\Program Files (x86)\wapt
2019-12-20 14:02:48,223 DEBUG Package cache dir: C:\Program Files (x86)\wapt\cache
2019-12-20 14:02:48,223 DEBUG WAPT DB Structure version;: 20190606
2019-12-20 14:02:48,223 DEBUG Loading ssl context with cert C:\Program Files (x86)\wapt\private\DBAF34FF-77A5-11E5-9BAE-0C15E402E0FF.crt and key C:\Program Files (x86)\wapt\private\DBAF34FF-77A5-11E5-9BAE-0C15E402E0FF.pem
2019-12-20 14:02:48,240 DEBUG Starting new HTTPS connection (1): srv-wapt.isto.cnrs-orleans.fr:443
2019-12-20 14:02:48,286 DEBUG https://srv-wapt.isto.cnrs-orleans.fr:443 "HEAD /ping HTTP/1.1" 200 0
Server certificate: C:\Program Files (x86)\wapt\ssl\server\srv-wapt.isto.cnrs-orleans.fr.crt
FATAL ERROR: TypeError: argument of type 'NoneType' is not iterable
Traceback (most (Recent call last):
File "
File "
File "
TypeError: argument of type 'NoneType' is not iterable
Exception at 00441C2A: EPyTypeError:
exceptions.TypeError: argument of type 'NoneType' is not iterable.
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

December 20, 2019 - 10:03 PM

If possible, can you provide us with the file "C:\Program Files (x86)\wapt\ssl\server\srv-wapt.isto.cnrs-orleans.fr.crt"
Locked