Repository navigation
Error while downloading iTwin models #9599
|
Hi we have a application that connect to bentley (@itwin/core-backend) and download iModel to process it. Recently we are encountering error as "iTwinNotFound". Could you please help us. |
Replies: 3 comments 4 replies
|
Hello, first step would be to validate that iTwin still exist and your user has access to the iTwin. Are |
|
Thanks for your response. I have verified and iTwin esists. I logged the trace error and found following logs [{"severityLevel":"Error","outerId":"0","message":"iTwinNotFound","type":"Error","id":"0","parsedStack":[{"method":"trackError","level":0,"line":414923,"assembly":"at trackError (/Application/app/server/index.js:414923:69)","fileName":"/Application/app/server/index.js"},{"method":"Agent.","level":1,"line":412258,"assembly":"at Agent. (/Application/app/server/index.js:412258:39)","fileName":"/Application/app/server/index.js"},{"method":"rejected","level":2,"line":412197,"assembly":"at rejected (/Application/app/server/index.js:412197:65)","fileName":"/Application/app/server/index.js"},{"method":"process.processTicksAndRejections","level":3,"line":103,"assembly":"at process.processTicksAndRejections (node:internal/process/task_queues:103:5)","fileName":"node:internal/process/task_queues"}]}] [{"severityLevel":"Error","outerId":"0","message":"Failed Initializing Agent: iTwinNotFound","type":"Error","id":"0","parsedStack":[{"method":"Agent.","level":0,"line":412259,"assembly":"at Agent. (/Application/app/server/index.js:412259:23)","fileName":"/Application/app/server/index.js"},{"method":"rejected","level":1,"line":412197,"assembly":"at rejected (/Application/app/server/index.js:412197:65)","fileName":"/Application/app/server/index.js"},{"method":"process.processTicksAndRejections","level":2,"line":103,"assembly":"at process.processTicksAndRejections (node:internal/process/task_queues:103:5)","fileName":"node:internal/process/task_queues"}]}] Hope this will help to figure out the issue. Thanks, |
|
I think I have identified the issue. While we download a model using briefcase from bentley blob cloud storage, bentley uses blob cloud SAAS url (xxxxxx.blob.core.windows.net/imodelblocks-xxxxxxx). We have whitelisted couple of bentley blob cloud storage urls, but it seems bentley keeps on changing this blob url, and when there is change in blob url our download functionality fails. So, we have to ask out technical team to whitelist a new blob url. Now can you please help me to understand how bentley determine this blob url, or is there any supporting bentley documentations for this so that we can refer that to our technical team and based on that they can whitelist the blob urls Thanks, |
Yes, you are right. There are two separate storages. One is main storage for original files, other one is for optimizations (checkpoints).
Main storage url format is imodelhubprod{region}sa01.blob.core.windows.net. Updated table above with both storages URLs.