Comments (2)
Quoted from @rafaelldi in #777:
Could you please describe your scenario in more detail there? For example, are you using Azurite in a Docker container or installing it via npm. Or anything else that might be related to the problem. I need that to properly reproduce the issue.
I use Rider 2023.3.3. In Rider's Azurite settings, I point to C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\IDE\Extensions\Microsoft\Azure Storage Emulator\azurite.exe
because Visual Studio is also installed on my PC. I self-signed an SSL certificate using mkcert
on IP 127.0.0.1. Azurite is started by Rider, i.e. when I run a local Azure function, the "Start Azurite" service is automatically added under the " before launch" setting of the function's run configuration.
Furthermore, when I start the Azurite service in Rider manually and visit 127.0.0.1: in my browser, I see no SSL problems. If I leave out the SSL configuration in the Azure settings however, I do get an SSL warning, therefore I assume I have configured the self-signed certificate properly.
If you need more information, please let me know.
from azure-tools-for-intellij.
Hi! Sorry for the late reply, I didn't have a chance to reproduce this problem earlier.
To be honest, I don't have any problems. With mkcert
I executed these two commands and generated the Azurite certificate.
mkcert -install
mkcert 127.0.0.1
I then set these values in the settings and started Azurite from the Services tool window.
![image](https://private-user-images.githubusercontent.com/16965141/323191335-068b1d75-4753-4d70-9e87-df27e8092a12.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjM3Mjg2OTUsIm5iZiI6MTcyMzcyODM5NSwicGF0aCI6Ii8xNjk2NTE0MS8zMjMxOTEzMzUtMDY4YjFkNzUtNDc1My00ZDcwLTllODctZGYyN2U4MDkyYTEyLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MTUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODE1VDEzMjYzNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWQyMDY5MjYwMTI2NDkzNjc0NjE1NmE1MTVhZmNjNjEzNjhmYTJjMGUxNmFlOTliOTRiM2UzOWRjNzEwZDVmMGMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.m5EK6yOEJhIXnHumPLbjhls_L6R10CjUGaZ0SJov1wk)
Everything started successfully.
![image](https://private-user-images.githubusercontent.com/16965141/323192005-bb0cdb41-ced9-4b42-885b-acd804377040.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjM3Mjg2OTUsIm5iZiI6MTcyMzcyODM5NSwicGF0aCI6Ii8xNjk2NTE0MS8zMjMxOTIwMDUtYmIwY2RiNDEtY2VkOS00YjQyLTg4NWItYWNkODA0Mzc3MDQwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MTUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODE1VDEzMjYzNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTkwYjkyNDA4YTFhOTU1OTc1OTI4OTg5ZTA4NDY1MDQ5YmZiNzcxYjRjYjBkOTQ1YzJlMjI1OGRlYjgwMDE2ODImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.utaZROooZiMxaDZVUgvTbOBpmo5A3lOLEeTSUv1TBGI)
While investigating this, I realized that there is no way to set the --oauth basic
option to the Azurite executable. I will add this setting.
You can then set this connection string in the local.settings.json
file in the AzureWebJobsStorage
field, and the function will successfully connect to the https
endpoint.
"AzureWebJobsStorage": "DefaultEndpointsProtocol=https;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=https://127.0.0.1:10000/devstoreaccount1;QueueEndpoint=https://127.0.0.1:10001/devstoreaccount1;TableEndpoint=https://127.0.0.1:10002/devstoreaccount1;"
from azure-tools-for-intellij.
Related Issues (20)
- Enable "Start Azurite" task for all run configurations
- Azure Explorer Stuck accessing Web and Function Apps HOT 6
- Migrate Azure Service Authentication
- Support for CosmosDb, Key Vault and Redis
- Support for Azure Gov Cloud?
- Implement Swap with Production action
- Syntax highlighting abruptly stops in a Bicep file HOT 1
- Unknown JSON token error in local.settings.json file preventing running/debugging HOT 2
- Add sorting to Azure Explorer
- Publishing function app fails with 401 Unauthorized error HOT 5
- There is not enough space on the disk HOT 1
- Project templates are not removed
- App settings for deploying web apps and functions - enhancements to 4.0 preview HOT 1
- Support EAP versions of Rider HOT 2
- Publishing function app fails with 401 Unauthorized error HOT 2
- V4 Failed to proceed. Unsupported text Content-Type Type: class java.lang.Object. HOT 7
- Deploying a dotnet-isolated function app with 3.50.0 breaks all functions HOT 1
- [4.0] Unable to deploy function app from standalone project HOT 8
- Publishing my Azure Function removed all my function's app settings and now gives a java.lang.Object error 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 azure-tools-for-intellij.