Closed szyb closed 2 years ago
There are 2 redirections made: 1) from http to https 2) then to http://dl.imnks.com:8888
need to investigate why this is an issue
Debugging. When I tried to download package via Postman, then the original link is redirected to dl.imnks.com:8888 and the SPK file is downloaded well. But when I use the same link in browser I got following image instead of SPK file
Anyone knows what it is? I guess that this is kind of hotlinking protection, isn't? If yes, than probably downloading packages via synopackage may not be possible
EDIT: This is tricky. Localhost without https: the image is shown. However when I force download by proxy (as it should be in production) then the SPK is downloaded. Production with https: timeout. This leads me to conclusion: maybe our web hosting is blocking such connection (HTTP HEAD, port 8888)? We use HEAD method to check whether the file is available (without downloading it immediately). Or target server drops packets?
Need to investigate further
Now this website does not allow to download packages manually from web browser (only from Package Center). This is the only SPK source that works in that way. Need to: 1) Give a information about problems with downloading pacakges, or/and: 2) Remove download SPK button for both imnks servers.
It's not a bug then... remove the bug label
error from logs: