
点击后,告诉我没权限,直接弹出到登陆页面。。
nacos-server-2.1.0版本
KomachiSion push alibaba/nacos
commit sha: d6f27409a68163bd297027fd5f4a612a6d5202db
push time in 1 minute agoKomachiSion issue alibaba/nacos
点击后,告诉我没权限,直接弹出到登陆页面。。
nacos-server-2.1.0版本
KomachiSion pull request alibaba/nacos
Close #8417
XX
XXXX
Follow this checklist to help us incorporate your contribution quickly and easily:
[ISSUE #123] Fix UnknownException when host config not exist
. Each commit in the pull request should have a meaningful subject line and body.mvn -B clean package apache-rat:check findbugs:findbugs -Dmaven.test.skip=true
to make sure basic checks pass. Run mvn clean install -DskipITs
to make sure unit-test pass. Run mvn clean test-compile failsafe:integration-test
to make sure integration-test pass.KomachiSion merge to alibaba/nacos
Close #8417
XX
XXXX
Follow this checklist to help us incorporate your contribution quickly and easily:
[ISSUE #123] Fix UnknownException when host config not exist
. Each commit in the pull request should have a meaningful subject line and body.mvn -B clean package apache-rat:check findbugs:findbugs -Dmaven.test.skip=true
to make sure basic checks pass. Run mvn clean install -DskipITs
to make sure unit-test pass. Run mvn clean test-compile failsafe:integration-test
to make sure integration-test pass.jinliangli issue alibaba/AliOS-Things
No response
A bug happened! 运行环境: 固件版本:
master (Default)
No response
No response
jinliangli issue comment alibaba/AliOS-Things
No response
A bug happened! 运行环境: 固件版本:
master (Default)
No response
No response
Troy-2015 issue comment alibaba/spring-cloud-alibaba
Which Component Nacos Discovery
Version
<dependency>
<groupId>com.alibaba.cloud</groupId>
<artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
<version>2021.0.1.0</version>
</dependency>
Describe the bug
When I run my application and register my service instance with the config spring.cloud.nacos.discovery.ephemeral=false
, by which indicates that it's a permanent service. But when I shutdown the application gracefully, the console shows that it deregisters the instance:
2022-03-28 14:22:04.197 INFO 19248 --- [ionShutdownHook] c.a.c.n.registry.NacosServiceRegistry : De-registering from Nacos Server now...
2022-03-28 14:22:04.216 INFO 19248 --- [ionShutdownHook] c.a.c.n.registry.NacosServiceRegistry : De-registration finished.
Yet it turns out doesn't deregister the instance.
I've checked the deregister code:
com.alibaba.cloud.nacos.registry.NacosServiceRegistry#deregister(Registration registration)
@Override
public void deregister(Registration registration) {
...
NamingService namingService = namingService();
String serviceId = registration.getServiceId();
String group = nacosDiscoveryProperties.getGroup();
try {
namingService.deregisterInstance(serviceId, group, registration.getHost(),
registration.getPort(), nacosDiscoveryProperties.getClusterName());
}
catch (Exception e) {
...
}
...
}
com.alibaba.nacos.client.naming.NacosNamingService#deregisterInstance(String serviceName, String groupName, String ip, int port, String clusterName)
@Override
public void deregisterInstance(String serviceName, String groupName, String ip, int port, String clusterName)
throws NacosException {
Instance instance = new Instance();
instance.setIp(ip);
instance.setPort(port);
instance.setClusterName(clusterName);
deregisterInstance(serviceName, groupName, instance);
}
When the application shutdown gracefully, it triggers the deregister instance event. But it doesn't pass the ephemeral
param to the deregisterInstance function, and the ephemeral
field in com.alibaba.nacos.api.naming.pojo.Instance
defaults as true
, which causes the bug.
got it, thx
KomachiSion push alibaba/nacos
commit sha: 89a0f89a8b9c9d97563c78d86f07e758d143fa2d
push time in 2 minutes agoKomachiSion pull request alibaba/nacos
Please do not create a Pull Request without creating an issue first.
XXXXX
XX
XXXX
Follow this checklist to help us incorporate your contribution quickly and easily:
[ISSUE #123] Fix UnknownException when host config not exist
. Each commit in the pull request should have a meaningful subject line and body.mvn -B clean package apache-rat:check findbugs:findbugs -Dmaven.test.skip=true
to make sure basic checks pass. Run mvn clean install -DskipITs
to make sure unit-test pass. Run mvn clean test-compile failsafe:integration-test
to make sure integration-test pass.KomachiSion merge to alibaba/nacos
Please do not create a Pull Request without creating an issue first.
XXXXX
XX
XXXX
Follow this checklist to help us incorporate your contribution quickly and easily:
[ISSUE #123] Fix UnknownException when host config not exist
. Each commit in the pull request should have a meaningful subject line and body.mvn -B clean package apache-rat:check findbugs:findbugs -Dmaven.test.skip=true
to make sure basic checks pass. Run mvn clean install -DskipITs
to make sure unit-test pass. Run mvn clean test-compile failsafe:integration-test
to make sure integration-test pass.KomachiSion push alibaba/nacos
commit sha: 750e4f787c073b88033c14dab120454899fff499
push time in 3 minutes agoKomachiSion pull request alibaba/nacos
Please do not create a Pull Request without creating an issue first.
XX
XXXX
Follow this checklist to help us incorporate your contribution quickly and easily:
[ISSUE #123] Fix UnknownException when host config not exist
. Each commit in the pull request should have a meaningful subject line and body.mvn -B clean package apache-rat:check findbugs:findbugs -Dmaven.test.skip=true
to make sure basic checks pass. Run mvn clean install -DskipITs
to make sure unit-test pass. Run mvn clean test-compile failsafe:integration-test
to make sure integration-test pass.KomachiSion merge to alibaba/nacos
Please do not create a Pull Request without creating an issue first.
XX
XXXX
Follow this checklist to help us incorporate your contribution quickly and easily:
[ISSUE #123] Fix UnknownException when host config not exist
. Each commit in the pull request should have a meaningful subject line and body.mvn -B clean package apache-rat:check findbugs:findbugs -Dmaven.test.skip=true
to make sure basic checks pass. Run mvn clean install -DskipITs
to make sure unit-test pass. Run mvn clean test-compile failsafe:integration-test
to make sure integration-test pass.KomachiSion issue comment alibaba/nacos
Removing unwanted colons.
Please do not create a Pull Request without creating an issue first.
XXXXX
XX
XXXX
Follow this checklist to help us incorporate your contribution quickly and easily:
[ISSUE #123] Fix UnknownException when host config not exist
. Each commit in the pull request should have a meaningful subject line and body.mvn -B clean package apache-rat:check findbugs:findbugs -Dmaven.test.skip=true
to make sure basic checks pass. Run mvn clean install -DskipITs
to make sure unit-test pass. Run mvn clean test-compile failsafe:integration-test
to make sure integration-test pass.CI and IT can't pass. Please fix them.
rocyuan666 forked alibaba/druid
logan2013 issue alibaba/fastjson2
简要描述您碰到的问题。
请填写以下信息:
如何操作可以重现该问题:
xxx.xxx
方法...
数据...
错误//可在此输入示例代码
对您期望发生的结果进行清晰简洁的描述。
请复制并粘贴任何相关的日志输出。
如果你还有其他需要提供的信息,可以在这里填写(可以提供截图、视频等)。
codeskyblue issue comment alibaba/taobao-iphone-device
tidevice version: 0.7.13 iOS: 14.7
15:27:17 Traceback (most recent call last):
15:27:17 File "/usr/local/Cellar/[email protected]/3.9.7/Frameworks/Python.framework/Versions/3.9/lib/python3.9/runpy.py", line 197, in _run_module_as_main
15:27:17 return _run_code(code, main_globals, None,
15:27:17 File "/usr/local/Cellar/[email protected]/3.9.7/Frameworks/Python.framework/Versions/3.9/lib/python3.9/runpy.py", line 87, in _run_code
15:27:17 exec(code, run_globals)
15:27:17 File "/usr/local/lib/python3.9/site-packages/tidevice/__main__.py", line 871, in <module>
15:27:17 main()
15:27:17 File "/usr/local/lib/python3.9/site-packages/tidevice/__main__.py", line 866, in main
15:27:17 actions[args.subparser](args)
15:27:17 File "/usr/local/lib/python3.9/site-packages/tidevice/__main__.py", line 259, in cmd_xctest
15:27:17 d.xctest(args.bundle_id,
15:27:17 File "/usr/local/lib/python3.9/site-packages/tidevice/_device.py", line 970, in xctest
15:27:17 return self.xcuitest(bundle_id, target_bundle_id=target_bundle_id, logger=logger, env=env)
15:27:17 File "/usr/local/lib/python3.9/site-packages/tidevice/_device.py", line 1057, in xcuitest
15:27:17 _, pid = self._launch_app_runner(bundle_id, session_identifier,
15:27:17 File "/usr/local/lib/python3.9/site-packages/tidevice/_device.py", line 847, in _launch_app_runner
15:27:17 conn = self.connect_instruments()
15:27:17 File "/usr/local/lib/python3.9/site-packages/tidevice/_device.py", line 800, in connect_instruments
15:27:17 conn = self.start_service(
15:27:17 File "/usr/local/lib/python3.9/site-packages/tidevice/_device.py", line 492, in start_service
15:27:17 return self._unsafe_start_service(name)
15:27:17 File "/usr/local/lib/python3.9/site-packages/tidevice/_device.py", line 528, in _unsafe_start_service
15:27:17 conn = self.create_inner_connection(data['Port'], _ssl=_ssl, ssl_dial_only=ssl_dial_only)
15:27:17 File "/usr/local/lib/python3.9/site-packages/tidevice/_device.py", line 306, in create_inner_connection
15:27:17 conn.switch_to_ssl(self.ssl_pemfile_path)
15:27:17 File "/usr/local/lib/python3.9/site-packages/tidevice/_safe_socket.py", line 132, in switch_to_ssl
15:27:17 ssock = context.wrap_socket(self._sock, server_hostname="iphone.localhost")
15:27:17 File "/usr/local/Cellar/[email protected]/3.9.7/Frameworks/Python.framework/Versions/3.9/lib/python3.9/ssl.py", line 500, in wrap_socket
15:27:17 return self.sslsocket_class._create(
15:27:17 File "/usr/local/Cellar/[email protected]/3.9.7/Frameworks/Python.framework/Versions/3.9/lib/python3.9/ssl.py", line 1040, in _create
15:27:17 self.do_handshake()
15:27:17 File "/usr/local/Cellar/[email protected]/3.9.7/Frameworks/Python.framework/Versions/3.9/lib/python3.9/ssl.py", line 1309, in do_handshake
15:27:17 self._sslobj.do_handshake()
15:27:17 socket.timeout: _ssl.c:1112: The handshake operation timed out
我也不知道咋回事,以前查了好久,查出来一个socket连接没释放的问题,使用weakref修复好了之后。出现的概率低了。不过还是会出来。我也就只能重启手机了
Cathy0908 wants to merge alibaba/EasyCV
Wrap the export process with End2endModelExportWrapper. We support the export version of 'jit' and 'blade'.
One can choose whether to end2end export a model with a little bit more time cost.
For more details of blade, you can refer to https://help.aliyun.com/document_detail/205134.html
All cases should be tested, including end2end、 without end2end、with blade、raw and so on
Cathy0908 wants to merge alibaba/EasyCV
Wrap the export process with End2endModelExportWrapper. We support the export version of 'jit' and 'blade'.
One can choose whether to end2end export a model with a little bit more time cost.
For more details of blade, you can refer to https://help.aliyun.com/document_detail/205134.html
revert changes to this file
Cathy0908 wants to merge alibaba/EasyCV
Wrap the export process with End2endModelExportWrapper. We support the export version of 'jit' and 'blade'.
One can choose whether to end2end export a model with a little bit more time cost.
For more details of blade, you can refer to https://help.aliyun.com/document_detail/205134.html
The return values of detection_boxes,detection_scores,detection_classes should be fixed, please add the check of return values
[ISSUES #8417] throw a HttpSessionRequiredException when sessions expired (#8419)
[ISSUE #8417] throw a HttpSessionRequiredException when sessions expired
[ISSUE #8417] add unit test
[ISSUE #8417] repackage
Close #8417
[ISSUE #8417] retry ci
[ISSUE #8417] retry ci