# Virtual Machines on MacOS - Server error 500

**URL:** <https://datashield.discourse.group/t/virtual-machines-on-macos-server-error-500/384>\
**Category:** Developer support\
**Created:** [14 April 2021 16:56 UTC](https://datashield.discourse.group/t/virtual-machines-on-macos-server-error-500/384 "2021-04-14T16:56:07Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![daniela.zoeller](https://yyz2.discourse-cdn.com/free1/user_avatar/datashield.discourse.group/daniela.zoeller/32/16_2.png) [@daniela.zoeller](https://datashield.discourse.group/u/daniela.zoeller)\
**Post date:** [14 April 2021 16:56 UTC](https://datashield.discourse.group/t/virtual-machines-on-macos-server-error-500/384/1 "2021-04-14T16:56:07Z")

</div>

Dear all,

I downloaded the V6.1 machines on my Mac - everything is running, but I cannot analyze the data.

I can log in, but when I try to use any function (right now except ds.listServersideFunctions) I got the error 500:

$study1 [1] “[Server error: (500) Internal Server Error] NotAcceptableException, No match for accept header”

I cannot find anything in the logs, so I am totally at a loss what to do. I updated all DataSHIELD client packages and they are also version 6.1, as the server side functions (successfully listed with ds.listServersideFunctions). Anybody an idea what to do?

Best, Daniela

library(DSI) library(DSOpal) library(dsBaseClient)

builder ← DSI::newDSLoginBuilder() builder$append(server = “study1”, url = “[http://192.168.56.100:8080/](http://192.168.56.100:8080/)”, user = “administrator”, password = “datashield\_test&”, table = “CNSIM.CNSIM1”, driver = “OpalDriver”) builder$append(server = “study2”, url = “[http://192.168.56.101:8080/](http://192.168.56.101:8080/)”, user = “administrator”, password = “datashield\_test&”, table = “CNSIM.CNSIM2”, driver = “OpalDriver”)

logindata ← builder$build()

connections ← DSI::datashield.login(logins = logindata, assign = TRUE, symbol = “hui”) #works till here

ds.colnames(“D”) #gives the above given error message without even given the progress messages

---

<div class="post-metadata">

**Author:** ![demetris.avraam](https://avatars.discourse-cdn.com/v4/letter/d/439d5e/32.png) [@demetris.avraam](https://datashield.discourse.group/u/demetris.avraam)\
**Post date:** [14 April 2021 17:47 UTC](https://datashield.discourse.group/t/virtual-machines-on-macos-server-error-500/384/2 "2021-04-14T17:47:47Z")

</div>

Hi Daniela,

The symbol argument in the datashield.login function defines the name that you give in your dataframe. So you need either to change to symbol=“D” or you need to use the ds functions using the “hui” name (e.g. ds.colnames(“hui”))

---

<div class="post-metadata">

**Author:** ![daniela.zoeller](https://yyz2.discourse-cdn.com/free1/user_avatar/datashield.discourse.group/daniela.zoeller/32/16_2.png) [@daniela.zoeller](https://datashield.discourse.group/u/daniela.zoeller)\
**Post date:** [14 April 2021 18:57 UTC](https://datashield.discourse.group/t/virtual-machines-on-macos-server-error-500/384/3 "2021-04-14T18:57:22Z")

</div>

Hi Demetris,

thanks! But actually that was just changed for trouble shooting to see if something changes in the server logs (which it does). So: Unfortunatly same error with D instead of my hui.

In addition, ds.ls() gives the same error

connections ← DSI::datashield.login(logins = logindata, assign = TRUE, symbol = “D”)

Both following functions give the same error: ds.colnames(“D”) ds.ls()

---

<div class="post-metadata">

**Author:** ![demetris.avraam](https://avatars.discourse-cdn.com/v4/letter/d/439d5e/32.png) [@demetris.avraam](https://datashield.discourse.group/u/demetris.avraam)\
**Post date:** [15 April 2021 09:29 UTC](https://datashield.discourse.group/t/virtual-machines-on-macos-server-error-500/384/4 "2021-04-15T09:29:16Z")

</div>

Hm not sure then what is going wrong. Maybe @yannick or @swheater can help.

---

<div class="post-metadata">

**Author:** ![yannick](https://yyz2.discourse-cdn.com/free1/user_avatar/datashield.discourse.group/yannick/32/19_2.png) [@yannick](https://datashield.discourse.group/u/yannick)\
**Post date:** [15 April 2021 10:57 UTC](https://datashield.discourse.group/t/virtual-machines-on-macos-server-error-500/384/5 "2021-04-15T10:57:43Z")

</div>

Make sure you have the latest DSOpal and opalr versions.

Yannick

---

<div class="post-metadata">

**Author:** ![swheater](https://yyz2.discourse-cdn.com/free1/user_avatar/datashield.discourse.group/swheater/32/182_2.png) [@swheater](https://datashield.discourse.group/u/swheater)\
**Post date:** [15 April 2021 10:57 UTC](https://datashield.discourse.group/t/virtual-machines-on-macos-server-error-500/384/6 "2021-04-15T10:57:51Z")

</div>

Hi Daniela,

Can I check a few things. Could you check the version of R and the R packages R, DSOpal and opalr. I can then try to replicate the problem.

Stuart

---

<div class="post-metadata">

**Author:** ![daniela.zoeller](https://yyz2.discourse-cdn.com/free1/user_avatar/datashield.discourse.group/daniela.zoeller/32/16_2.png) [@daniela.zoeller](https://datashield.discourse.group/u/daniela.zoeller)\
**Post date:** [15 April 2021 12:45 UTC](https://datashield.discourse.group/t/virtual-machines-on-macos-server-error-500/384/7 "2021-04-15T12:45:45Z")

</div>

Here is my sessionInfo():

```
> sessionInfo()
R version 4.0.2 (2020-06-22)
Platform: x86_64-apple-darwin19.5.0 (64-bit)
Running under: macOS 10.16

Matrix products: default
LAPACK: /usr/local/Cellar/openblas/0.3.10/lib/libopenblasp-r0.3.10.dylib

locale:
[1] de_DE.UTF-8/de_DE.UTF-8/de_DE.UTF-8/C/de_DE.UTF-8/de_DE.UTF-8

attached base packages:
[1] stats graphics grDevices utils datasets methods base     

other attached packages:
[1] dsBaseClient_6.1.0 DSOpal_1.1.0 opalr_2.0.0 httr_1.4.2 DSI_1.1.0 R6_2.5.0          
[7] progress_1.2.2
```

---

<div class="post-metadata">

**Author:** ![daniela.zoeller](https://yyz2.discourse-cdn.com/free1/user_avatar/datashield.discourse.group/daniela.zoeller/32/16_2.png) [@daniela.zoeller](https://datashield.discourse.group/u/daniela.zoeller)\
**Post date:** [15 April 2021 13:02 UTC](https://datashield.discourse.group/t/virtual-machines-on-macos-server-error-500/384/8 "2021-04-15T13:02:43Z")

</div>

Apparently, something was wrong with my R installation! Now everything is working again 🥳

Thanks for your time!
