-
Notifications
You must be signed in to change notification settings - Fork 14
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
Can not write files to a bring-your-own azure storage #62
Comments
JIRA issue created: https://jira.corp.adobe.com/browse/ACNA-937 |
Thanks for reporting the issue, @duynguyen ! We'll look into that. |
Relates to #52. |
@moritzraho I just tested the new version 1.2.3 and I still have an issue with writing files (read works as expected). Anything I missed to get the fix up and running? |
@UrsBoller I am checking this. |
Reopening the issue while we are investigating further. |
We are debugging this, and looks like a very odd issue with azure write operation when file lib is imported a certain way.
|
Hi @UrsBoller , we'll wait on your feedback related to @sandeep-paliwal 's proposal. This should do the job for your use-case, while we will work on the root cause, which pretty seems to be a dependency conflict. |
@sandeep-paliwal / @meryllblanchet sorry for delay, was on a outdoor trip the whole day. but just tested the fix with changing the init and it does not change anything, still the same error message ... |
@UrsBoller do you have any remaining |
@meryllblanchet yes, I'm using the "CORE" for the logger ... |
@UrsBoller or try |
@meryllblanchet you are awesome! without the logger (aio-sdk) it works now! will try to change the logger later on, but this is no big issue (since I have my own logger anyway). thanks a lot, this fix helps! |
Fantastic @UrsBoller , we're glad to know that you're unblocked! You can follow the resolution of this one by subscribing to this PR: adobe/aio-sdk#13. |
@meryllblanchet / @sandeep-paliwal : just FYI - I'm still having issues even with the workaround and after the fix with the aio-sdk. after hours of testing what is the cause of the failure I narrowed down the root cause to "aio-lib-analytics". As soon as I include analytics, the aio-lib-files failes again. I couldn't figure out what exactly happens, I just included the library and executed the function "getCurrentUser()". I found another way to solve my issue (without using aio-lib-analytics), so fixed for me. |
@UrsBoller thank you for confirming this issue to us, which is ultimately the same than the one that you observed when using To fix it, we will have to update the swagger client dependency in every SDK library and make sure it doesn't fail when the "bring your own storage" feature of the cc @sandeep-paliwal @moritzraho for more details. |
I would like to use a BYO azure storage with the Files SDK:
However files.write gave a bad creds error even though all creds are correct:
Reference: reported by @UrsBoller in the Firefly Forum: https://experienceleaguecommunities.adobe.com/t5/project-firefly-questions/access-to-own-storage-using-aio-lib-state-and-aio-lib-action/qaq-p/378249/comment-id/202#M202
The text was updated successfully, but these errors were encountered: