I run into a “Malformed reply from SOCKS server” error message in the command prompt

I run into a “Malformed reply from SOCKS server” error message in the command prompt.

[Logs]

Picked up _JAVA_OPTIONS: -Xmx512M
15:55:51.669 [            refine_server] Starting Server bound to '127.0.0.1:3333' (0ms)
15:55:51.722 [            refine_server] Initializing context: '/' from 'C:\Users\jgrunenberg\OneDrive - Carnegie Hall\Desktop\openrefine 3.6.2\openrefine-3.6.2\webapp' (53ms)
15:55:53.943 [                   refine] Starting OpenRefine 3.6.2 [579a6f7]... (2221ms)
15:55:53.944 [                   refine] initializing FileProjectManager with dir (1ms)
15:55:53.945 [                   refine] C:\Users\jgrunenberg\AppData\Roaming\OpenRefine (1ms)
15:55:59.159 [                   refine] POST /command/core/load-language (5214ms)
15:55:59.183 [                   refine] GET /command/core/get-preference (24ms)
15:55:59.205 [                   refine] POST /command/core/load-language (22ms)
15:55:59.214 [                   refine] POST /command/core/load-language (9ms)
15:55:59.220 [                   refine] POST /command/core/load-language (6ms)
15:55:59.304 [                   refine] POST /command/core/get-importing-configuration (84ms)
15:55:59.323 [                   refine] GET /command/core/get-all-project-tags (19ms)
15:55:59.332 [                   refine] GET /command/core/get-all-project-metadata (9ms)
15:55:59.440 [                   refine] GET /command/core/get-csrf-token (108ms)
15:55:59.460 [                   refine] GET /command/core/get-languages (20ms)
15:55:59.536 [                   refine] GET /command/core/get-version (76ms)
15:55:59.664 [                   refine] GET /command/database/saved-connection (128ms)
15:56:02.548 [                   refine] POST /command/core/load-language (2884ms)
15:56:02.561 [                   refine] GET /command/core/get-preference (13ms)
15:56:02.570 [                   refine] POST /command/core/load-language (9ms)
15:56:02.579 [                   refine] POST /command/core/load-language (9ms)
15:56:02.586 [                   refine] POST /command/core/load-language (7ms)
15:56:02.680 [                   refine] POST /command/core/get-importing-configuration (94ms)
15:56:02.772 [                   refine] GET /command/database/saved-connection (92ms)
15:56:02.791 [                   refine] GET /command/core/get-all-project-tags (19ms)
15:56:02.799 [                   refine] GET /command/core/get-all-project-metadata (8ms)
15:56:02.904 [                   refine] GET /command/core/get-csrf-token (105ms)
15:56:02.921 [                   refine] GET /command/core/get-languages (17ms)
15:56:02.954 [                   refine] GET /command/core/get-version (33ms)
15:56:10.069 [                   refine] GET /command/core/get-csrf-token (7115ms)
15:56:10.075 [                   refine] POST /command/core/create-importing-job (6ms)
15:56:10.097 [                   refine] POST /command/core/importing-controller (22ms)
15:56:11.114 [                   refine] POST /command/core/get-importing-job-status (1017ms)
15:56:11.149 [                   refine] GET /command/core/get-all-project-tags (35ms)
15:56:11.190 [                   refine] GET /command/core/get-csrf-token (41ms)
15:56:11.201 [                   refine] POST /command/core/importing-controller (11ms)
15:56:12.196 [                   refine] GET /command/core/get-csrf-token (995ms)
15:56:12.203 [                   refine] POST /command/core/importing-controller (7ms)
15:56:12.496 [                   refine] POST /command/core/get-models (293ms)
15:56:12.520 [                   refine] POST /command/core/get-rows (24ms)
15:56:14.110 [                   refine] GET /command/core/get-csrf-token (1590ms)
15:56:14.117 [                   refine] POST /command/core/importing-controller (7ms)
15:56:15.137 [                   refine] POST /command/core/get-importing-job-status (1020ms)
15:56:15.857 [                   refine] POST /command/core/load-language (720ms)
15:56:15.873 [                   refine] GET /command/core/get-preference (16ms)
15:56:15.874 [                   refine] GET /command/core/get-preference (1ms)
15:56:15.881 [                   refine] POST /command/core/load-language (7ms)
15:56:15.888 [                   refine] POST /command/core/load-language (7ms)
15:56:15.895 [                   refine] POST /command/core/load-language (7ms)
15:56:15.904 [                   refine] POST /command/core/load-language (9ms)
15:56:15.948 [                   refine] GET /command/core/get-project-metadata (44ms)
15:56:15.960 [                   refine] GET /command/core/get-models (12ms)
15:56:15.967 [                   refine] POST /command/core/get-all-preferences (7ms)
15:56:16.031 [                   refine] POST /command/core/get-rows (64ms)
15:56:16.032 [                   refine] GET /command/core/get-history (1ms)
15:56:16.036 [                   refine] GET /command/core/get-history (4ms)
15:56:16.070 [                   refine] GET /command/core/get-preference (34ms)
15:56:37.424 [                   refine] GET /command/core/get-csrf-token (21354ms)
15:56:37.434 [                   refine] POST /command/wikidata/save-wikibase-schema (10ms)
15:56:37.592 [                   refine] GET /command/core/get-history (158ms)
15:56:37.623 [                   refine] GET /command/core/get-preference (31ms)
15:56:40.451 [                   refine] GET /command/wikidata/login (2828ms)
15:56:40.470 [                   refine] GET /command/core/get-csrf-token (19ms)
15:56:40.476 [                   refine] POST /command/wikidata/login (6ms)
15:57:26.796 [                   refine] GET /command/wikidata/login (46320ms)
15:57:26.807 [                   refine] GET /command/core/get-csrf-token (11ms)
15:57:26.815 [                   refine] POST /command/wikidata/login (8ms)
15:57:36.698 [                   refine] GET /command/core/get-csrf-token (9883ms)
15:57:36.718 [                   refine] POST /command/wikidata/login (20ms)
15:57:37.126 [       connection_manager] Malformed reply from SOCKS server (408ms)
15:57:54.522 [                   refine] GET /command/core/get-csrf-token (17396ms)
15:57:54.527 [                   refine] POST /command/wikidata/login (5ms)
15:57:54.537 [       connection_manager] Malformed reply from SOCKS server (10ms)
15:57:55.186 [                   refine] GET /command/core/get-csrf-token (649ms)
15:57:55.193 [                   refine] POST /command/wikidata/login (7ms)
15:57:55.201 [       connection_manager] Malformed reply from SOCKS server (8ms)
15:57:55.819 [                   refine] GET /command/core/get-csrf-token (618ms)
15:57:55.824 [                   refine] POST /command/wikidata/login (5ms)
15:57:55.833 [       connection_manager] Malformed reply from SOCKS server (9ms)
15:58:15.698 [                   refine] GET /command/core/get-csrf-token (19865ms)
15:58:15.705 [                   refine] POST /command/core/create-importing-job (7ms)
15:58:15.722 [                   refine] POST /command/core/importing-controller (17ms)
15:58:16.728 [                   refine] POST /command/core/get-importing-job-status (1006ms)
15:58:16.765 [                   refine] GET /command/core/get-all-project-tags (37ms)
15:58:16.818 [                   refine] GET /command/core/get-csrf-token (53ms)
15:58:16.835 [                   refine] POST /command/core/importing-controller (17ms)
15:58:32.529 [                   refine] GET /command/core/get-csrf-token (15694ms)
15:58:32.539 [                   refine] POST /command/core/cancel-importing-job (10ms)
15:58:46.961 [                   refine] GET /command/core/get-csrf-token (14422ms)
15:58:46.968 [                   refine] POST /command/core/create-importing-job (7ms)
15:58:46.989 [                   refine] POST /command/core/importing-controller (21ms)
15:58:48.005 [                   refine] POST /command/core/get-importing-job-status (1016ms)
15:58:48.011 [                   refine] GET /command/core/get-all-project-tags (6ms)
15:58:48.026 [                   refine] GET /command/core/get-csrf-token (15ms)
15:58:48.032 [                   refine] POST /command/core/importing-controller (6ms)
15:58:48.110 [                   refine] GET /command/core/get-csrf-token (78ms)
15:58:48.118 [                   refine] POST /command/core/importing-controller (8ms)
15:58:48.122 [           ProjectManager] Saving all modified projects ... (4ms)
15:58:48.145 [        project_utilities] Saved project '2027769430895' (23ms)
15:58:48.321 [                   refine] POST /command/core/get-models (176ms)
15:58:48.327 [                   refine] POST /command/core/get-rows (6ms)
15:58:49.577 [                   refine] GET /command/core/get-csrf-token (1250ms)
15:58:49.584 [                   refine] POST /command/core/importing-controller (7ms)
15:58:50.599 [                   refine] POST /command/core/get-importing-job-status (1015ms)
15:58:50.605 [                   refine] GET /command/core/get-csrf-token (6ms)
15:58:50.630 [                   refine] POST /command/core/cancel-importing-job (25ms)
15:58:51.236 [                   refine] POST /command/core/load-language (606ms)
15:58:51.251 [                   refine] GET /command/core/get-preference (15ms)
15:58:51.252 [                   refine] GET /command/core/get-preference (1ms)
15:58:51.259 [                   refine] POST /command/core/load-language (7ms)
15:58:51.268 [                   refine] POST /command/core/load-language (9ms)
15:58:51.274 [                   refine] POST /command/core/load-language (6ms)
15:58:51.286 [                   refine] POST /command/core/load-language (12ms)
15:58:51.303 [                   refine] GET /command/core/get-project-metadata (17ms)
15:58:51.310 [                   refine] GET /command/core/get-models (7ms)
15:58:51.319 [                   refine] POST /command/core/get-all-preferences (9ms)
15:58:51.378 [                   refine] GET /command/core/get-history (59ms)
15:58:51.379 [                   refine] POST /command/core/get-rows (1ms)
15:58:51.391 [                   refine] GET /command/core/get-history (12ms)
15:58:51.447 [                   refine] GET /command/core/get-preference (56ms)
15:59:03.249 [                   refine] GET /command/core/get-csrf-token (11802ms)
15:59:03.256 [                   refine] POST /command/wikidata/save-wikibase-schema (7ms)
15:59:03.277 [                   refine] GET /command/core/get-history (21ms)
15:59:03.301 [                   refine] GET /command/core/get-preference (24ms)
15:59:25.194 [                   refine] GET /command/wikidata/login (21893ms)
15:59:25.204 [                   refine] GET /command/core/get-csrf-token (10ms)
15:59:25.211 [                   refine] POST /command/wikidata/login (7ms)
15:59:30.179 [                   refine] GET /command/core/get-csrf-token (4968ms)
15:59:30.187 [                   refine] POST /command/wikidata/login (8ms)
15:59:30.197 [       connection_manager] Malformed reply from SOCKS server (10ms)

Hi @Jean_Neves,
Thanks for reporting this! This is very puzzling. Could it be that you are using a proxy (perhaps on a work computer with settings defined by your organization?). Can you access Wikidata with your browser?
Which version of OpenRefine are you using?

Hi Antonin,

Thanks for your response.

Yes, we use a proxy, but it should not be an issue (Not sure) because it was working fine for a week, and the only thing that changed was windows updates.

Yes, wikidata is accessible from the browser.

The version is OpenRefine 3.6.2

Hi @antonin_d,

I work with Jean and was the person who reported this issue. Do you have any feedback for us on a solution?

Thank you!
Jennifer

Sorry for dropping the ball on this. To make progress, I would need instructions to be able to reproduce the issue independently.

So the questions that come to mind are:

  • Which version of Windows are you using?
  • How is the proxy configured in Windows? (Not being familiar with Windows myself it would be super helpful to have rather detailed instructions of how I could do the same on a Windows machine myself)
  • How is the proxy configured in OpenRefine? That is normally done by editing the refine.ini file: if you could share the contents of that file, it would be great.
  • What sort of software is the proxy running? I assume that it might be hard to set up an equivalent server or for you to share credentials to the server you are using and I might be able to reproduce the issue with a SOCKS proxy set up via SSH on a server of mine, but any information you can share might help.

Once we have that information, we can open a GitHub issue about the problem. I might not be able to work on this myself directly because I do not have a Windows machine at hand, but others might be able to help.