Thank you for the reply! I should have provided more information in the previous post.
It looks like the issue is with the “urlread2” file, which is a part of the moku-MATLAB add-on.
Error using urlread2
Java exception occurred:
java.net.SocketException: Protocol family unavailable
at
java.net.TwoStacksPlainSocketImpl.socketConnect(Native
Method)
at
java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
at
java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
at
java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
at
java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
at
java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:589)
at java.net.Socket.connect(Socket.java:538)
at
sun.net.NetworkClient.doConnect(NetworkClient.java:180)
at
sun.net.www.http.HttpClient.openServer(HttpClient.java:463)
at
sun.net.www.http.HttpClient.openServer(HttpClient.java:558)
at
sun.net.www.http.HttpClient.(HttpClient.java:242)
at
sun.net.www.http.HttpClient.New(HttpClient.java:339)
at
sun.net.www.http.HttpClient.New(HttpClient.java:357)
at
sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1220)
at
sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1156)
at
sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1050)
at
sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:984)
at
sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(HttpURLConnection.java:1334)
at
sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1309)
Error in Requests/http_post (line 122)
[output, extras] = urlread2(obj.create_url(obj.IP, action),…
Error in Moku/claim_ownership (line 214)
response = obj.session.http_post(‘moku/claim_ownership’, params);
Error in Moku (line 175)
obj.claim_ownership(‘force_connect’, force_connect, ‘ignore_busy’, ignore_busy, …
Error in MokuOscilloscope (line 84)
obj@Moku(IpAddr, force_connect, ignore_busy, persist_state, read_timeout, mimInited);
Error in MokuGo_oscilloscope (line 12)
m = MokuOscilloscope(‘[fe80:0000:0000:0000:7269:79ff:feb9:12be]’, true);