-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Route bootstrap hangs indefinitely #608
Comments
Hey @tobiasdiez 👋 For the second part of your issue ( For the first part of the issue (About the authentication), I've forwarded this to the team in charge of this topic, that should answer you shortly 👍 |
Hi, I have been looking through the server logs and couldn't find any error or timeout on the authentication routes (max is a couple seconds). Could you please retry and see if the issue persists. If so, could you please provide a timestamp of the attempt so that we can see if the error shows up in the server logs. Thanks |
Thanks @jeffladiray and @realSpok for your help! First of all, of course, loading the I think however that there should be a timeout on the superagent request. What do you think? |
I guess we missed this answer :'( i've created a ticket to add a timeout on those superagent calls as it would have been easier to understand the issue indeed. I'm closing this, as the global issue is resolved on your end, and we'll let you know once the timeout is added on those calls. Thanks for your feedback 🙏 |
Expected behavior
Starting the agent with
agent.start()
works.Actual behavior
However, it hangs forever.
Failure Logs
There are no relevant logs printed. I tried to debug it and found out that execution of these promises never finishes:
agent-nodejs/packages/agent/src/agent.ts
Line 150 in dd3a18c
In fact, looking at
agent-nodejs/packages/forestadmin-client/src/utils/server.ts
Lines 18 to 24 in dd3a18c
https://ladjs.github.io/superagent/#timeouts
But this doesn't really explain why there is no response from the auth server in the first place...
Context
The code I'm using can be found at JabRef/JabRefOnline#1345. Just follow https://github.com/JabRef/JabRefOnline#getting-started to setup the local db, and then run
yarn dev
which starts the server. After that the forestadmin backend should be available at http://localhost:3000/_admin, but actually the server does not respond.I've also tried to play around with the standalone mount:
yarn node .\server\adminsimple.js
. But this fails withThe text was updated successfully, but these errors were encountered: