Opened 5 years ago
Closed 5 years ago
#3267 closed defect (not a bug)
REST https responses garbled
Reported by: | Owned by: | Conrad Huang | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Input/Output | Version: | |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Notify when closed: | Platform: | all | |
Project: | ChimeraX |
Description
The following bug report has been submitted: Platform: Darwin-19.4.0-x86_64-i386-64bit ChimeraX Version: 1.0rc202005140520 (2020-05-14 05:20:29 UTC) Description REST server spews garbled Log error message when an https instead of http request is made. This message was produced by https://127.0.0.1:60958/run?command=close The same url with http: works as expected. Log: UCSF ChimeraX version: 1.0rc202005140520 (2020-05-14) © 2016-2020 Regents of the University of California. All rights reserved. How to cite UCSF ChimeraX > remotecontrol rest start REST server started on host 127.0.0.1 port 60958 127.0.0.1 - - [20/May/2020 09:23:17] code 400, message Bad HTTP/0.9 request type ('\x16\x03\x01\x02\x00\x01\x00\x01ü\x03\x03\x14×ÍnÍë²ÄTÕ·sÁ\x111\x8eÕªz\x9b\x92éߥ\x18öO¿+<5\x14') 127.0.0.1 - - [20/May/2020 09:23:17] code 400, message Bad request version ('ê\x006\x13\x01\x13\x02\x13\x03À,À+À$À#À') 127.0.0.1 - - [20/May/2020 09:23:17] code 400, message Bad HTTP/0.9 request type ('\x16\x03\x01\x00}\x01\x00\x00y\x03\x01Ç') 127.0.0.1 - - [20/May/2020 09:24:50] code 400, message Bad request version ('áé\x8fð~Ë\x17\x05\x99IÚ©©\x17´ù(\x98]ÿÏ\x94ÎòTò®y\x10Sæ·\x004\x13\x01\x13\x02\x13\x03À,À+À$À#À') 127.0.0.1 - - [20/May/2020 09:24:50] code 400, message Bad request version ("<\x99,\x05üU\x9fgíÇ\x88ã8\x90ÿ'Ê\x10SÍòä\x90e¬\x02ùÉ7Ê\x006\x13\x01\x13\x02\x13\x03À,À+À$À#À") 127.0.0.1 - - [20/May/2020 09:24:50] code 400, message Bad request version ('#\x15A\x08-\x9e\x81') OpenGL version: 4.1 ATI-3.8.24 OpenGL renderer: AMD Radeon Pro Vega 20 OpenGL Engine OpenGL vendor: ATI Technologies Inc.Hardware: Hardware Overview: Model Name: MacBook Pro Model Identifier: MacBookPro15,3 Processor Name: 8-Core Intel Core i9 Processor Speed: 2.4 GHz Number of Processors: 1 Total Number of Cores: 8 L2 Cache (per Core): 256 KB L3 Cache: 16 MB Hyper-Threading Technology: Enabled Memory: 32 GB Boot ROM Version: 1037.100.362.0.0 (iBridge: 17.16.14281.0.0,0) Software: System Software Overview: System Version: macOS 10.15.4 (19E287) Kernel Version: Darwin 19.4.0 Time since boot: 11 days 13:03 Graphics/Displays: Intel UHD Graphics 630: Chipset Model: Intel UHD Graphics 630 Type: GPU Bus: Built-In VRAM (Dynamic, Max): 1536 MB Vendor: Intel Device ID: 0x3e9b Revision ID: 0x0002 Automatic Graphics Switching: Supported gMux Version: 5.0.0 Metal: Supported, feature set macOS GPUFamily2 v1 Radeon Pro Vega 20: Chipset Model: Radeon Pro Vega 20 Type: GPU Bus: PCIe PCIe Lane Width: x8 VRAM (Total): 4 GB Vendor: AMD (0x1002) Device ID: 0x69af Revision ID: 0x00c0 ROM Revision: 113-D2060I-087 VBIOS Version: 113-D20601MA0T-016 Option ROM Version: 113-D20601MA0T-016 EFI Driver Version: 01.01.087 Automatic Graphics Switching: Supported gMux Version: 5.0.0 Metal: Supported, feature set macOS GPUFamily2 v1 Displays: Color LCD: Display Type: Built-In Retina LCD Resolution: 2880 x 1800 Retina Framebuffer Depth: 24-Bit Color (ARGB8888) Main Display: Yes Mirror: Off Online: Yes Automatically Adjust Brightness: No Connection Type: Internal PyQt version: 5.12.3 Compiled Qt version: 5.12.4 Runtime Qt version: 5.12.8
Change History (2)
comment:1 by , 5 years ago
Component: | Unassigned → Input/Output |
---|---|
Owner: | set to |
Platform: | → all |
Project: | → ChimeraX |
Status: | new → assigned |
Summary: | ChimeraX bug report submission → REST https responses garbled |
comment:2 by , 5 years ago
Resolution: | → not a bug |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
The server got gobbledygook on input and logged it as such. Not sure there is much else it can do. (There is no STARTTLS equivalent for HTTP/HTTPS, so there is no way to accept both protocols on the same port.)