Hey,
I used curl a bit to test things out with the address you provided. The
request is rejected by "Mod_Security" seemingly due to the User-Agent.
The options here are limited since it seems IFW doesn't let you change
User-Agent ( https://bugreports.qt.io/browse/QTIFW-671 ). Is it possible
for you to lighten the restriction on the User-Agent in ModSecurity in
this case?
Mårten
On 18.09.2018 01:33, Kevin Wang wrote:
Hi All,
I am attempting to utilize the Qt Installer Framework for our
company's software. I am just starting out and am running into some
issues.
I uploaded the generated repo to our website, and linked the repo in
the installer. When I run the installer and attempt to fetch the
remote repo tree, it returns this:
"Cannot retrieve remote tree. "
Using the --verbose option, it says this:
[1744] Network error while downloading
'http://www.spikegadgets.com/downloads/onlinesoftwarerepo/Updates.xml?-763156944':
Error transferring
http://www.spikegadgets.com/downloads/onlinesoftwarerepo/Updates.xml?-763156944
- server replied: Not Acceptable.
[1745] Cannot fetch a valid version of Updates.xml from repository
"": "unexpected character"
[1751] Cannot retrieve remote tree .
You can even go to the link above in a browser and see that it is
uploaded properly.
I sniffed out the HTTP request and it showed that the IFW sent this:
GET /downloads/onlinesoftwarerepo/Updates.xml?-915259074 HTTP/1.1
Connection: Keep-Alive
Accept-Encoding: gzip, deflate
Accept-Language: en-US,*
User-Agent: Mozilla/5.0
Host: www.spikegadgets.com
So I have absolutely no experience in web servers and HTTP requests
and such. The website and FTP was set up for us, which I used to
upload the repo. To me, the issue seems to be that the Installer
framework is sending a HTTP request for an encoding that doesn't make
sense ("Accept-Encoding: gzip, deflate" for a .xml file?).
Is there something I am missing? Doing wrong? What should I look into
to fix this?
Kevin
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest