Hello I would like to ask why I am getting the following error when I follow the start up samples for WSO2 ESB 5.0.0:
Exception occurred :Illegal character in path at index 12: /healthcare/{uri.var.category}* Connection #0 to host localhost left intact
I obtain the error from the Commandline (I am using windows), when I do the curl command (curl -v http://localhost:8280/healthcare/querydoctor/surgery)
How can I sol0ve the prolem? Thanks
Related
I trying to follow the instruction on connecting to valgrind using gdb.
Valgrind memcheck is starts properly and asks to connect using following gdb command:
target remote | vgdb --pid=53181
but when I run this command, I get an error
Remote communication error. Target disconnected.: Connection reset by
peer
what is my mistake?
It appears that error
Remote communication error. Target disconnected.: Connection reset by peer.
is general and may indicate invalid command as well. If you run in gdb
target remote | something
it will give you the same error message.
It appeared for me, that extra space after | symbol was excess.
Correct command was actually
target remote |vgdb --pid=53181
My GDB version is GNU gdb (Ubuntu 10.2-0ubuntu1~18.04~2) 10.2
i use cURL (installed via vcpkg). Also openssl installed via vcpkg for a c++ project on VS 2019.
The problem:
CURLE_UNSUPPORTED_PROTOCOL = curl_easy_perform(curl);
I used this example:
https://curl.haxx.se/libcurl/c/ftpsget.html
with corrected connection and file data. The FTP server is filezilla. I checked the connection and file
download with filezilla client. All fine.
When i use the sample from link, i get the CURLE_UNSUPPORTED_PROTOCOL and in my FTP server i can't see
any connection try.
The error is described like this:
The URL you passed to libcurl used a protocol that this libcurl does not support..
Verbose information is:
* STATE: INIT => CONNECT handle 0x148090e0b38; line 1356 (connection #-5000)
* Protocol "ftp" not supported or disabled in libcurl
* Closing connection -1
* Expire cleared (transfer 0x148090e0b38)
I check the internet for the error message above and none of those i found solved my problem.
It seems not to be a format problem or problem related to wrong url .
So my question is, where can i enable this ? Do i need additional packages ? Or is the problem elsewhere ?
Many thanks
Mean while i figured out how to accomplish this using latest curl command line tool (version 7.68.0) on windows:
curl -u my_user:my_password --ftp-ssl ftp://my_ip/my_relative_path/my_file --insecure -o my_file
The file for download is on a server where a FileZilla FTP server is working. This server cyphers with a self created cert. The curl client only accepts this, when using flag:
--insecure
So far, i could not find the related options for my c++ curl. Perhaps it is not possible at all, because sources available through vcpkg are not (yet) up to date. But i want to stick with vcpkg. For me, this solutions: using command line tool instead, works fine.
One more hint, which is important: curl version 7.64.00 works NOT. You get error:
curl: (35) schannel: failed to receive handshake, SSL/TLS connection failed
I have a digital ocean droplet in that I have installed Centos 7.5, and on that, I have installed CWP, with that there is some problem. the problem is that I have created the emails in that CWP when I try to login the Roundcube using that email then it redirects me to the blank page. and when I debug the round cube then I got one error in the network that when I enter the email id and password and click on the login then I saw the 500 internal server error in the post request of Roundcube.
I have also tried by deleting the emails from CWP and also checked by creating new emails but the errors remain, and also I have deleted the droplet and created the new droplet and tried doing so but the error still exists.
I have installed CWP el7-latest.
Error Logs
[11-Feb-2019 07:13:36 UTC] PHP Fatal error: Uncaught Error: Class 'Net_IDNA2' not found in /usr/local/cwpsrv/var/services/roundcube/program/lib/Roundcube/bootstrap.php:405
Stack trace:
#0 /usr/local/cwpsrv/var/services/roundcube/program/lib/Roundcube/rcube_utils.php(891): idn_to_ascii('localhost')
#1 /usr/local/cwpsrv/var/services/roundcube/program/lib/Roundcube/rcube_utils.php(869): rcube_utils::idn_convert('localhost', true)
#2 /usr/local/cwpsrv/var/services/roundcube/program/include/rcmail.php(600): rcube_utils::idn_to_ascii('localhost')
#3 /usr/local/cwpsrv/var/services/roundcube/index.php(109): rcmail->login('support#buywpte...', '', 'localhost', true)
#4 {main}
thrown in /usr/local/cwpsrv/var/services/roundcube/program/lib/Roundcube/bootstrap.php on line 405
If anyone knows please help.
Anyone looking for the fix in 2021 here is what I used http://forum.centos-webpanel.com/index.php?topic=11376.0.
curl -s -L https://www.mysterydata.com/upload/tmp/cwp_rc_fix.sh | bash
Run this SSH Command to update roundcube on your CWP
sh /scripts/mail_roundcube_update
I want to start or stop mariadb in my app.
So, I am just using
system("systemctl start mariadb.service");
But it does not work.
Error is:
Error creating textual authentication agent: Error opening current controlling terminal for the process (`/dev/tty'): No such device or address (polkit-error-quark, 0)
What should I do?
My app runs with root and daemon
Thanks.
I am on Windows are trying to configure WSO2 BAM Dashboard to see API statics.
I am using WSO2 API Manager 1.5.0 (latest) for some time and it works well on port 9443.
Also I am able to start BAM 2.4.0 (latest) server.
But as soon as I go to my WSO2 AM Publisher interface and try to see All Statistics it says
- Refer our wiki to configure BAM correctly
This is what I see in my BAM logs -
INFO {org.wso2.carbon.analytics.hive.task.HiveScriptExecutorTask} - Running script executor task for script am_stats_analyzer_253.
{org.wso2.carbon.analytics.hive.task.HiveScriptExecutorTask}
TID: [0] [BAM] ERROR {org.apache.hadoop.hive.ql.exec.ExecDriver} - Exception: Cannot run program "C:\Program" (in directory "C:\wso2bam-2.4.0"): CreateProcess error=2, The system cannot find the file specified {org.apache.hadoop.hive.ql.exec.ExecDriver}
TID: [0] [BAM] ERROR {org.apache.hadoop.hive.ql.Driver} - FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.MapRedTask {org.apache.hadoop.hive.ql.Driver}
TID: [0] [BAM] ERROR {org.wso2.carbon.analytics.hive.impl.HiveExecutorServiceImpl} - Error while executing Hive script.
Query returned non-zero code: 9, cause: FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.MapRedTask {org.wso2.carbon.analytics.hive.impl.HiveExecutorServiceImpl}
java.sql.SQLException: Query returned non-zero code: 9, cause: FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.MapRedTask
I am not able to execute the Hive script on windows.
I have installed cygwin also - not sure what is going wrong.
I have followed all the documentation.
This could be due the BAM cannot execute cywin commands. Please try to install Cywin into C drive and make sure no space in file path and add "C:\cygwin64\bin" to the windows PATH, also make sure BAM running user has rights to run cygwin commands ( in default nothing to do in windows, unless you may set some special permission ).
Please makes sure you have appended value "C:\cygwin\bin" correctly to PATH variable "Environment variable configuration" section in Windows.
Reason for this scenario could be due to windows command line is looking for cygwin in a different path.