Open Terryisthebest opened 1 month ago
Hello @Terryisthebest, from the information you provided it is not clear where the SSL came from. Did you hardcode it somewhere? I suggest you start with our language examples, including for frameworks, and then write your own integration.
How to solve it? Help me!!
This issue is unique.
Operating System of DocumentServer
Docker
Version information
7.2
Expected Behavior
I want to preview the files in my Alist.
Actual Behavior
it said it failed to download.
Reproduction Steps
here's the log:
[2024-07-30T14:55:28.820] [ERROR] nodeJS - error downloadFile:url=http://www.terryliu.top:2505/p/文件共享平台/高中学习资料/来自0740/2022年上海教育考试院版《高考英语词汇手册》新增考纲词汇pdf_1.pdf?sign=Jlgeatx0lOViXzAuxhJwzgSY5EzZ0-LZ2PnTQKGkwZ8=:0;attempt=3;code:null;connect:null;(id=214135645731db79bbd6) Error: Error response: statusCode:400; headers:{"date":"Tue, 30 Jul 2024 14:55:28 GMT","server":"Apache/2.4.55 (Unix) OpenSSL/1.1.1t","content-length":"362","connection":"close","content-type":"text/html; charset=iso-8859-1"}; body: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
Bad Request
Your browser sent a request that this server could not understand.
Reason: You're speaking plain HTTP to an SSL-enabled server port.
Instead use the HTTPS scheme to access this URL, please.
My downloading url should begin with https, but it's http. I viewed the js file(https://www.terryliu.top:2581/web-apps/apps/api/documents/api.js),and found this:
customerId:,
region: // can be 'en-us' or lang code
all of them are http. I don't know whether that's the problem...
Additional information
I'm just a student. I'm using Qnap Container Station to run the program. Could any one help me???