Comments (7)
@stu-ball , the UX upload feature uses the BlobServiceClient() to directly upload the files to Azure Blob Storage using a blob URI with SAS token.
The code in app/frontend/src/components/filepicker/file-picker.tsx
calls a method in the backend App Service that generates a URI with SAS token using Azure Storage Account key credentials in app/backend/app.py
.
You may need to think of an alternate pattern if you have CDN, APIM, or other proxy pattern in place.
from pubsec-info-assistant.
@gitBenJo , after the file is uploaded to the Blob Storage into the "upload" container. An Azure Function is triggered by the upload of the file. This occurs before the file will be indexed by the Azure Search Indexer.
A couple things to check:
- That the Function App Host in your Resource Group has "Always On" set to true.
- Check the error logs for the Azure Functions by going to the Function App Host --> Go to the function "FileUploadedFunc" and check the Monitor tab. Here you can see exceptions if they are occurring.
from pubsec-info-assistant.
Thanks @dayland
@stu-ball can you reflect your findings here ... if we tried above, or what you saw even prior to the Azure Function trigger pls?
from pubsec-info-assistant.
Thanks @gitBenJo - in our case it looks like the files aren't making it as far as the "upload" container, so the Azure Function isn't being triggered.
We don't have a firewall in front of the web app. We do have a (classic) Microsoft CDN in front, however we are still experiencing this intermittent issue even if we bypass the CDN.
from pubsec-info-assistant.
This ticket is marked for closure due to inactivity in 5 days.
from pubsec-info-assistant.
@stu-ball , the UX upload feature uses the BlobServiceClient() to directly upload the files to Azure Blob Storage using a blob URI with SAS token.
The code in
app/frontend/src/components/filepicker/file-picker.tsx
calls a method in the backend App Service that generates a URI with SAS token using Azure Storage Account key credentials inapp/backend/app.py
.You may need to think of an alternate pattern if you have CDN, APIM, or other proxy pattern in place.
@dayland - I believe @stu-ball implemented an alternate re CDN & our uploads now work more consistently. Thank you !!
from pubsec-info-assistant.
Thanks. Closing
from pubsec-info-assistant.
Related Issues (20)
- Not able to deploy the code HOT 2
- Unable to deploy - "No Language set, please check local.env.example for DEFAULT_LANGUAGE" HOT 1
- Upload of Json file hanging HOT 5
- Azure Gov Deployment: App Registration Redirect URI pointing to ".net" instead of ".us" HOT 1
- Gov deployment embedding error
- File still stuck on Queued HOT 2
- Information Assistant web app (rel 1.0) responses include unrelated content in thought process HOT 3
- Queued Error when uploading Json or CSV HOT 4
- Read Time Out after Batch Testing HOT 3
- separate admin and end user experience
- Deployment error for V1.1 : CredentialInvalidLifetimeAsPerAppPolicy: Credential lifetime exceeds the max value allowed as per assigned HOT 3
- Mobile ui
- Work & Work
- Host name check failed for non-existing function app HOT 3
- Increase maximum question length HOT 2
- Access to Sharepoint subfolders in UI HOT 3
- Unable to process PDF files - Form Processor error - 400 Bad Request HOT 3
- What are the steps to redeploy after changing the UI ? HOT 2
- Ability to change the prompting inside of the application HOT 1
- Application Error when trying to view "https://infoasst-enrichmentweb-gdkis.azurewebsites.net/"web page HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pubsec-info-assistant.