Uploaded image for project: 'Go Driver'
  1. Go Driver
  2. GODRIVER-1115

Mongodb socket: permission denied in Golang_workspace

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Gone away
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None

    Description

      Hi,

      We are facing an permission denied error with mongodb while connecting the db from Golang_workspace.

      But using the same mongo db string, we can able to access other application without any issue. Only from Golang_workspace, we are getting this error. Please let us know,  any Go lang package compatability is casuing this issue.

      Please find the error below:

      root@ip:#gopherjs run main.go
      gopherjs: Source maps disabled. Install source-map-support module for nice stack traces. See https://github.com/gopherjs/gopherjs#gopherjs-run-gopherj
      s-test. |
      Cancel !!! |
      This is result 51
      DB connection success !!!
      warning: system calls not available, see https://github.com/gopherjs/gopherjs/blob/master/doc/syscalls.md
      2019/06/06 14:26:01 server selection error: server selection timeout
      current topology: Type: Unknown
      Servers:
      Addr: ip:27017, Type: Unknown, State: Connected, Average RTT: 0, Last error: connection() : dial tcp ip:27017: socket: permission denied

      Attachments

        Activity

          People

            connie.yu@mongodb.com Run Tian Yu (Inactive)
            anwar@spikecloud.com anwar h
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: