Comments (6)
Since it shows up after 2 years, we can assume that something has been changed on the server. It remains to find out what...
Have you checked the existence and the contents of the cache file app/cache/rest/_apiTokens.php
?
from ubiquity.
That is I said to server provider, no changes in our side so something changed in serve side, but they say "no", they tested systems, SSD HD, memory and said all is ok.
Yes, I checked the content and seems ok:
3600,"length"=>10,"tokens"=>array("XXXXXX"=>array("creationTime"=>1665521637),"XXXXX"=>array("creationTime"=>1665521649))); there are never more than 2 or 3 tokens and the content is correct, right?from ubiquity.
Just for verification (of the server's access rights to the cache file and folder in particular), if you delete this cache file,
is it recreated after a connection to the api?
from ubiquity.
Old file renamed, new request done and file created and content is ok.
from ubiquity.
You should see if your sent request contains the token in the Authorization Field:
Did you try to test your api from the Rest part of the webtools to see if you had the same problem?
from ubiquity.
Yes, the request contains the token, I did a mini python script to test in and it fails if I add a sleet(2) between the requests but when there is no delay between the requests, it fails.
I added a fix, overwriting the "connect" method adding the delay before sending the response and waiting the confirmation if it is working ok.
It is not the best solution, but hope that working back again...
Thanks
from ubiquity.
Related Issues (20)
- [RFC] Helpers for views HOT 1
- [ACL] Process DB Migration in setDbOffset HOT 1
- Laravel valet error HOT 2
- [Webtools] SeoController bug HOT 1
- Feature request - Ubiquity serve => Possibility to add php version to use as param HOT 2
- [console] Ubiquity new blog creates project but when i run with 127.0.0.1:8099 it gives error HOT 2
- [Framework::diSemantic(] undefined method Ubiquity\core\Framework::diSemantic() on config/config.php:22 HOT 2
- [RFC] [config] add env variables and profiles to config
- DAO::getAll() return last element of objects HOT 6
- bug on Admin webtools panel HOT 7
- webtools Manages composer dependencies does not work HOT 5
- [RFC] Nette latte templates compatibility HOT 5
- theme cant be installed from webtools HOT 3
- Documentation translations contributing HOT 10
- about acl with database HOT 3
- Connect to Microsoft Access HOT 4
- warning notice on 2.5.2 HOT 1
- [RFC] Support Swow Extension。
- Create and run console apps HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ubiquity.