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

Getting internal server errors running tests against Dev server #209

Closed
jbonacci opened this issue Sep 23, 2013 · 2 comments
Closed

Getting internal server errors running tests against Dev server #209

jbonacci opened this issue Sep 23, 2013 · 2 comments

Comments

@jbonacci
Copy link

This used to work!
See #154

If I run this
PUBLIC_URL="https://idp.dev.lcip.org" npm test

or even just this
PUBLIC_URL="https://idp.dev.lcip.org" node test/run/integration_tests.js

for example, then I get internal server errors similar to the following:
Create account flow
not ok 1 An internal server error occurred
file: /Users/jabonacci/picl-idp/node_modules/p-promise/p.js
line: 263
column: 10
stack:
- getCaller (/Users/jabonacci/picl-idp/node_modules/tap/lib/tap-assert.js:418:17)
- assert (/Users/jabonacci/picl-idp/node_modules/tap/lib/tap-assert.js:21:16)
- Function.fail (/Users/jabonacci/picl-idp/node_modules/tap/lib/tap-assert.js:95:10)
- Test._testAssert as fail
- /Users/jabonacci/picl-idp/test/run/integration_tests.js:68:15
- onSettled (/Users/jabonacci/picl-idp/node_modules/p-promise/p.js:263:10)
- onTick (/Users/jabonacci/picl-idp/node_modules/p-promise/p.js:40:4)
- process._tickDomainCallback (node.js:459:13)
...

I do not get these errors if I run against the local server ("npm start")...

@rfk
Copy link
Contributor

rfk commented Sep 24, 2013

When trying to create an account via the FAB web UI, I get a "database connection unavailable" error. Sounds like it's probably the same underlying cause.

@rfk
Copy link
Contributor

rfk commented Sep 24, 2013

This seems to be working again after re-deploying the dev server. You can also use the new dev log aggregator to go spelunking during the run: http://logs.dev.lcip.org/

To be clear: the tests will still fail against the dev server, because it doesn't have auto-verification of new accounts switched on. But you should get error messages about "unverified account" rather than "internal server error".

@rfk rfk closed this as completed Sep 24, 2013
rfk pushed a commit that referenced this issue Oct 24, 2018
See docs/api.md for changes to endpoints.

Closes #209
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

2 participants