Skip to content
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

Adding review form to existing assignment #36

Closed
kongebra opened this issue Mar 7, 2019 · 1 comment
Closed

Adding review form to existing assignment #36

kongebra opened this issue Mar 7, 2019 · 1 comment
Assignees
Labels
bug Something isn't working invalid This doesn't seem right

Comments

@kongebra
Copy link
Collaborator

kongebra commented Mar 7, 2019

Environment

Only running webservice, localhost. Not Docker.

What I did

Created a review form called "Test", and 2 text fields: "A" & "B"
Edit Assignment 1, adding the review form to it.
Press update button, got this message

Error

2019/03/07 21:59:49 The HTTP request to schedulerservice failed with error Get http:///1/1: http: no Host in request URL
2019/03/07 21:59:49 Post http:: http: no Host in request URL
@kongebra kongebra added bug Something isn't working invalid This doesn't seem right labels Mar 7, 2019
@JohanAanesen
Copy link
Owner

This is because when you update or create an assignment with the peer review nr set and a submission form set, it will try and schedule the peer review with the schedulerservice. Since you are not running this through docker it won't get the envvar which holds the address to the service, even with an address you are not runnning the service:

How to fix this:

  • See docker-compose.yml for the name of the envvar
  • Run scheduleservice locally
  • Set it locally in your environment as SCHEDULE_SERVICE: localhost:8086

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

2 participants