Skip to content
This repository has been archived by the owner on May 30, 2019. It is now read-only.

gulp run error when logging in #707

Open
gited12314 opened this issue Dec 22, 2016 · 2 comments
Open

gulp run error when logging in #707

gited12314 opened this issue Dec 22, 2016 · 2 comments
Assignees

Comments

@gited12314
Copy link

gited12314 commented Dec 22, 2016

Hi there,

I'm running into errors when trying to log in using the [email protected] / joesPassword creds after running "gulp run". Everything seems to work fine when I run "gulp once --browser=chrome", and I can see the e2e tests all successfully being completed. However when I run "gulp run" or "gulp e2e" I get errors. Details below:

  • "gulp once --browser=chrome" works fine, I can see the selenium driver logging in and writing new posts etc successfully
  • on "gulp run" the app starts up fine, and I can navigate to localhost:3000 to see all the correct page with all the questions , and navigate into all of the posts and any other "read" type functions.
  • when I try to log in with [email protected] / joesPassword, I get the "uh oh the content access does not exist". Also errors when trying to do any "write" functions such as "ask a question". Also all "read" type activities are not accessible anymore (i.e. cannot see posts, only the uhoh screen)
  • same error occurs when I try run "gulp e2e". This is again strange, as the e2e testing in gulp once appear to be running fine

Do you know what I can do to fix this problem? It feels like there is something not working when I try to do any write operations to the DB, as reading / querying / and filtering posts before logging in works fine.

error stack trace:
image

This was run using

  • Samplestack v1.1.0 release
  • Marklogic 8.0-6 (fresh install with basic admin/password cred for admin as per gradle.properties installed on localhost)
  • JDK 7 u71
  • Windows 7 Enterprise SP1
@wooldridge wooldridge self-assigned this Jan 26, 2017
@wooldridge
Copy link
Contributor

I'm taking a look at this.

@clockworked247
Copy link
Contributor

@gited12314 I suggest looking at: https://github.com/marklogic/marklogic-samplestack/wiki/Passwords-in-Samplestack and make sure the user/password settings there reflect the correct credentials in your MarkLogic installation.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants