polygon-io / client-php

The official PHP client library for the Polygon REST APIs.
https://polygon.io
MIT License
31 stars 24 forks source link

Could not read configuration file '/etc/resolv.conf' #21

Closed MixMe closed 8 months ago

MixMe commented 11 months ago

Hi i got this error:

Amp\Dns\ConfigException

Could not read configuration file '/etc/resolv.conf' (2) file_get_contents(): open_basedir restriction in effect. File(/etc/resolv.conf) is not within the allowed path(s): (/app/:/usr/lib/php/:/tmp/)

i use latest SDK, i am on Mac running docker

justinpolygon commented 11 months ago

Hey @MixMe, I suspect this is related to the docker image you're using since we don't call etc/resolv.conf anywhere. What docker image are you using so I can try and reproduce the issue?