question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Shared MD authorisation request not rejected if MD doesn't exist

See original GitHub issue

When sending an authorisation request for shared MD, there is no response if the targeted MD doesn’t exist on the network.

Also, when clicking the x button in an authorisation popup a “rejected” auth response is sent back to the app instead of just ignoring it and not send any response at all: image

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
mrcnskicommented, Jan 11, 2019

Hey @hunterlester, I’ve investigated this and so far found nothing out of the ordinary that would be causing any issues.

So does that mean a ptr::null() is expected? Even if so, I’d then expect to log a null pointer and not simply a null value.

It’s valid, and it’s the same thing I see in our Rust-side share_mdata tests where an error is expected.

The second argument of the callback call is an FffiResult, which I observe in the browser’s authenticator to log what looks like a pointer whose referenced values have been freed from memory.

This is the only part that worries me. You should be able to reference the FfiResult here to get the error information – it’s what we do in our Rust tests. Can you confirm that this is not an issue of garbage collection in the browser or something along those lines?

I don’t see anything weird on the Rust side and we handle this error the same way as we do everywhere else. It’s possible that our current error handling is incorrect and you’ve discovered a case where the FfiResult value is dropped when it shouldn’t be.

Read more comments on GitHub >

github_iconTop Results From Across the Web

podman/troubleshooting.md at main · containers ... - GitHub
8) Permission denied when running systemd within a Podman container. When running systemd as PID 1 inside of a container on an SELinux...
Read more >
Chapter 3: Exceptions to Disclosure - Maryland Attorney General
An agency may not generally share personnel records with other agencies; however, it is implicit in the personnel records exemption that another agency...
Read more >
mount.nfs: access denied by server while mounting error
Try to mount the NFS share on NFS client. Ensure share is being exported to client in question. Mounting the nfs share from...
Read more >
Refusal of Care - StatPearls - NCBI Bookshelf - NIH
A patient's right to the refusal of care is founded upon one of the basic ethical principles of medicine, autonomy.
Read more >
How Should Physicians Respond When Patients Distrust ...
This case highlights important issues that arise when patients request gender-concordant clinician care, particularly from medical student trainees.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found