Teamwork & BIMcloud
About Teamwork, BIMcloud, BIMcloud Basic, BIMcloud Software as a Service, network settings, etc.

Connection Test Error in BIMCloud Manager Server Settings

szbianka
Participant

With a fresh installation of both the operating system and BIMCloud, testing the connection in the Server connection settings in BIMCloud Manager results in an error. I am only attempting to access it locally through the Manager interface on localhost.

  • Only the TeamworkApplicationServerMonitor is using port 22001, so there’s no port conflict.
  • I tried using the default '$protocol//$hostname:22001/' address.
  • I haven’t found any relevant log in the server folder.
  • I also attempted to repair it with the BIMCloud-2024.3 installer.

Could you suggest potential areas to investigate for resolving this issue?


bimcloud_error1.PNG
3 REPLIES 3
szbianka
Participant

UPDATE: In the server logs, there’s still no data—not even informational entries, let alone errors. However, I found a few relevant messages in the Manager logs.

 

1. Several ECONNREFUSED errors have appeared, indicating that connection attempts to 127.0.0.1:<PORT> are being blocked. The port actually varies between log files.

 

proxyServer.2024-11-04:

 

Spoiler
{"severity":"WARNING","level":40,"time":"2024-11-04T10:53:59.083Z","process":"proxyServer","hostname":"SERVER-NAME","pid":6648,"name":"_","err":{"type":"Error","message":"connect ECONNREFUSED 127.0.0.1:37714","stack":"Error: connect ECONNREFUSED 127.0.0.1:37714\n at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1605:16)","errno":-4078,"code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":37714},"msg":"Proxy request failed on url: http://127.0.0.1:37714/, req: {\"method\":\"GET\",\"url\":\"/ping\",\"host\":\"127.0.0.1:22000\"}, res: {\"statusCode\":200,\"requests\":1}.\"."}
{"severity":"ERROR","level":50,"time":"2024-11-04T10:53:59.088Z","process":"proxyServer","hostname":"SERVER-NAME","pid":6648,"name":"_","reqId":0,"authId":null,"req":{"method":"GET","url":"/ping","host":"127.0.0.1:22000"},"res":{"statusCode":503,"requests":1},"msg":"Request of session <none> finised with error."}

2. MongoDB-related error: A MongoServerSelectionError message shows that there’s an issue connecting to 127.0.0.1:47564. This might indicate that the MongoDB server is unavailable, has crashed, or isn’t listening on this port.

 

mongoDB-server.2024-11-04:

Spoiler
{"severity":"INFO","level":30,"time":"2024-11-04T11:02:53.617Z","process":"mongoDB-server","hostname":"SERVER-NAME","pid":13848,"name":"_","msg":"{\"t\":{\"$date\":\"2024-11-04T12:02:53.617+01:00\"},\"s\":\"I\", \"c\":\"NETWORK\", \"id\":22943, \"ctx\":\"listener\",\"msg\":\"Connection accepted\",\"attr\":{\"remote\":\"127.0.0.1:58269\",\"uuid\":\"2c18782f-22f3-467b-8670-fe72f3b8f224\",\"connectionId\":398,\"connectionCount\":28}}\r\n"}
{"severity":"INFO","level":30,"time":"2024-11-04T11:02:53.618Z","process":"mongoDB-server","hostname":"SERVER-NAME","pid":13848,"name":"_","msg":"{\"t\":{\"$date\":\"2024-11-04T12:02:53.618+01:00\"},\"s\":\"I\", \"c\":\"NETWORK\", \"id\":51800, \"ctx\":\"conn398\",\"msg\":\"client metadata\",\"attr\":{\"remote\":\"127.0.0.1:58269\",\"client\":\"conn398\",\"negotiatedCompressors\":[],\"doc\":{\"driver\":{\"name\":\"nodejs\",\"version\":\"6.3.0\"},\"platform\":\"Node.js v20.12.1, LE\",\"os\":{\"name\":\"win32\",\"architecture\":\"x64\",\"version\":\"10.0.19045\",\"type\":\"Windows_NT\"}}}}\r\n"}
{"severity":"INFO","level":30,"time":"2024-11-04T11:02:53.620Z","process":"mongoDB-server","hostname":"SERVER-NAME","pid":13848,"name":"_","msg":"{\"t\":{\"$date\":\"2024-11-04T12:02:53.620+01:00\"},\"s\":\"I\", \"c\":\"NETWORK\", \"id\":22943, \"ctx\":\"listener\",\"msg\":\"Connection accepted\",\"attr\":{\"remote\":\"127.0.0.1:58270\",\"uuid\":\"2a407d92-fe30-4a02-b0d1-22a0f76706cf\",\"connectionId\":399,\"connectionCount\":29}}\r\n"}
{"severity":"INFO","level":30,"time":"2024-11-04T11:02:53.620Z","process":"mongoDB-server","hostname":"SERVER-NAME","pid":13848,"name":"_","msg":"{\"t\":{\"$date\":\"2024-11-04T12:02:53.620+01:00\"},\"s\":\"I\", \"c\":\"NETWORK\", \"id\":51800, \"ctx\":\"conn399\",\"msg\":\"client metadata\",\"attr\":{\"remote\":\"127.0.0.1:58270\",\"client\":\"conn399\",\"negotiatedCompressors\":[],\"doc\":{\"driver\":{\"name\":\"nodejs\",\"version\":\"6.3.0\"},\"platform\":\"Node.js v20.12.1, LE\",\"os\":{\"name\":\"win32\",\"architecture\":\"x64\",\"version\":\"10.0.19045\",\"type\":\"Windows_NT\"}}}}\r\n"}
{"severity":"INFO","level":30,"time":"2024-11-04T11:02:53.623Z","process":"mongoDB-server","hostname":"SERVER-NAME","pid":13848,"name":"_","msg":"{\"t\":{\"$date\":\"2024-11-04T12:02:53.623+01:00\"},\"s\":\"I\", \"c\":\"NETWORK\", \"id\":22944, \"ctx\":\"conn398\",\"msg\":\"Connection ended\",\"attr\":{\"remote\":\"127.0.0.1:58269\",\"uuid\":\"2c18782f-22f3-467b-8670-fe72f3b8f224\",\"connectionId\":398,\"connectionCount\":28}}\r\n{\"t\":{\"$date\":\"2024-11-04T12:02:53.623+01:00\"},\"s\":\"E\", \"c\":\"NETWORK\", \"id\":23841, \"ctx\":\"conn399\",\"msg\":\"Error shutting down socket\",\"attr\":{\"error\":\"A l\\ufffdtez\\ufffd kapcsolatot a t\\ufffdvoli \\ufffdllom\\ufffds k\\ufffdnyszer\\ufffdtetten bez\\ufffdrta.\"}}\r\n{\"t\":{\"$date\":\"2024-11-04T12:02:53.623+01:00\"},\"s\":\"I\", \"c\":\"NETWORK\", \"id\":22944, \"ctx\":\"conn399\",\"msg\":\"Connection ended\",\"attr\":{\"remote\":\"127.0.0.1:58270\",\"uuid\":\"2a407d92-fe30-4a02-b0d1-22a0f76706cf\",\"connectionId\":399,\"connectionCount\":27}}\r\n"}
{"severity":"INFO","level":30,"time":"2024-11-04T11:02:56.637Z","process":"mongoDB-server","hostname":"SERVER-NAME","pid":13848,"name":"_","msg":"{\"t\":{\"$date\":\"2024-11-04T12:02:56.637+01:00\"},\"s\":\"I\", \"c\":\"NETWORK\", \"id\":22943, \"ctx\":\"listener\",\"msg\":\"Connection accepted\",\"attr\":{\"remote\":\"127.0.0.1:58306\",\"uuid\":\"3ad09bd9-1700-478d-84ed-bf81e82fd144\",\"connectionId\":400,\"connectionCount\":28}}\r\n"}
{"severity":"INFO","level":30,"time":"2024-11-04T11:02:56.638Z","process":"mongoDB-server","hostname":"SERVER-NAME","pid":13848,"name":"_","msg":"{\"t\":{\"$date\":\"2024-11-04T12:02:56.638+01:00\"},\"s\":\"I\", \"c\":\"NETWORK\", \"id\":51800, \"ctx\":\"conn400\",\"msg\":\"client metadata\",\"attr\":{\"remote\":\"127.0.0.1:58306\",\"client\":\"conn400\",\"negotiatedCompressors\":[],\"doc\":{\"driver\":{\"name\":\"nodejs\",\"version\":\"6.3.0\"},\"platform\":\"Node.js v20.12.1, LE\",\"os\":{\"name\":\"win32\",\"architecture\":\"x64\",\"version\":\"10.0.19045\",\"type\":\"Windows_NT\"}}}}\r\n"}
{"severity":"INFO","level":30,"time":"2024-11-04T11:02:56.640Z","process":"mongoDB-server","hostname":"SERVER-NAME","pid":13848,"name":"_","msg":"{\"t\":{\"$date\":\"2024-11-04T12:02:56.639+01:00\"},\"s\":\"I\", \"c\":\"NETWORK\", \"id\":22943, \"ctx\":\"listener\",\"msg\":\"Connection accepted\",\"attr\":{\"remote\":\"127.0.0.1:58307\",\"uuid\":\"6f290c6f-2f6f-4052-9ce9-63c0c9c9d623\",\"connectionId\":401,\"connectionCount\":29}}\r\n"}
{"severity":"INFO","level":30,"time":"2024-11-04T11:02:56.640Z","process":"mongoDB-server","hostname":"SERVER-NAME","pid":13848,"name":"_","msg":"{\"t\":{\"$date\":\"2024-11-04T12:02:56.640+01:00\"},\"s\":\"I\", \"c\":\"NETWORK\", \"id\":51800, \"ctx\":\"conn401\",\"msg\":\"client metadata\",\"attr\":{\"remote\":\"127.0.0.1:58307\",\"client\":\"conn401\",\"negotiatedCompressors\":[],\"doc\":{\"driver\":{\"name\":\"nodejs\",\"version\":\"6.3.0\"},\"platform\":\"Node.js v20.12.1, LE\",\"os\":{\"name\":\"win32\",\"architecture\":\"x64\",\"version\":\"10.0.19045\",\"type\":\"Windows_NT\"}}}}\r\n"}
{"severity":"INFO","level":30,"time":"2024-11-04T11:02:56.643Z","process":"mongoDB-server","hostname":"SERVER-NAME","pid":13848,"name":"_","msg":"{\"t\":{\"$date\":\"2024-11-04T12:02:56.643+01:00\"},\"s\":\"I\", \"c\":\"NETWORK\", \"id\":22944, \"ctx\":\"conn400\",\"msg\":\"Connection ended\",\"attr\":{\"remote\":\"127.0.0.1:58306\",\"uuid\":\"3ad09bd9-1700-478d-84ed-bf81e82fd144\",\"connectionId\":400,\"connectionCount\":28}}\r\n{\"t\":{\"$date\":\"2024-11-04T12:02:56.643+01:00\"},\"s\":\"I\", \"c\":\"NETWORK\", \"id\":22944, \"ctx\":\"conn401\",\"msg\":\"Connection ended\",\"attr\":{\"remote\":\"127.0.0.1:58307\",\"uuid\":\"6f290c6f-2f6f-4052-9ce9-63c0c9c9d623\",\"connectionId\":401,\"connectionCount\":27}}\r\n"}

