Hello Kreso, Thanks for trying Unomi.
The context.js requires a sessionId parameter, so you can try something like : http://localhost:8080/context.js?sessionId=1234 <http://localhost:8080/context.js?sessionId=1234> The sessionId may be any string, you just need to keep it consistent to properly “track” a session. Regards, Serge… > On 7 Mar 2017, at 16:27, Tomac, Kresimir <[email protected]> wrote: > > Hi guys, > > I’m looking to try UNOMI, but have encountered some issues I hope you'll be > able to help me resolve. > > Following the ‘5 minute quick start’ from http://unomi.incubator.apache.org/ > , I’m unable to access http://localhost:8181/context.js; I keep on getting > Bad Request (HTTP 400). > In Logs: > 2017-03-07 12:48:51,639 | ERROR | 60 - /context.js | ContextServlet > | 213 - org.apache.unomi.wab - 1.2.0.incubating-SNAPSHOT | Couldn't > find cookieProfileId, sessionId or personaId in incoming request! Stopped > processing request. See debug level for more information > > URLs such as https://localhost:9443/cxs/cluster, https://localhost:9443/cxs > and https://localhost:8181/cxs are accessible. > Ex. Response from https://localhost:9443/cxs/cluster > [ > > * > { > * > cpuLoad: 0.77417006406523, > * > loadAverage: > [ > * > 7.9462890625 > ], > * > hostAddress: "localhost", > * > publicPort: 8181, > * > secureHostAddress: "localhost", > * > securePort: 9443, > * > uptime: 47401, > * > master: false, > * > data: false > } > > ] > > The above experience is the same regardless if 1.1.0-incubating binaries are > used, or if built from the source for v1.2 and used with standalone > elasticsearch. > > I’m running this on: > > System Version: macOS 10.12.3 (16D32) > > Kernel Version: Darwin 16.4.0 > > Thanks, > Kreso
