I started working through the pollen tutorial and see these messages continuously being printed when starting the server:
```
$ raco pollen start
pollen: starting project server ...
pollen: welcome to Pollen 3.2.3290.1047 (Racket 8.6)
pollen: project root is C:\Users\brian\Desktop\pollen-tutorial\
pollen: project server is http://localhost:8080 (Ctrl+C to exit)
pollen: project dashboard is http://localhost:8080/index.ptree
pollen: project server permitting access to all clients
pollen: ready to rock
pollen: /inform from 192.168.1.225
pollen: can't find /inform
pollen: /inform from 192.168.1.225
pollen: can't find /inform
pollen: /inform from 192.168.1.225
pollen: can't find /inform
pollen: /inform from 192.168.1.225
pollen: can't find /inform
.. after 10s of seconds..
pollen: can't find /inform
pollen: /inform from 192.168.1.225
pollen: can't find /inform
Connection error: path-without-base: C:\Users\brian\Desktop\pollen-tutorial\ is not a prefix of \\?\C:\Users\brian\Desktop\pollen-tutorial\ucp\f0:9f:c2:6c:9a:08
context...:
C:\Program Files\Racket\collects\racket\contract\private\arrow-val-first.rkt:486:18
C:\Program Files\Racket\share\pkgs\web-server-lib\web-server\dispatchers\filesystem-map.rkt:72:0
C:\Program Files\Racket\collects\racket\contract\private\arrow-higher-order.rkt:375:33
C:\Program Files\Racket\share\pkgs\web-server-lib\web-server\dispatchers\dispatch-files.rkt:122:2
C:\Program Files\Racket\collects\racket\private\more-scheme.rkt:163:2: select-handler/no-breaks
C:\Program Files\Racket\share\pkgs\web-server-lib\web-server\private\dispatch-server-with-connect-unit.rkt:141:2
pollen: /ucp/f0:9f:c2:6c:9a:08 from 192.168.1.225
pollen: /inform from 192.168.1.216
pollen: can't find /inform
pollen: /inform from 192.168.1.225
pollen: can't find /inform
pollen: /inform from 192.168.1.225
```
When I view `http://localhost:8080` in a web browser, this happens:
```
pollen: can't find /inform
pollen: /inform from 192.168.1.225
pollen: can't find /inform
Servlet (@ /) exception:
bytes->path: byte string is empty
context...:
C:\Program Files\Racket\collects\net\url-string.rkt:358:0: file://->path
C:\Program Files\Racket\collects\racket\contract\private\arrow-val-first.rkt:489:18
C:\Users\brian\AppData\Roaming\Racket\8.6\pkgs\pollen\pollen\private\project-server-routes.rkt:283:0: req->path
C:\Program Files\Racket\collects\racket\contract\private\arrow-higher-order.rkt:379:33
C:\Users\brian\AppData\Roaming\Racket\8.6\pkgs\pollen\pollen\private\project-server-routes.rkt:298:0: route-index
C:\Program Files\Racket\collects\racket\contract\private\arrow-higher-order.rkt:375:33
[repeats 1 more time]
C:\Program Files\Racket\share\pkgs\web-server-lib\web-server\dispatchers\dispatch-servlets.rkt:63:2
C:\Program Files\Racket\share\pkgs\web-server-lib\web-server\private\dispatch-server-with-connect-unit.rkt:141:2
pollen: / directory default page
pollen: /inform from 192.168.1.225
pollen: can't find /inform
pollen: /inform from 192.168.1.225
```
I'm on a Windows 10 machine. The behavior is the same whether I use `cmd.exe` or the right-click "Git Bash Here" shell.
Am I [holding it wrong](https://www.wired.com/2010/06/iphone-4-holding-it-wrong/)? Or is there some missing configuration?
Thank you for the help!
I have had this problem with Unifi wifi access points, which poll every network device on port 8080 with the path /inform. The behavior can be changed on the Unifi devices, painfully, by SSHing into each device and changing its port. Alternatively, you can run the Pollen project server on a port other than 8080.
I have had this problem with Unifi wifi access points, which poll every network device on port `8080` with the path `/inform`. The behavior can be changed on the Unifi devices, painfully, by SSHing into each device and changing its port. Alternatively, you can run the Pollen project server on a port other than `8080`.
I started working through the pollen tutorial and see these messages continuously being printed when starting the server:
When I view
http://localhost:8080
in a web browser, this happens:I'm on a Windows 10 machine. The behavior is the same whether I use
cmd.exe
or the right-click "Git Bash Here" shell.Am I holding it wrong? Or is there some missing configuration?
Thank you for the help!
I have had this problem with Unifi wifi access points, which poll every network device on port
8080
with the path/inform
. The behavior can be changed on the Unifi devices, painfully, by SSHing into each device and changing its port. Alternatively, you can run the Pollen project server on a port other than8080
.Thank you. Using a different TCP port alleviated this issue!