You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2023/01/04 11:00:42 UTC

[GitHub] [couchdb] burotica49 opened a new issue, #4341: Replicator {error, undef} after update to 3.3.0

burotica49 opened a new issue, #4341:
URL: https://github.com/apache/couchdb/issues/4341

   Hello,
   
   I updated my two couchDB servers from v3.2.2 to v3.3.0.
   After the update, the replications no longer work
   When I want to modify or redo them with Fauxton, I get an {error, undef} message
   
   Best regard


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@couchdb.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [couchdb] jcheger commented on issue #4341: Replicator {error, undef} after update to 3.3.0

Posted by GitBox <gi...@apache.org>.
jcheger commented on issue #4341:
URL: https://github.com/apache/couchdb/issues/4341#issuecomment-1371004493

   N.B. I did start on CouchDB few hours ago - I'm a total newbie
   
   Using Fauxton 3.3.0, here is how to reproduce the error (local sync):
   - create a brand new "test1" database
   - replication / New Replication
   - Source
     - Type: local database
     - Name: test1
     - Authentication: Username and password
       - (user): *admin*
       - (pass): *admin*
   - Target
     - Type: New local database (or existing, it doesn't matter)
     - Name: test2
     - Authentication: Username and password
       - (user): *admin*
       - (pass): *admin*
   
   It's enough to make it fail. The problem is beween Fauxton's replication wizard and the local server.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@couchdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [couchdb] jcheger commented on issue #4341: Replicator {error, undef} after update to 3.3.0

Posted by GitBox <gi...@apache.org>.
jcheger commented on issue #4341:
URL: https://github.com/apache/couchdb/issues/4341#issuecomment-1370934523

   Same issue for me. No problem on 3.2.2, stuck on 3.3.0.
   
   Using Fauxton, creating a replication (any kind) fails with error message "{error, undef}".
   
   On the browser, the complete response is:
   - error: "forbidden"
   - reason: "{error,undef}"
   
   On the server, the only log is "POST /_replicator 403 ok 4"


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@couchdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [couchdb] big-r81 commented on issue #4341: Replicator {error, undef} after update to 3.3.0

Posted by GitBox <gi...@apache.org>.
big-r81 commented on issue #4341:
URL: https://github.com/apache/couchdb/issues/4341#issuecomment-1370797477

   Please provide some logs!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@couchdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [couchdb] burotica49 commented on issue #4341: Replicator {error, undef} after update to 3.3.0

Posted by GitBox <gi...@apache.org>.
burotica49 commented on issue #4341:
URL: https://github.com/apache/couchdb/issues/4341#issuecomment-1370980250

   If I create the replication not curl, it spins
   If I try to create it with Fauxton in the replication part, I get the error message {error, undef}
   If I modify the document directly with this format in the base _replicator it works and it turns :
   ```
   {
       "_id": "my_rep",
       "source": 
           "url": "http://mysource.com:5984/bar",
           "auth": {
               "basic": {
                   "username": "user",
                   "password": "pass"
               }
           }
       "target": {
           "url": "http://mytarget.com:5984/bar",
           "auth": {
               "basic": {
                   "username": "user",
                   "password": "pass"
               }
           }
       },
       "create_target":  false,
       "continuous": true
   }
   
   ```
   I give credentials to both.
   It's really the replication creation wizard that's buggy


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@couchdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [couchdb] big-r81 commented on issue #4341: Replicator {error, undef} after update to 3.3.0

Posted by GitBox <gi...@apache.org>.
big-r81 commented on issue #4341:
URL: https://github.com/apache/couchdb/issues/4341#issuecomment-1370954158

   Thanks to both of you.
   
   To narrow down the problem:
   
   1. If you create the same replication via `curl` or Postman, the replication works?
   2. If you create a replication via Fauxton, you get the `{error, undef}` error?
   3. In Fauxton you give the credentials to the source and target?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@couchdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [couchdb] burotica49 commented on issue #4341: Replicator {error, undef} after update to 3.3.0

Posted by GitBox <gi...@apache.org>.
burotica49 commented on issue #4341:
URL: https://github.com/apache/couchdb/issues/4341#issuecomment-1370941041

   By creating the rule by API with Postman it works with this format:
   
   ```
   {
       "_id": "my_rep",
       "source": "http://myserver.com/foo",
       "target": {
           "url": "http://localhost:5984/bar",
           "auth": {
               "basic": {
                   "username": "user",
                   "password": "pass"
               }
           }
       },
       "create_target":  true,
       "continuous": true
   }
   
   
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@couchdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org