semicons / java_oci_manage Goto Github PK
View Code? Open in Web Editor NEWR探长Bot(oracle云/azure云)
R探长Bot(oracle云/azure云)
我想用云服务器(容器)启动r探长,但是启动后,云主机会把我内网配置的9527映射到外网变成一个新的端口。这种情况下,虽然服务启动了,但是机器人使用默认的9527链接服务,就链接不上了。如果能够手动配置一个端口,让机器人连接,就完美了。
如果能同时配置URL和端口,那阿里云IDE都可以上了。非常完美。不止作者是否方便添加对应功能。
bot里面显示“请求报错,请检查端口是否开放,错误信息为:java.net.SocketException: Connection reset”,确认已经在https://tool.chinaz.com/port里查询过端口是通的。系统也是debian。请问这是啥原因呢?
即将查看日志,请稍后(按【ctrl+c】可退出日志)
2022-07-05 00:29:53 服务正在启动,请稍后...
2022-07-05 00:29:56 配置获取中...
2022-07-05 00:29:56 当前profile为:DEFAULT,地区为:us-sanjose-1
2022-07-05 00:30:00 code verification passed
2022-07-05 00:30:02 成功,但当前配置获取可用域报错,疑似被封或密钥错误请检查:Error returned by ListAvailabilityDomains operation in Identity service.(401, NotAuthenticated, false) The required information to complete authentication was not provided or was incorrect. (opc-request-id: F947FAAE248A43819175D944CCEA9D/6E6EDFD55DE0A5AC70D19076E8CD/232946B0A2B97D038DD6C4BA2E2E45AD)
Timestamp: 2022-07-05T04:30:02.577Z
大佬,23日我在tmux中启动后机器人开始刷机后,实时刷新日志中在23日23时59分之后就不会再刷新了。日志文件log_r_client.log
记录正常,一直有数据写入,但是是从24日0时1分开始的记录的。不知是否为bug,请大佬斟情处理。
因为本来的启动盘系统与需要开机系统不一致导致无法开机,在网页开机时可以选择映像,但是在bot开机选择启动盘后选择系统是无效的,无法覆盖原系统,期望能帮助改进
请求客户端失败-Failed to connect to /xx.xx.xx.xx:443
3.7.3.1,更新了,当下可以连接,但是现在连接不上。别的都没有问题
提示这个,Can_Not_Start_Shell_From_Connection
大家都不要用这个,这个狗娘养的盗刷信用卡
2023-02-19 23:57:03.228 - Unexpected exception occurred invoking async method: public void com.semicons.github.web.M.timingCheckUpdateIp()
java.lang.OutOfMemoryError: unable to create native thread: possibly out of memory or process/resource limits reached
at java.lang.Thread.start0(Native Method) ~[?:?]
at java.lang.Thread.start(Thread.java:798) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor.addWorker(ThreadPoolExecutor.java:937) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor.ensurePrestart(ThreadPoolExecutor.java:1583) ~[?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor.delayedExecute(ScheduledThreadPoolExecutor.java:346) ~[?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor.schedule(ScheduledThreadPoolExecutor.java:562) ~[?:?]
at com.semicons.github.web.M.timingCheckUpdateIp(k:2389) ~[classes!/:0.0.1-SNAPSHOT]
at com.semicons.github.web.M$$FastClassBySpringCGLIB$$7878cfaa.invoke() ~[classes!/:0.0.1-SNAPSHOT]
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) ~[spring-core-5.3.24.jar!/:5.3.24]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:793) ~[spring-aop-5.3.24.jar!/:5.3.24]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) ~[spring-aop-5.3.24.jar!/:5.3.24]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763) ~[spring-aop-5.3.24.jar!/:5.3.24]
at org.springframework.aop.interceptor.AsyncExecutionInterceptor.lambda$invoke$0(AsyncExecutionInterceptor.java:115) ~[spring-aop-5.3.24.jar!/:5.3.24]
at java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) ~[?:?]
at java.lang.Thread.run(Thread.java:829) ~[?:?]
2023-02-19 23:58:33.228 - Unexpected exception occurred invoking async method: public void com.semicons.github.web.M.timingCheckUpdateIp()
java.lang.OutOfMemoryError: unable to create native thread: possibly out of memory or process/resource limits reached
at java.lang.Thread.start0(Native Method) ~[?:?]
at java.lang.Thread.start(Thread.java:798) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor.addWorker(ThreadPoolExecutor.java:937) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor.ensurePrestart(ThreadPoolExecutor.java:1583) ~[?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor.delayedExecute(ScheduledThreadPoolExecutor.java:346) ~[?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor.schedule(ScheduledThreadPoolExecutor.java:562) ~[?:?]
at com.semicons.github.web.M.timingCheckUpdateIp(k:2389) ~[classes!/:0.0.1-SNAPSHOT]
at com.semicons.github.web.M$$FastClassBySpringCGLIB$$7878cfaa.invoke() ~[classes!/:0.0.1-SNAPSHOT]
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) ~[spring-core-5.3.24.jar!/:5.3.24]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:793) ~[spring-aop-5.3.24.jar!/:5.3.24]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) ~[spring-aop-5.3.24.jar!/:5.3.24]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763) ~[spring-aop-5.3.24.jar!/:5.3.24]
at org.springframework.aop.interceptor.AsyncExecutionInterceptor.lambda$invoke$0(AsyncExecutionInterceptor.java:115) ~[spring-aop-5.3.24.jar!/:5.3.24]
at java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) ~[?:?]
at java.lang.Thread.run(Thread.java:829) ~[?:?]
如图,开机执行出错了,求大佬赐教
你好,按照网上教程试了下,提示错误:
2024-01-25 10:21:55.522 - 启动失败,错误信息:com.dtflys.forest.exceptions.ForestConvertException: [Forest] auto converter: 'DefaultAutoConverter' error: [Forest] xml converter: 'ForestJaxbConverter' error: unexpected element (uri:"", local:"html"). Expected elements are (none)
我也查看了一下之前的issue,有一条应该是一样的,之前的回答是重新配置一下账号和密码,然后在启动。
只是不明白这个账号密码指的是?如果说R探长小助手中的账号密码么,我也重新获取了之后又试了两次程序,还是这个错误。
所以又开了issue问了一下,不好意思。
启动失败,错误信息,java.net.SocketTimeoutException: Read timed out
应该怎么办?
R-Bot
oracle配置获取成功,但当前配置获取可用域报错,疑似被封或密钥错误请检查:(-1, null, false) Processing exception while communicating to: https://identity.ap-singapore-1.oci.oraclecloud.com (outbound opc-request-id: E93E6BBF009E439E88F19C6CE5AD96C5)
这个是什么原因呢?
两台机子都是从上一版更新,更新后启动提示:
端口检测结果:未开放
检测到您没有打开端口,正在尝试打开本机端口。。。
端口打开失败!请确认云面板防火墙是否放开并尝试是否可以操作bot。
弄好了有个这个 非闪电用户只能使用1个,请删除其他客户端 然后我再R探长打开里面提示的无配置,我随便点一个里面报错是之前机子的IP 请问应该怎么解决呢。org.apache.http.conn.ConnectTimeoutException: Connect to 152.67.198.228:9527 [/152.67.198.228] failed: connect timed out
重置用户信息我重置过了两次还是以旧是这个问题
UBUNTU
2023-11-09 02:03:02.849 - request error:com.dtflys.forest.exceptions.ForestConvertException: [Forest] auto converter: 'DefaultAutoConverter' error: [Forest] xml converter: 'ForestJakartaXmlConverter' error: unexpected element (uri:"", local:"html"). Expected elements are (none)
报错如下2024-06-01 14:04:10.656 - 启动失败,错误信息:com.dtflys.forest.exceptions.ForestConvertException: [Forest] auto converter: 'DefaultAutoConverter' error: [Forest] xml converter: 'ForestJaxbConverter' error: unexpected element (uri:"", local:"html"). Expected elements are (none)
上个版本正常使用,早上看到升级就升级了一下,然后....配置文件无变动
即将查看日志,请稍后(按【ctrl+c】可退出日志)
2024-07-21 07:55:19.321 - request error:syntax error : 102
2024-07-21 07:55:19.321 - 启动失败,错误信息:syntax error : 102
2024-07-21 07:55:19.321 - 无azure配置,跳过
即将查看日志,请稍后(按【ctrl+c】可退出日志)
2024-03-25 01:26:54.361 - Application run failed
java.lang.IllegalStateException: java.lang.IllegalStateException: Could not initialize Log4J2 logging from classpath:logback-spring.xml
at org.springframework.boot.context.logging.LoggingApplicationListener.initializeSystem(LoggingApplicationListener.java:347) ~[spring-boot-3.1.7.jar!/:3.1.7]
at org.springframework.boot.context.logging.LoggingApplicationListener.initialize(LoggingApplicationListener.java:298) ~[spring-boot-3.1.7.jar!/:3.1.7]
at org.springframework.boot.context.logging.LoggingApplicationListener.onApplicationEnvironmentPreparedEvent(LoggingApplicationListener.java:246) ~[spring-boot-3.1.7.jar!/:3.1.7]
at org.springframework.boot.context.logging.LoggingApplicationListener.onApplicationEvent(LoggingApplicationListener.java:223) ~[spring-boot-3.1.7.jar!/:3.1.7]
at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:174) ~[spring-context-6.0.15.jar!/:6.0.15]
at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:167) ~[spring-context-6.0.15.jar!/:6.0.15]
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:145) ~[spring-context-6.0.15.jar!/:6.0.15]
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:133) ~[spring-context-6.0.15.jar!/:6.0.15]
at org.springframework.boot.context.event.EventPublishingRunListener.multicastInitialEvent(EventPublishingRunListener.java:136) ~[spring-boot-3.1.7.jar!/:3.1.7]
at org.springframework.boot.context.event.EventPublishingRunListener.environmentPrepared(EventPublishingRunListener.java:81) ~[spring-boot-3.1.7.jar!/:3.1.7]
at org.springframework.boot.SpringApplicationRunListeners.lambda$environmentPrepared$2(SpringApplicationRunListeners.java:64) ~[spring-boot-3.1.7.jar!/:3.1.7]
at java.lang.Iterable.forEach(Iterable.java:75) ~[?:?]
at org.springframework.boot.SpringApplicationRunListeners.doWithListeners(SpringApplicationRunListeners.java:118) ~[spring-boot-3.1.7.jar!/:3.1.7]
at org.springframework.boot.SpringApplicationRunListeners.doWithListeners(SpringApplicationRunListeners.java:112) ~[spring-boot-3.1.7.jar!/:3.1.7]
at org.springframework.boot.SpringApplicationRunListeners.environmentPrepared(SpringApplicationRunListeners.java:63) ~[spring-boot-3.1.7.jar!/:3.1.7]
at org.springframework.boot.SpringApplication.prepareEnvironment(SpringApplication.java:368) [spring-boot-3.1.7.jar!/:3.1.7]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:319) [spring-boot-3.1.7.jar!/:3.1.7]
at com.semicons.github.OBApplication.main(d:24) [classes!/:0.0.1-SNAPSHOT]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:49) [r_client.jar:0.0.1-SNAPSHOT]
at org.springframework.boot.loader.Launcher.launch(Launcher.java:95) [r_client.jar:0.0.1-SNAPSHOT]
at org.springframework.boot.loader.Launcher.launch(Launcher.java:58) [r_client.jar:0.0.1-SNAPSHOT]
at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:65) [r_client.jar:0.0.1-SNAPSHOT]
Caused by: java.lang.IllegalStateException: Could not initialize Log4J2 logging from classpath:logback-spring.xml
at org.springframework.boot.logging.log4j2.Log4J2LoggingSystem.loadConfiguration(Log4J2LoggingSystem.java:297) ~[spring-boot-3.1.7.jar!/:3.1.7]
at org.springframework.boot.logging.log4j2.Log4J2LoggingSystem.loadConfiguration(Log4J2LoggingSystem.java:272) ~[spring-boot-3.1.7.jar!/:3.1.7]
at org.springframework.boot.logging.AbstractLoggingSystem.initializeWithSpecificConfig(AbstractLoggingSystem.java:66) ~[spring-boot-3.1.7.jar!/:3.1.7]
at org.springframework.boot.logging.AbstractLoggingSystem.initialize(AbstractLoggingSystem.java:57) ~[spring-boot-3.1.7.jar!/:3.1.7]
at org.springframework.boot.logging.log4j2.Log4J2LoggingSystem.initialize(Log4J2LoggingSystem.java:246) ~[spring-boot-3.1.7.jar!/:3.1.7]
at org.springframework.boot.context.logging.LoggingApplicationListener.initializeSystem(LoggingApplicationListener.java:335) ~[spring-boot-3.1.7.jar!/:3.1.7]
... 25 more
Caused by: java.io.FileNotFoundException: class path resource [logback-spring.xml] cannot be resolved to URL because it does not exist
at org.springframework.util.ResourceUtils.getURL(ResourceUtils.java:137) ~[spring-core-6.0.15.jar!/:6.0.15]
at org.springframework.boot.logging.log4j2.Log4J2LoggingSystem.load(Log4J2LoggingSystem.java:302) ~[spring-boot-3.1.7.jar!/:3.1.7]
at org.springframework.boot.logging.log4j2.Log4J2LoggingSystem.loadConfiguration(Log4J2LoggingSystem.java:288) ~[spring-boot-3.1.7.jar!/:3.1.7]
at org.springframework.boot.logging.log4j2.Log4J2LoggingSystem.loadConfiguration(Log4J2LoggingSystem.java:272) ~[spring-boot-3.1.7.jar!/:3.1.7]
at org.springframework.boot.logging.AbstractLoggingSystem.initializeWithSpecificConfig(AbstractLoggingSystem.java:66) ~[spring-boot-3.1.7.jar!/:3.1.7]
at org.springframework.boot.logging.AbstractLoggingSystem.initialize(AbstractLoggingSystem.java:57) ~[spring-boot-3.1.7.jar!/:3.1.7]
at org.springframework.boot.logging.log4j2.Log4J2LoggingSystem.initialize(Log4J2LoggingSystem.java:246) ~[spring-boot-3.1.7.jar!/:3.1.7]
at org.springframework.boot.context.logging.LoggingApplicationListener.initializeSystem(LoggingApplicationListener.java:335) ~[spring-boot-3.1.7.jar!/:3.1.7]
... 25 more
Sent from PPHub
google了下,感觉不支持呢?请问如何安装呢?
apt install openjdk-17-jdk
源里没有呢。
2023-05-02 07:43:03.555 - error:
java.lang.NullPointerException: null
at com.semicons.github.web.M.ALLATORIxDEMO(o:3325) ~[classes!/:0.0.1-SNAPSHOT]
at com.semicons.github.web.M.ALLATORIxDEMO(o:4397) ~[classes!/:0.0.1-SNAPSHOT]
at java.lang.Thread.run(Thread.java:829) ~[?:?]
请求异常,错误信息为:请求客户端失败-Connect timed out
云账户管理(修改租户名、修改邮箱、添加管理员用户、删除用户、重置密码)
其中有一个是重置密码,是不是可以直接重置一个新密码给我登录呢?我之前绑定的域名邮箱,域名过期了,密码也丢了,现在只有OCI的API信息,账号完全登录不上去。。。。。
ubuntu20.04安装oci-cli报错,大佬知道怎么解决吗?
===> Currently supported optional packages are: ['db (will install cx_Oracle)']
What optional CLI packages would you like to be installed (comma separated names; press enter if you don't need any optional packages)?:
-- The optional packages installed will be ''.
-- Executing: ['', 'apt-get', 'update']
-- System was unable to use venv, is going to download and create virtualenv.
-- Downloading virtualenv package from https://github.com/pypa/get-virtualenv/blob/20.6.0/public/virtualenv.pyz?raw=true.
-- Downloaded virtualenv package to /tmp/tmpjj_a73ll/virtualenv-20.6.0.pyz.
-- Checksum of /tmp/tmpjj_a73ll/virtualenv-20.6.0.pyz OK.
-- Executing: ['/usr/bin/python3', 'virtualenv-20.6.0.pyz', '/root/lib/oracle-cli']
Traceback (most recent call last):
File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.8/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "virtualenv-20.6.0.pyz/main.py", line 168, in
File "virtualenv-20.6.0.pyz/main.py", line 164, in run
File "virtualenv-20.6.0.pyz/virtualenv/main.py", line 18, in run
File "virtualenv-20.6.0.pyz/virtualenv/run/init.py", line 32, in cli_run
File "virtualenv-20.6.0.pyz/virtualenv/run/session.py", line 46, in run
File "virtualenv-20.6.0.pyz/virtualenv/run/session.py", line 53, in _create
File "virtualenv-20.6.0.pyz/virtualenv/create/creator.py", line 171, in run
File "virtualenv-20.6.0.pyz/virtualenv/create/via_global_ref/builtin/via_global_self_do.py", line 79, in create
File "virtualenv-20.6.0.pyz/virtualenv/create/via_global_ref/builtin/via_global_self_do.py", line 104, in ensure_directories
File "virtualenv-20.6.0.pyz/virtualenv/create/describe.py", line 29, in bin_dir
File "virtualenv-20.6.0.pyz/virtualenv/create/describe.py", line 33, in script_dir
File "virtualenv-20.6.0.pyz/virtualenv/discovery/py_info.py", line 125, in install_path
File "virtualenv-20.6.0.pyz/virtualenv/discovery/py_info.py", line 125, in
ValueError: too many values to unpack (expected 2)
Traceback (most recent call last):
File "/tmp/oci_cli_install_tmp_s6rB", line 257, in create_virtualenv
install_python3_venv()
File "/tmp/oci_cli_install_tmp_s6rB", line 204, in install_python3_venv
exec_command(cmd)
File "/tmp/oci_cli_install_tmp_s6rB", line 141, in exec_command
subprocess.check_call(command_list, cwd=cwd, env=env)
File "/usr/lib/python3.8/subprocess.py", line 359, in check_call
retcode = call(*popenargs, **kwargs)
File "/usr/lib/python3.8/subprocess.py", line 340, in call
with Popen(*popenargs, **kwargs) as p:
File "/usr/lib/python3.8/subprocess.py", line 858, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/lib/python3.8/subprocess.py", line 1704, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
PermissionError: [Errno 13] Permission denied: ''
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/tmp/oci_cli_install_tmp_s6rB", line 722, in
main()
File "/tmp/oci_cli_install_tmp_s6rB", line 668, in main
create_virtualenv(tmp_dir, install_dir)
File "/tmp/oci_cli_install_tmp_s6rB", line 271, in create_virtualenv
download_and_create_virtualenv(tmp_dir, install_dir)
File "/tmp/oci_cli_install_tmp_s6rB", line 196, in download_and_create_virtualenv
exec_command(cmd, cwd=working_dir)
File "/tmp/oci_cli_install_tmp_s6rB", line 141, in exec_command
subprocess.check_call(command_list, cwd=cwd, env=env)
File "/usr/lib/python3.8/subprocess.py", line 364, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/usr/bin/python3', 'virtualenv-20.6.0.pyz', '/root/lib/oracle-cli']' returned non-zero exit status 1.
您好,/pubkey
的用法可否给一个示例,使用
/pubkey ssh1 ssh-rsa abcxxxxxxx
添加不成功
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.