-
Notifications
You must be signed in to change notification settings - Fork 46
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
Shipped securedrop-client incompatible with latest journalist API #241
Comments
wow - big apologies for the confusion @deeplow. So this was issue freedomofpress/securedrop-client#232 / freedomofpress/securedrop#4064, an issue with the auth header as you correctly point out. We should probably cut another release of |
Is the required fix merged into |
Yes, that was fixed with freedomofpress/securedrop-client#237 |
Thanks for the clarity, @heartsucker. Given that we'd also have to cut a new release of the client code in order to unblock the package builds, let's indeed wait a bit, as @redshiftzero . Holler if you have any problems with getting the dev env set up, @deeplow ! |
(which is in master but unreleased - i.e. the latest securedrop-client debian packages are broken with latest securedrop server, hence the behavior @deeplow observes) |
@redshiftzero No worries! It was a bit frustrating in the beginning, but it actually made me learn lot of
@redshiftzero Sounds good. I'll do it. |
Let's make sure to remove any clarifications from #242 in the README once this issue is resolved. |
add note on securedrop client testing (issue #241)
The plan to update the client, as discussed during today's sprint planning for the 4/17-5/1 sprint, breaks the steps out as follows:
@kushaldas has offered to be point on this, with @creviera shadowing as much as possible to become familiar with the release process. |
UpdateRan through creating a debian package with kushal today for Here's what we did and what we'll do again for the client... Debian packaging prep
Copy new package files to localwheels directory using
Push the changes to an aws s3 bucket: dev-bin.ops.securedrop.org. You will need permission to write to this bucket.
Manually add s3 urls that point to the new wheels in the
Make a PR for the changes made to
Once PR from step 4 is merged, run Update target project
Now that there's an updated
After all PRs are merged from the preparation steps, push a new tag on the target project. Build the Debian package
Run
Run Release the package to the apt servers(Mickael is needed for this step. We didn't get to this today.) Notes
|
🎉 🎉 Version 0.0.7 of the client has been released to the apt servers, resolving this issue. 🎉 🎉 You can pull the latest debian package from the apt test server by updating the |
For those that have an install of |
Description
When installing the securedrop-workstation, following the README.md and testing it with the latest securedrop journalist server version, the securedrop-client is not able to view the documents ("waiting to refresh" indefinitely)
Steps to Reproduce
Expected Behavior
A successful login and to be able to see the files shared with journalist
(the problem is not is not with the server, as suggested on gitter. Image below shows a successful login on the web interface)
Actual Behavior
It looks like the login is successful because it shows the button log out, but a message shows "waiting to refresh" indefinitely.
Comments
I was able to pinpoint the specific issue to a "Malformed authorization header." sent by the client. (Not that this matters, because it must have been fixed in the meantime)
The problem seems to stop when we copy from the source code to sd-svs and run that version (but that process is not documented and it took me a while to figure out - rpc-policies, enable networking, removing --no-proxy flag, etc.).
I ended up taking a few days to complete the whole installation process and to figure out a solution. But to avoid that people interested in the project also need to figure it out too I would suggest a warning in the section about the securedrop client saying that it might not work and it should instead be tested in the sd-dev machine (that's the easy solution that shouldn't take away the devs' time)
Another other solution would involve either making sure the master of this repo passes on the test with the journalist api server version of the upstream version (which I don't think it is much worth it in terms of time at this stage)
The text was updated successfully, but these errors were encountered: