New Parts Tracker now online


RE: New Parts Tracker now online
#30
(2023-02-04, 17:53)Orion Pobursky Wrote: I haven't excluded the library from forced HTTPS on the PT server. This may be the problem.

That may be the problem, but I'm not sure. When LDView attempts to download the following URL, it gets a 404 error:

http://www.ldraw.org/library/unofficial/...662s01.dat

If I paste the above URL into Chrome, I also get a 404 error. When I then look at the browser's address field, the URL has changed to this:

https://www.ldraw.org/index.php?page=lib...662s01.dat

Oddly, when debugging in LDView, I don't seem to get a redirect response from the original http URL, so I don't know where Chrome is getting this second URL.

The actual response that I get from the server is:

Code:
HTTP/1.1 404 Not Found\r\nDate: Sun, 05 Feb 2023 00:41:02 GMT\r\nServer: Apache\r\nUpgrade: h2\r\nConnection: Upgrade, close\r\nVary: User-Agent\r\nTransfer-Encoding: chunked\r\nContent-Type: text/html; charset=UTF-8\r\n\r\ne7\r\n<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n\t    <html><head>\r\n\t    <title>404 Not Found</title>\r\n\t    </head><body>\r\n\t    <h1>Not Found</h1>\r\n\t    <p>The requested URL was not found on this server.</p>\r\n\t    </body></html>\r\n0\r\n\r\n

If I instead fetch from library.ldraw.org, I do get the https redirect:

Code:
HTTP/1.1 301 Moved Permanently\r\nServer: nginx/1.18.0 (Ubuntu)\r\nDate: Sun, 05 Feb 2023 00:54:35 GMT\r\nContent-Type: text/html\r\nContent-Length: 178\r\nConnection: close\r\nLocation: https://library.ldraw.org/library/unofficial/parts/s/100662s01.dat\r\n\r\n<html>\r\n<head><title>301 Moved Permanently</title></head>\r\n<body>\r\n<center><h1>301 Moved Permanently</h1></center>\r\n<hr><center>nginx/1.18.0 (Ubuntu)</center>\r\n</body>\r\n</html>\r\n
Reply
« Next Oldest | Next Newest »



Messages In This Thread
RE: New Parts Tracker now online - by Travis Cobbs - 2023-02-05, 0:58
RE: New Parts Tracker now online - by Steffen - 2023-02-03, 18:39
RE: New Parts Tracker now online - by SNIPE - 2023-02-08, 15:49
RE: New Parts Tracker now online - by SNIPE - 2023-02-08, 20:17

Forum Jump:


Users browsing this thread: 1 Guest(s)