-
Notifications
You must be signed in to change notification settings - Fork 328
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
azurite connection refused error #1194
Comments
@swimhiking Besides that, for the default connection string, do you mean "DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://127.0.0.1:10000/devstoreaccount1;QueueEndpoint=http://127.0.0.1:10001/devstoreaccount1;TableEndpoint=http://127.0.0.1:10002/devstoreaccount1;"? |
thanks for the quick reply; you are right, not sure my log has some issue, I use this command to get this log file: azurite --debug c:\azurite\debug.log; the command window has Azurite start information like above your example; for the default connection string, similar as above since I only use blob, also I specify container name using a second variable: "DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://127.0.0.1:10000/devstoreaccount1/;" Thanks for your help |
@blueww |
Do you see any request log in the Azurite debug log? |
@blueww |
@swimhiking From the Uri, it looks like filter blob with blob tag request: https://docs.microsoft.com/en-us/rest/api/storageservices/find-blobs-by-tags? |
right, this is the reason; thanks for your help. |
@swimhiking |
yes, we can close this; thanks |
Which service(blob, file, queue, table) does this issue concern?
I am using only blob service
Which version of the Azurite was used?
3.13.1 and 3.14.3
Where do you get Azurite? (npm, DockerHub, NuGet, Visual Studio Code Extension)
npm
What's the Node.js version?
16.13.0
What problem was encountered?
(failed)net::ERR_CONNECTION_REFUSED
Steps to reproduce the issue?
I have a simple react with ant design upload component, when try to upload some files, got connection refused error.
in azurite container, I also set CORS to *; access policy set to GET, PUT, POST, DELETE;
I use the default connection string;
If possible, please provide the debug log using the -d parameter, replacing <pathtodebuglog> with an appropriate path for your OS, or review the instructions for docker containers:
didn't use docker, directly run in windows 10;
debug info from log file:
2021-11-26T17:57:45.404Z info: AccountDataStore:init() Fallback to default emulator account devstoreaccount1.
2021-11-26T17:57:45.465Z info: QueueGCManager:markSweepLoop() Start new mark and sweep.
2021-11-26T17:57:45.466Z info: QueueGCManger:markSweep() Get all extents.
2021-11-26T17:57:45.466Z info: QueueGCManager:marksweep() Get 0 extents.
2021-11-26T17:57:45.466Z info: QueueGCManager:markSweep() Get referred extents, then remove from allExtents.
2021-11-26T17:57:45.466Z info: QueueGCManager:markSweep() Got referred extents, unreferenced extents count is 0.
2021-11-26T17:57:45.466Z info: QueueGCManager:markSweepLoop() Mark and sweep finished, take 0ms.
2021-11-26T17:57:45.466Z info: QueueGCManager:markSweepLoop() Sleep for 60000
2021-11-26T17:57:45.467Z info: AccountDataStore:init() Refresh accounts from environment variable AZURITE_ACCOUNTS with value undefined
2021-11-26T17:57:45.467Z info: AccountDataStore:init() Fallback to default emulator account devstoreaccount1.
Please be sure to remove any PII or sensitive information before sharing!
The debug log will log raw request headers and bodies, so that we can replay these against Azurite using REST and create tests to validate resolution.
Have you found a mitigation/solution?
currently create a blob in azure account, and it works.
The text was updated successfully, but these errors were encountered: