WebService Action successful locally but same workflow loaded in a different moodle instance fails.

Abierto
#231 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
28/100
Tipo de issue
Error
Claridad
Necesita aclaración
Estado de actividad
Estancado
Stack tecnológico
php
Área
backend

Línea de trabajo

Start by tracing the WebService action and session handling in the plugin; the issue does not name relevant files or tests. Compare how the workflow runs locally and in the live Moodle instance, including the configured username, and investigate why rerunning it through the UI succeeds. Done means identifying and fixing the cause of the expired-session error in the live workflow.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

I've developed 2 simple workflows locally, when a user is enrolled or un enrolled from a course, a Web Service function is triggered.

Locally the Function runs without issue but in loading the workflows into a live instances of Moodle, the workflows always fail on the action step.

The error is saying that "Web service is not available. The session has been logged out or has expired." and if I re-run the instance via the UI it is successful.

Ive tried to leave the default "blank" username so that the default admin runs the function, while also defining a specific user. They both have the same result.

How do I even go about debugging something like this?

Lenguaje dominante
PHP
Estrellas
46
Forks
29
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de catalyst/moodle-tool_trigger

Todos los issues de catalyst/moodle-tool_trigger

Issues similares

Más issues de PHP

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.