We are attempting to run ES under Linux on Azure, but are not having any success yet.
Basically, it gets to the point of running, but we are not able to browse the admin UI over http.
To rule out a port issue, we ran nc on port 2113, and successfully connected from the outside world.
Running locally we tried this after booting ES:
curl -i -d @event.json “http://127.0.0.1:2113/streams/newstream”
azureuser@V1EventStore:~$ curl -i -d @ecent.json “http://127.0.0.1:2113/streams/newstream” -H “Content-Type:application/json” -H “ES-EventType: SomeEvent”
Access-Control-Allow-Methods: POST, DELETE, GET, OPTIONS
Access-Control-Allow-Headers: Content-Type, X-Requested-With, X-PINGOTHER, Authorization, ES-LongPoll, ES-ExpectedVersion
Access-Control-Expose-Headers: Location, ES-Position
Content-Type: ; charset=utf-8
Forwarding to idempotent URI
Note: we had to pass -L to get curl to follow the redirect successfully, to create an event. Then we could do this:
azureuser@V1EventStore:~$ curl http://127.0.0.1:2113/streams/newstream/0 -H “Accept:application/json” -v
- Hostname was NOT found in DNS cache
- Trying 127.0.0.1…
- Connected to 127.0.0.1 (127.0.0.1) port 2113 (#0)
GET /streams/newstream/0 HTTP/1.1
< HTTP/1.1 200 OK
< Access-Control-Allow-Methods: GET, OPTIONS
< Access-Control-Allow-Headers: Content-Type, X-Requested-With, X-PINGOTHER, Authorization, ES-LongPoll, ES-ExpectedVersion
< Access-Control-Allow-Origin: *
< Access-Control-Expose-Headers: Location, ES-Position
< Cache-Control: max-age=31536000, public
< Vary: Accept
< Content-Type: application/json; charset=utf-8
- Server Mono-HTTPAPI/1.0 is not blacklisted
< Server: Mono-HTTPAPI/1.0
< Date: Tue, 09 Sep 2014 21:16:03 GMT
< Content-Length: 29
< Keep-Alive: timeout=15,max=100
“something”: “has data”
- Connection #0 to host 127.0.0.1 left intact
If someone can help, we’d greatly appreciate it!
The instance is v1eventstore.cloudapp.net and the creds are [REDACTED] and [REDACTED].
We’ve been able to get 2.0.1 running successfully under Azure before following the instructions at https://github.com/EventStore/EventStore/wiki/Setup-EventStore-on-Windows-Azure
However, we also noticed that this document was updated yesterday, but without mention of 3.0.