Skip to content

No port causes an exception when using codepack.interfaces.MongoDB #111

Closed

Description

Hi. Thank you for the release to fix the issue raised yesterday.

I found an issue that no port key in config file causes an exception when using MongoDB interfaces in codepack, though there are specified ports in host value.
So, this config makes an error...

[mongodb]
host = host1.server:27017, host2.server:27017, host3.server:27017

If those hosts have different port numbers, there is no way to specify ports.

Activity

  1. ihnokim commented on May 24, 2022

    @ihnokim
    Owner

    Hello, I appreciate you opening another issue!

    The port should be provided. If the ports of the three hosts are the same, you can just move the port information into port for a workaround.

    For example,

    host = server.ip1,server.ip2,server.ip3
    port = 27017
    

    However, as you mentioned, using different ports is not supported yet. It is clearly the limit of the interfaces, so in the near future, the "only host connection" feature will be implemented considering your feedback!

    p.s. I just invited you as a collaborator of this repo. Feel free to get more powerful permissions!

  2. self-assigned this
    on May 25, 2022
  3. pinned this issue on May 30, 2022
  4. linked a pull request that will close this issueRelease 0.8.0 #148on Aug 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions