Private gitlab server: forge works for a few minutes then stops working (help debugging) #582
-
Hello, What could be the problem? It looks like a timeout issue, but not sure where to look and/or how to debug it. Any pointers? Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
(defun forge-post-submit ()
"Submit the post that is being edited in the current buffer."
(interactive)
(save-buffer)
(if-let ((fn forge--submit-post-function))
(funcall fn
(forge-get-repository forge--buffer-post-object)
forge--buffer-post-object)
(error "forge--submit-post-function is nil")))
The (cl-defmethod forge--submit-create-issue ((_ forge-gitlab-repository) repo)
(let-alist (forge--topic-parse-buffer)
(forge--glab-post repo "/projects/:project/issues"
`((title . , .title)
(description . , .body))
:callback (forge--post-submit-callback)
:errorback (forge--post-submit-errorback)))) Jumping along the call stack we get to I suspect that what is happening is that your companies gitlab for whatever reason does not respond to the request but also does not close the connection. I think I don't think there is much I can to to diagnose this from a distance. |
Beta Was this translation helpful? Give feedback.
Thanks for the help.
I will try at some point to diagnose the problem, but the truth is that our company server was giving me other troubles as well, so for the time being I've migrated the repositories to Github, and magit/forge works really nice there.