$all ... stream does not exist?

We have a cluster (3.0.3) running in out test environment on which developers do all kinds of things like emptying it, upgrade it, create users and so on and so forth. And since recently I noticed an error… when going to the $all stream (when logged in as the admin user), I get a “stream does not exist” message in the web UI. But it is quite erratic, since sometimes it shows a list of events, and then show the error while very often is only shows the error.

Any idea what might be causing this?

How can I find out what stream it is looking for?

Cheers,

– Marcel

Difference between $all and %24all maybe?

If you can send us say a curl output etc that would help

Strange thing is, that when using curl I cannot remember seeing this issue.

Could it be caused by caching? I did try different browsers, with similar results…

Not sure how a 404 would be cached.

I would need to see a reproduction (or a curl output) to say more about it

Getting the $all stream using curl does not give any error (tried it this morning). In the web UI I do get an error… and now I know a bit more about it!!!

I am accessing the ES cluster by its name and in the developer console of the browser I see that it does a request to a specific machine. And that one is telling me I am not authorized.

Initial request:

GET /streams/%24all?embed=tryharder HTTP/1.1
Host: esc**-dev.mydomain.com**:2113
Connection: keep-alive
Pragma: no-cache
Cache-Control: no-cache
Accept: application/json
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.104 Safari/537.36
ES-LongPoll: 5
Authorization: Basic YWRtaW46Zm9vYmFy
Referer: http://esc-dev.mydomain.com:2113/web/index.html
Accept-Encoding: gzip, deflate, sdch
Accept-Language: en-US,en;q=0.8,nl;q=0.6

``

Response:

HTTP/1.1 307 Temporary Redirect
Access-Control-Allow-Methods: POST, DELETE, GET, GET, OPTIONS
Access-Control-Allow-Headers: Content-Type, X-Requested-With, X-PINGOTHER, Authorization, ES-LongPoll, ES-ExpectedVersion, ES-EventId, ES-EventType, ES-RequiresMaster, ES-HardDelete, ES-ResolveLinkTo, ES-ExpectedVersion
Access-Control-Allow-Origin: *
Access-Control-Expose-Headers: Location, ES-Position
Location: http://10.3.0.36:2113/streams/%24all?embed=tryharder
Content-Type: text/plain; charset=utf-8
Server: Mono-HTTPAPI/1.0
Content-Length: 0
Keep-Alive: timeout=15,max=97

``

Second request (caused by the temporary redirect response):

GET /streams/%24all?embed=tryharder HTTP/1.1
Host: 10.3.0.36:2113
Connection: keep-alive
Pragma: no-cache
Cache-Control: no-cache
Accept: application/json
Origin: http://esc-dev.mydomain.com:2113
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.104 Safari/537.36
Referer: http://esc-dev.mydomain.com:2113/web/index.html
Accept-Encoding: gzip, deflate, sdch
Accept-Language: en-US,en;q=0.8,nl;q=0.6

``

Response:

HTTP/1.1 401 Unauthorized
Access-Control-Allow-Methods: POST, DELETE, GET, GET, OPTIONS
Access-Control-Allow-Headers: Content-Type, X-Requested-With, X-PINGOTHER, Authorization, ES-LongPoll, ES-ExpectedVersion, ES-EventId, ES-EventType, ES-RequiresMaster, ES-HardDelete, ES-ResolveLinkTo, ES-ExpectedVersion
Access-Control-Allow-Origin: *
Access-Control-Expose-Headers: Location, ES-Position
WWW-Authenticate: Basic realm=“ES”
Content-Type: text/plain; charset=utf-8
Server: Mono-HTTPAPI/1.0
Content-Length: 0
Keep-Alive: timeout=15,max=100

``

I guess this is also causing the popups being displayed (as I mentioned in https://groups.google.com/forum/#!topic/event-store/NUEaRW5fsZI).

Now to figure out why this is happening and how to solve it.

– Marcel

What is your config?