secbro2
secbro2
> the document [here](https://github.com/langgenius/dify/blob/main/api/core/app/apps/README.md) described how they use `db.session`, I think they already considered this high-concurrency scene. In theory, this is the case, but under high concurrency, there have already...
Additional information: ### Exception The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/app/api/.venv/lib/python3.10/site-packages/flask/app.py", line 880, in full_dispatch_request rv = self.dispatch_request() File...
> 部署nacos集群是否不能设置为embedded存储模式,用mysql一切正常 > > 根据nacose-ip.yml修改: #nacos dev env NACOS_SERVERS=172.16.238.10:8848 172.16.238.11:8848 172.16.238.12:8848 NACOS_AUTH_ENABLE=true EMBEDDED_STORAGE=embedded #SPRING_DATASOURCE_PLATFORM=mysql #MYSQL_SERVICE_HOST=172.100.0.1 #MYSQL_SERVICE_DB_NAME=nacos #MYSQL_SERVICE_PORT=3306 #MYSQL_SERVICE_USER=xxxx #MYSQL_SERVICE_PASSWORD=xxxx #MYSQL_SERVICE_DB_PARAM=characterEncoding=utf8&connectTimeout=1000&socketTimeout=3000&autoReconnect=true&useSSL=false&allowPublicKeyRetrieval=true NACOS_AUTH_IDENTITY_KEY=2222 NACOS_AUTH_IDENTITY_VALUE=2xxx NACOS_AUTH_TOKEN=SecretKey012345678901234567890123456789012345678901234567890123456789 > > nacos.log Caused by: com.alibaba.nacos.api.exception.runtime.NacosRuntimeException: errCode:...
> 有同样的疑问: > > ```shell > org.springframework.context.ApplicationContextException: Unable to start web server; nested exception is org.springframework.boot.web.server.WebServerException: Unable to start embedded Tomcat > at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.onRefresh(ServletWebServerApplicationContext.java:165) > at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:577) > at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:147)...