3. The App Server log contains an ENOTFOUND error when trying to reach redirect.graphisoft.com.
It’s unclear what this URL is being accessed for — perhaps it’s related to license verification or an update check?

 

I also temporarily disabled the firewall, but the error persists (even though both the manager and the server are on the same host machine).

 

Boldizsar Vermes
Graphisoft
Graphisoft

@szbianka, I suggest you to contact your local Graphisoft support representative with this issue.

Boldizsár Vermes
Product Manager, BIMcloud
szbianka
Participant

For future troubleshooting purposes, here's an update: I made some progress, but the issue is still not resolved.

 

  • Despite the Manager reporting a 'connection error,' I was able to successfully add the Server (intentionally using the server address 'http://<hostname>:22001' instead of the local list). Clients can also reach it, but file uploads fail. The client does not receive a timeout but keeps trying to upload, while the Manager shows '0 bytes' with an 'OK' status in the 'libraries' section.
  • However, the Server's 'ProxyService' log mentions a malfunction in the Chunked Transfer Encoding mechanism: 'Exception: HTTPException: Parser error: invalid chunk size information. at P:\Dev\BCR\Sources\HTTP\HTTP\Encoding\ChunkedIBinaryChannel.cpp(362)'.
  • Using PowerShell Test-NetConnection, connecting to 127.0.0.1 is successful on both ports (22000 and 22001). With the hostname, the connection to 22000 is successful, while for 22001 there are warnings that it is attempting to connect via IPv6 addresses, but these attempts fail. Based on this, I can only assume that the Manager is trying to resolve the Server address to IPv6.

 

Based on another, later question where a MongoDB connection error also occurred, I suspect that this is causing my main issue as well. The message is as follows: "Error shutting down socket. An existing connection was forcibly closed by the remote host".