pdsinterop / php-solid-server

Standalone Solid Server written in PHP by PDS Interop
https://pdsinterop.org/php-solid-server/
MIT License
46 stars 7 forks source link

Cannot assign requested address #26

Closed michielbdejong closed 2 years ago

michielbdejong commented 3 years ago

I'm seeing a 500 error when talking to the add-solid-crud-tests branch:


curl -d'hi' -ki https://server/storage/test.txt
HTTP/1.1 500 Internal Server Error
Date: Thu, 05 Nov 2020 21:23:12 GMT
Server: Apache/2.4.38 (Debian)
X-Powered-By: PHP/7.2.34
Set-Cookie: PHPSESSID=57c168bedec40ffaa262a2108485ff8f; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate
Pragma: no-cache
Content-Length: 128
Connection: close
Content-Type: text/html; charset=utf-8

<h1>Oh-no! The developers messed up!</h1><p>Could not open socket to "localhost:8080": Cannot assign requested address (99).
michielbdejong commented 3 years ago

i guess it's assuming that the pubsub-server is running on http://localhost:8080 instead of on http://pubsub:8080, right?

root@903224fa2ff6:/app# npm install wscat
root@903224fa2ff6:/app# ./node_modules/.bin/wscat -c ws://pubsub:8080
Connected (press CTRL+C to quit)
> sub https://server/
< ack https://server/
> 
michielbdejong commented 3 years ago

@ylebre let's discuss at the meeting tomorrow 10am!

Potherca commented 2 years ago

@michielbdejong / @ylebre Is any action needed for this issue or can it be closed?

ylebre commented 2 years ago

I'm pretty sure this can be closed.