-
Notifications
You must be signed in to change notification settings - Fork 42
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
WCP call to response server results in 401 error #65
Comments
I can't find relevant detailed log for this on response server. Only seeing access log:
|
It's probably failing the authentication here: https://github.com/GoogleCloudPlatform/fda-mystudies/blob/early-access/response-server-ws/src/main/java/com/google/cloud/healthcare/fdamystudies/config/WebSecurityConfig.java#L27 |
Keeping this open until it's verified end-to-end. |
Looks like |
I created a study on WCP with the changes and I'm getting this error now on WCP:
Logs on response server:
Logs on auth server:
|
This should be fixed with https://github.com/GoogleCloudPlatform/fda-mystudies/pull/69/files. Pushing the server now. |
Created
|
Logs on WCP:
2020-04-02 18:36:17,079 WARN [http-nio-8080-exec-8] (RestTemplate.java:549) - POST request for "http://35.196.119.71:60000/mystudies-response-server/studymetadata" resulted in 401 (null); invoking error handler 2020-04-02 18:36:17,080 ERROR [http-nio-8080-exec-8] (StudyController.java:5160) - StudyController - submitResponseToResponseServer() - ERROR org.springframework.web.client.HttpClientErrorException: 401 null at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:88) at org.springframework.web.client.RestTemplate.handleResponseError(RestTemplate.java:556) at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:514) at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:472) at org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:420) at com.fdahpstudydesigner.controller.StudyController.submitResponseToResponseServer(StudyController.java:5151)
The text was updated successfully, but these errors were encountered: