httpsocket.get error 103 when retrieving data from localhost (works on debug but not on build)

Hello,

I’m developing a solution that uses a biometric module that has a local component on the user machine (a small C# service). Such component is called with a ‘get’ request from a HTTPSocket to localhost.

It works fine on debugging (Windows 10) but fails when compiled (Ubuntu 16.04 64 bit), giving an ‘error 103’.

I already updated the ‘libsoup’ thing.

Any ideas?

Error 103 is a name resolution error
https://documentation.xojo.com/index.php/SocketCore.LastErrorCode

So you may need to change up the URL of your GET request on linux for some reason. Sometimes ‘localhost’ vs ‘127.0.0.1’ produces different results (sometimes localhost is treated as a socket connection - or IPv6, which can cause problems) - did you try putting in the loopback ip address above?