Title: corvy's Replies | WordPress.org

---

# corvy

  [  ](https://wordpress.org/support/users/corvy/)

 *   [Profile](https://wordpress.org/support/users/corvy/)
 *   [Topics Started](https://wordpress.org/support/users/corvy/topics/)
 *   [Replies Created](https://wordpress.org/support/users/corvy/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/corvy/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/corvy/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/corvy/engagements/)
 *   [Favorites](https://wordpress.org/support/users/corvy/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 25 total)

1 [2](https://wordpress.org/support/users/corvy/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/corvy/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Ejabberd Account Tools] How to debug](https://wordpress.org/support/topic/how-to-debug-4/)
 *  Thread Starter [corvy](https://wordpress.org/support/users/corvy/)
 * (@corvy)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/how-to-debug-4/page/2/#post-13282939)
 * Is the fixes you made now in 2.6.2? 🙂
 * Just now also create a shoutout to your plugin on the [http://www.jabber.no](http://www.jabber.no)
   webpage:
 * [https://www.jabber.no/registreringsskjema-er-apnet/?lang=en](https://www.jabber.no/registreringsskjema-er-apnet/?lang=en)
    -  This reply was modified 5 years, 10 months ago by [corvy](https://wordpress.org/support/users/corvy/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Ejabberd Account Tools] How to debug](https://wordpress.org/support/topic/how-to-debug-4/)
 *  Thread Starter [corvy](https://wordpress.org/support/users/corvy/)
 * (@corvy)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/how-to-debug-4/page/2/#post-13279031)
 * I found the permalink problem and fixed it, now it works as expected!
 * Thanks!
    -  This reply was modified 5 years, 10 months ago by [corvy](https://wordpress.org/support/users/corvy/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Ejabberd Account Tools] How to debug](https://wordpress.org/support/topic/how-to-debug-4/)
 *  Thread Starter [corvy](https://wordpress.org/support/users/corvy/)
 * (@corvy)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/how-to-debug-4/page/2/#post-13278980)
 * Ok, I will try that. I had some issues with permalinks before but I will try 
   again.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Ejabberd Account Tools] How to debug](https://wordpress.org/support/topic/how-to-debug-4/)
 *  Thread Starter [corvy](https://wordpress.org/support/users/corvy/)
 * (@corvy)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/how-to-debug-4/#post-13278884)
 * Hello again [@beherit](https://wordpress.org/support/users/beherit/), I have 
   progressed quite a bit since yesterday. The accounts gets created and I also 
   set up email sending from the server finally stopping the mails from getting 
   caught in SPAM filters. But now I struggle with the activation emails and password
   reset emails. For instance I get this email link to press:
 * [https://www.jabber.no/?code=78df23486199ce303df23651dd693169](https://www.jabber.no/?code=78df23486199ce303df23651dd693169)
 * But when I press it I get no confirmation or landing page. Is this expected?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Ejabberd Account Tools] How to debug](https://wordpress.org/support/topic/how-to-debug-4/)
 *  Thread Starter [corvy](https://wordpress.org/support/users/corvy/)
 * (@corvy)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/how-to-debug-4/#post-13277662)
 * Just created a few tables missing the MySQL database and also enabled SCRAM for
   passwords and now it seems to be working. Thanks!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Ejabberd Account Tools] How to debug](https://wordpress.org/support/topic/how-to-debug-4/)
 *  Thread Starter [corvy](https://wordpress.org/support/users/corvy/)
 * (@corvy)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/how-to-debug-4/#post-13277416)
 * Yes I have, but there is something wrong with my database it seems. I think there
   was an error during one of the schema updates. This seems to be causing the troubles(
   I have not been adding users for months due to a spam attack).
 * `2020-08-18 22:19:29.802644+02:00 [error] <0.457.0>@ejabberd_sql:check_error/
   2:1236 SQL query 'INSERT INTO users(username, password) VALUES ('proact6', '6b8a3278a4b4ac1d');'
   failed: "#HY000Field 'serverkey' doesn't have a default value"`
 * Or could it be due to the fact I use plain passwords in the DB still? I should
   move to encrypted ones… if so then this will be my next step.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Ejabberd Account Tools] How to debug](https://wordpress.org/support/topic/how-to-debug-4/)
 *  Thread Starter [corvy](https://wordpress.org/support/users/corvy/)
 * (@corvy)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/how-to-debug-4/#post-13275974)
 * Thanks again 🙂 I now get message that the user ID is taken.
 * [https://pasteboard.co/JmXhmsZ.png](https://pasteboard.co/JmXhmsZ.png)
 * [https://pasteboard.co/JmXhxQa.png](https://pasteboard.co/JmXhxQa.png)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Ejabberd Account Tools] How to debug](https://wordpress.org/support/topic/how-to-debug-4/)
 *  Thread Starter [corvy](https://wordpress.org/support/users/corvy/)
 * (@corvy)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/how-to-debug-4/#post-13274632)
 * Thanks alot! 🙂 That worked better. Now the plugin checks for free usernames 
   and discovers corrrectly if a JID is taken or free. When I try to register the
   registration fails again. Now I get a 400 Bad Request error.
 * [https://pasteboard.co/JmVVBBY.png](https://pasteboard.co/JmVVBBY.png)
 * Is this related to the same issue?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Ejabberd Account Tools] How to debug](https://wordpress.org/support/topic/how-to-debug-4/)
 *  Thread Starter [corvy](https://wordpress.org/support/users/corvy/)
 * (@corvy)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/how-to-debug-4/#post-13273206)
 * Thank you for the response!
 * [https://pasteboard.co/JmUj5iI.png](https://pasteboard.co/JmUj5iI.png)
 * This is what I get. It seems the plugin does not work at all, or?
    -  This reply was modified 5 years, 10 months ago by [corvy](https://wordpress.org/support/users/corvy/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Ejabberd Account Tools] How to debug](https://wordpress.org/support/topic/how-to-debug-4/)
 *  Thread Starter [corvy](https://wordpress.org/support/users/corvy/)
 * (@corvy)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/how-to-debug-4/#post-13272939)
 * The API address in the plugin is currently: [http://jabber.no:5285/api](http://jabber.no:5285/api)
   but I have also tried [http://localhost:5285/api](http://localhost:5285/api) 
   and also [https://jabber.no:5443/api](https://jabber.no:5443/api) because in 
   the default config there is api plugin with TLS on port 5443. None of them work.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Ejabberd Account Tools] How to debug](https://wordpress.org/support/topic/how-to-debug-4/)
 *  Thread Starter [corvy](https://wordpress.org/support/users/corvy/)
 * (@corvy)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/how-to-debug-4/#post-13272914)
 * My config is as follows:
 *     ```
       api_permissions:
         "rest api":
           who:
             - user: "scrambled_user_name_not_the_real_one@jabber.no"
           what:
             - ban_account
             - change_password
             - check_account
             - check_password
             - get_presence
             - get_vcard
             - kick_user
             - private_get
             - private_set
             - register
             - registered_vhosts
             - send_message
             - unregister
       ```
   
 * My port listen is set up as follows:
 *     ```
         -
           port: 5285
           ip: "::"
           module: ejabberd_http
           request_handlers:
             api: mod_http_api
       ```
   
 * I can connect to the api with a web-browser but I cannot find why it fails in
   the logs.
    -  This reply was modified 5 years, 10 months ago by [corvy](https://wordpress.org/support/users/corvy/).
    -  This reply was modified 5 years, 10 months ago by [corvy](https://wordpress.org/support/users/corvy/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Ejabberd Account Tools] How to debug problems (log)](https://wordpress.org/support/topic/how-to-debug-problems-log/)
 *  Thread Starter [corvy](https://wordpress.org/support/users/corvy/)
 * (@corvy)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/how-to-debug-problems-log/#post-7161227)
 * ok, now I have tested some more. If I try to use the commandprompt way with wget
   I get the following:
 * # wget [http://jabber.no:5285/rest/](http://jabber.no:5285/rest/) –server-response–
   post-data ‘<message to=”stian@jabber.no” from=”localhost/rest”><body>World</body
   ></message>’
    –2016-03-13 10:09:50– [http://jabber.no:5285/rest/](http://jabber.no:5285/rest/)
   Resolving jabber.no… 2a02:228:300:1::119, 80.239.54.119 Connecting to jabber.
   no|2a02:228:300:1::119|:5285… failed: Connection refused. Connecting to jabber.
   no|80.239.54.119|:5285… connected. HTTP request sent, awaiting response… HTTP/
   1.1 406 Not Acceptable Content-Type: text/html; charset=utf-8 Content-Length:
   43 2016-03-13 10:09:50 ERROR 406: Not Acceptable.
 * Then I have tried in the wordpress config to do a test on e-mail for a JID (stian@
   jabber.no) under tools. When I click check I get the following in my log:
 * 2016-03-13 10:12:46.300 [info] <0.1163.0>@ejabberd_listener:accept:333 (#Port
   <0.21156>) Accepted connection 80.239.54.119:50947 -> 80.239.54.119:5285
    2016-
   03-13 10:12:46.301 [debug] <0.5881.0>@ejabberd_http:init:154 S: [{[<<“rest”>>],
   mod_rest}] 2016-03-13 10:12:46.301 [info] <0.5881.0>@ejabberd_http:init:158 started:{
   gen_tcp,#Port<0.21156>} 2016-03-13 10:12:46.301 [debug] <0.5881.0>@ejabberd_http:
   process_header:281 (#Port<0.21156>) http query: ‘POST’ <<“/rest”>> 2016-03-13
   10:12:46.301 [debug] <0.5881.0>@ejabberd_http:extract_path_query:395 client data:
   <<“check_account \”stian\” \”jabber.no\””>> 2016-03-13 10:12:46.301 [debug] <
   0.5881.0>@ejabberd_http:process:353 [<<“rest”>>] matches [<<“rest”>>] 2016-03-
   13 10:12:46.301 [debug] <0.5881.0>@mod_rest:process:55 Error when processing 
   REST request: Data: <<“check_account \”stian\” \”jabber.no\””>> Error: {badmatch,
   false}
 * I am at a loss to what I am doing wrong here. I understand that ejabberd is saying
   that it cannot match my query, but I cannot for the love of me understand what
   the issue is.
 * If you have any tips they are very much welcomed! I would relly love to use this
   plugin 😀 Thanks!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Ejabberd Account Tools] How to debug problems (log)](https://wordpress.org/support/topic/how-to-debug-problems-log/)
 *  Thread Starter [corvy](https://wordpress.org/support/users/corvy/)
 * (@corvy)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/how-to-debug-problems-log/#post-7161223)
 * ok, I will doublecheck again! 🙂 Thanks.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Hacked?](https://wordpress.org/support/topic/hacked-50/)
 *  Thread Starter [corvy](https://wordpress.org/support/users/corvy/)
 * (@corvy)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/hacked-50/#post-2749203)
 * So finding what exploit is actually triggered here is quite hard?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[User Access Manager] [Plugin: User Access Manager] Remove EDIT LINK customization](https://wordpress.org/support/topic/plugin-user-access-manager-remove-edit-link-customization/)
 *  Thread Starter [corvy](https://wordpress.org/support/users/corvy/)
 * (@corvy)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-user-access-manager-remove-edit-link-customization/#post-2357127)
 * Great, thanks!

Viewing 15 replies - 1 through 15 (of 25 total)

1 [2](https://wordpress.org/support/users/corvy/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/corvy/replies/page/2/?output_format=md)